Open Source 2024-10-30 · 0 days ·Financial Exploitation

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

lottie-player

npm · repository · Source Archive
Observed
2024-10-30
Compromised Versions
Fixed
2.0.8
Hashes
  • sha1:446996c35a4188647361733b4c7175b2aeea9611
  • sha1:5bbd2290a7de5a4736fdafe171f5b6eae6abc27e
  • sha1:846f2efc0212317b5e44690234995ba7e269dee3
  • 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

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