airbnb / lottie-web

Render After Effects animations natively on Web, Android and iOS, and React Native. http://airbnb.io/lottie/
MIT License
30.6k stars 2.88k forks source link

Lottie player JS was compromised with a drainer. Check dependencies. #3127

Open andreujuanc opened 2 weeks ago

andreujuanc commented 2 weeks ago

AFFECTED VERSION DO NOT RUN THIS:

@lottiefiles/lottie-player@latest/dist/lottie-player.js DO NOT know if other CDNS are also affected.

UPDATE:

Looks like they lost their npm keys, and the actor pushed 2.0.5 and 2.0.6 with the drainer code. Github code showed nothing.

mathieumack commented 2 weeks ago

Yes I confirmed the issue my side. I've removed Lottie dependencies temporay on my websites.

Wallet popin visible after page loaded : image

CDN reference used : https:// unpkg.com / @lottiefiles / lottie-player @ latest / dist / lottie-player.js

tpriceshoppas commented 2 weeks ago

can confirm, same issue

cgarofalo commented 2 weeks ago

Can also confirm, same issue on a different website.

delmas-ch commented 2 weeks ago

Confirmed also

GiuliaCampos commented 2 weeks ago

Same here

lucasfsi commented 2 weeks ago

Confirmed also

kudanai commented 2 weeks ago

Incident Response for Recently Infected Lottie-Player versions 2.05, 2.06, 2.0.7

Comm Date/Time: Oct 31st, 2024 04:00 AM UTC

Incident: On October 30th ~6:20 PM UTC - LottieFiles were notified that our popular open source npm package for the web player @lottiefiles/lottie-player had unauthorized new versions pushed with malicious code. This does not impact our dotlottie player and/or SaaS services. Our incident response plans were activated as a result. We apologize for this inconvenience and are committed to ensuring safety and security of our users, customers, their end-users, developers, and our employees.

Immediate Mitigation Actions

Impact

Recommended Steps

Next Steps

If you believe you’re affected, don’t hesitate to reach out to us at priority_support@lottiefiles.com

maiconcarraro commented 1 week ago

Is lottie-web compromised as well or only https://github.com/LottieFiles/lottie-player ?

kudanai commented 1 week ago

lottie-web is unaffected. Only the lottie-player package.

The situation has been resolved and we have taken short terms measures to ensure security, as well as started the process of implementing tooling and controls to prevent this in the future.

You can check out our incident report here https://x.com/LottieFiles/status/1851848602093777273