lottie-player prompted wallet drains
A stolen maintainer token published lottie-player 2.0.5 through 2.0.7. CDN consumers received Web3 wallet prompts that could trick users into signing asset-draining transactions.
Story
Lottie Player is a browser component for rendering lightweight animations. On 2024-10-30, attackers used a compromised maintainer access token to publish three malicious npm versions after months without a release.
The payload changed the browser surface, not the animation format. Sites loading the affected package saw unexpected cryptocurrency wallet prompts, including common wallet brands. Users who trusted the page could be led into signing a malicious transaction.
The CDN path made the incident fast. Sites that referenced latest or pulled unpinned builds from unpkg or jsDelivr could receive the compromised release without changing their own code. Pinned safe versions were not exposed in the same way.
LottieFiles removed the bad releases and published 2.0.8 as the safe replacement. Wiz and Sonatype reported at least one suspected theft transaction, but the package record treats weekly downloads as exposure, not confirmed victims.
The operational lesson is pinning. Teams that loaded a specific clean version had a narrower problem than sites that let CDN resolution float to the newest npm release, where a compromised maintainer token could change runtime browser code without a site deploy.
Affected Artifacts
- Observed
- 2024-10-30
- Fixed
- 2.0.8
- Hashes
-
- sha1:446996c35a4188647361733b4c7175b2aeea9611
- sha1:5bbd2290a7de5a4736fdafe171f5b6eae6abc27e
- sha1:846f2efc0212317b5e44690234995ba7e269dee3
- Evidence
- distribution: unpkg.com/@lottiefiles/lottie-player@2.0.5/dist/lottie-player.js, distribution: cdn.jsdelivr.net/npm/@lottiefiles/lottie-player@2.0.5/dist/lottie-player.min.js, distribution: registry.npmjs.org/@lottiefiles/lottie-player/-/lottie-player-2.0.5.tgz, mirror: reversinglabs.com/blog/differential-analysis-raises-red-flags-over-lottiefiles/lottie-player , +2 more
- Wiz and Sonatype reported roughly 94,000 weekly downloads as exposure context, not a confirmed victim count.
Incident Context
- Motive
- Financial Gain
- Attribution
- Person
- Cause
- Compromised Account Credentials
- Transitive
- No
- Actor
- Individual Hacker
External References
- Supply chain attack on lottie-player: everything you need to knowwiz.io
- Lottie Player Compromised in Supply Chain Attack - All You Need to Knowsonatype.com
- Differential analysis raises red flags over @lottiefiles/lottie-playerreversinglabs.com
- Malicious code in Web Lottie Player CDN filesgithub.com
- Incident report for unauthorized versions of lottie-player npm packagelottiefiles.com
Source record: oss/attacks/lottie-player/meta.yaml