LottieFiles hacked in supply chain attack to steal users’ crypto

Share:

The popular LottieFiles Lotti-Player project was compromised in a supply chain attack to inject a crypto drainer into websites that steals visitors’ cryptocurrency.

Blockchain threat monitoring platform Scam Sniffer reports that at least one victim allegedly lost $723,000 worth of Bitcoin due to the LottieFiles supply chain compromise.

As discovered yesterday, following multiple user reports about strange code injections, Lottie Web Player (“lottie-player”) 2.0.5, 2.0.6, and 2.0.7 were modified yesterday to include malicious code that injects a crypto wallet drainer into websites.

Crypto wallet drainers are malicious scripts injected into websites that display web3 prompts to connect a cryptocurrency wallet. However, when a user connects their wallet, the script will automatically attempt to “drain,” or steal, all assets and NFTs and send them to the threat actors.

LottieFiles quickly released version 2.0.8, which is based on the clean 2.0.4, advising users to upgrade to it as soon as possible.

“A large number of users using the library via third-party CDNs without a pinned version were automatically served the compromised version as the latest release,” explains LottieFiles CTO Nattu Adnan..

“With the publishing of the safe version, those users would have automatically received the fix.”

Those unable to upgrade to the latest release should communicate the risk to Lottie-player end users and warn them about fraudulent cryptocurrency wallet connection requests. Staying on version 2.0.4 is also an option.

Tweet

LottieFiles is a software-as-a-service (SaaS) platform for creating and sharing lightweight vector-based (scalable) animations that can be embedded in apps and websites.

It’s popular for allowing high-quality visuals at a minimal performance impact on less powerful devices, mobile, and web apps.

Supply chain attack loads crypto wallet drainer

Yesterday, developers using the Lottie-Player script discovered that they were affected by a supply chain attack, with websites using the compromised script suddenly displaying prompts to connect a cryptocurrency wallet.

BleepingComputer tested the malicious version of the Lottie-Player JavaScript script [VirusTotal] by adding it to a simple HTML page and can confirm that once it was added, the script would load a crypto drainer.

Popup that opens on impacted sites
Popup that opens on impacted sites
Source: BleepingComputer

If a visitor clicks on one of the buttons to connect to a wallet, the script will make a WebSocket connection to the site castleservices01[.]com [VirusTotal], which has a history of being used in cryptocurrency phishing attacks.

LottieFiles says its JavaScript library was compromised after an authentication token for one of its developers was stolen and used to upload the malicious versions of the npm package.

“We have confirmed that our other open source libraries, open source code, Github repositories, and our SaaS were not affected,” assures LottieFiles.

The platform continues its internal investigation of the compromise with the help of external experts, and more details about the incident might be made available in the future.

The exact number of victims and amount of cryptocurrency lost to this scheme are unknown at this time.

Crypto drainers have become a massive problem for the cryptocurrency community, with threat actors hacking well-known X accounts, hacking websites, and using AI videos and malicious advertising to promote websites that utilize the malicious scripts.

In 2023, Google and Twitter ads promoted sites containing a cryptocurrency drainer named ‘MS Drainer’ that stole $59 million from 63,210 victims over nine months.

Bill Toulas

Leave a Comment

Your email address will not be published. Required fields are marked *

loader-image
London, GB
11:35 pm, Jun 28, 2025
weather icon 23°C
L: 21° | H: 24°
clear sky
Humidity: 74 %
Pressure: 1025 mb
Wind: 10 mph WSW
Wind Gust: 0 mph
UV Index: 0
Precipitation: 0 mm
Clouds: 0%
Rain Chance: 0%
Visibility: 10 km
Sunrise: 4:45 am
Sunset: 9:21 pm
DailyHourly
Daily ForecastHourly Forecast
Tomorrow 10:00 pm
weather icon
21° | 24°°C 0 mm 0% 7 mph 79 % 1026 mb 0 mm/h
Mon Jun 30 10:00 pm
weather icon
20° | 34°°C 1 mm 100% 6 mph 66 % 1022 mb 0 mm/h
Tue Jul 01 10:00 pm
weather icon
20° | 32°°C 0.77 mm 77% 11 mph 68 % 1019 mb 0 mm/h
Wed Jul 02 10:00 pm
weather icon
16° | 24°°C 1 mm 100% 12 mph 89 % 1019 mb 0 mm/h
Thu Jul 03 10:00 pm
weather icon
15° | 22°°C 0 mm 0% 15 mph 81 % 1022 mb 0 mm/h
Tomorrow 1:00 am
weather icon
20° | 23°°C 0 mm 0% 7 mph 75 % 1025 mb 0 mm/h
Tomorrow 4:00 am
weather icon
18° | 21°°C 0 mm 0% 5 mph 78 % 1025 mb 0 mm/h
Tomorrow 7:00 am
weather icon
19° | 20°°C 0 mm 0% 5 mph 79 % 1026 mb 0 mm/h
Tomorrow 10:00 am
weather icon
23° | 23°°C 0 mm 0% 4 mph 58 % 1026 mb 0 mm/h
Tomorrow 1:00 pm
weather icon
28° | 28°°C 0 mm 0% 5 mph 43 % 1025 mb 0 mm/h
Tomorrow 4:00 pm
weather icon
30° | 30°°C 0 mm 0% 3 mph 35 % 1023 mb 0 mm/h
Tomorrow 7:00 pm
weather icon
30° | 30°°C 0 mm 0% 1 mph 34 % 1021 mb 0 mm/h
Tomorrow 10:00 pm
weather icon
24° | 24°°C 0 mm 0% 6 mph 56 % 1022 mb 0 mm/h
Name Price24H (%)
Bitcoin(BTC)
€91,578.22
0.12%
Ethereum(ETH)
€2,080.78
0.66%
Tether(USDT)
€0.85
-0.02%
XRP(XRP)
€1.87
1.85%
Solana(SOL)
€128.78
5.60%
USDC(USDC)
€0.85
0.01%
Dogecoin(DOGE)
€0.140282
1.87%
Shiba Inu(SHIB)
€0.000010
2.65%
Pepe(PEPE)
€0.000009
4.61%
Scroll to Top