Open Source ·

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.

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.

Appendix · Affected releases

2.0.5 no sample yet
2.0.6 no sample yet
2.0.7 no sample yet
  • Wiz and Sonatype reported roughly 94,000 weekly downloads as exposure context, not a confirmed victim count.
  • ReversingLabs maps the three SHA-1 values, in order, to the complete 2.0.5, 2.0.6, and 2.0.7 npm archives.
Payloads and stagesno published version

References

  1. Supply chain attack on lottie-player: everything you need to knowwiz.io
  2. Lottie Player Compromised in Supply Chain Attack - All You Need to Knowsonatype.com
  3. Differential analysis raises red flags over @lottiefiles/lottie-playerreversinglabs.com
  4. Malicious code in Lottie-Player CDN filesgithub.com
  5. Incident report for unauthorized versions of lottie-player npm packagelottiefiles.com

Source record: oss/attacks/lottie-player/meta.yaml