Skip to content
TheChatArchiveThe Chat Archive
gpt-4o-2024-08-06· OpenAIAi2 WildChat-4.8M (AI2)

Rewrite this article: The popular LottieFiles Lotti-Player project was compromised in a…

  1. User

    Rewrite this article:

    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 platformScam Sniffer reportsthat at least one victim allegedly lost $723,000 worth of Bitcoin due to the LottieFiles supply chain compromise.

    As discovered yesterday, following multipleuser reportsabout 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 releasedversion 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.

    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.

    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.

    If a visitor clicks on one of the buttons to connect to a wallet, the script will make a WebSocket connection to the sitecastleservices01[.]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 amassive problemfor the cryptocurrency community, with threat actorshackingwell-knownX accounts,hacking websites, and using AI videos andmalicious advertisingto promote websites that utilize the malicious scripts.

    In 2023, Google and Twitter adspromoted sites containing a cryptocurrency drainernamed 'MS Drainer' that stole $59 million from 63,210 victims over nine months.

  2. Assistant

    The LottieFiles' Lotti-Player project recently fell victim to a supply chain attack, leading to the insertion of a crypto drainer on websites, which targets and steals cryptocurrency from visitors.

    Blockchain threat monitoring service, Scam Sniffer, has reported that this breach resulted in at least one individual losing approximately $723,000 in Bitcoin following the LottieFiles supply chain attack.

    Yesterday, after users flagged unusual code injections, it was discovered that versions 2.0.5, 2.0.6, and 2.0.7 of the Lottie Web Player ("lottie-player") were modified to embed malicious code. This code introduced a crypto wallet drainer to websites.

    These drainers are harmful scripts embedded in sites that prompt users to connect their cryptocurrency wallets. Unfortunately, when a user connects their wallet, the script attempts to "drain" or steal all cryptocurrency assets and NFTs, transferring them to the attackers.

    In response, LottieFiles promptly released version 2.0.8, based on the unaffected 2.0.4 version, advising users to update immediately.

    LottieFiles CTO, Nattu Adnan, explained, "A significant number of users accessing the library via third-party CDNs without version pinning were automatically served the compromised version as the latest release. The safe version has now been published, resolving the issue for these users."

    Those unable to upgrade should alert end users to the potential risks and fraudulent cryptocurrency wallet connection attempts. Alternatively, staying on version 2.0.4 is recommended.

    LottieFiles is a SaaS platform that facilitates the creation and sharing of scalable, vector-based animations, easily embedded in apps and websites. It is well-regarded for enabling high-quality visuals with minimal impact on device performance, particularly on mobile and web apps.

    Developers using the Lottie-Player script reported a supply chain attack, resulting in some websites displaying prompts to connect a cryptocurrency wallet due to the compromised script.

    BleepingComputer verified the threat by inserting the malicious Lottie-Player JavaScript into an HTML page. Upon doing so, the script initiated a crypto drainer.

    If a user attempts to connect their wallet, the script establishes a WebSocket connection to sitecastleservices01[.]com, a known entity in cryptocurrency phishing activities.

    LottieFiles revealed that their JavaScript library was compromised when an authentication token from one of their developers was stolen, which was then used to upload the malicious versions of the npm package.

    LottieFiles reassures that their other open-source libraries, code, GitHub repositories, and their SaaS remain unaffected. The platform is conducting an internal investigation, with assistance from external experts, to gather more insights into the incident, which will eventually be disclosed.

    The exact number of affected individuals and the total cryptocurrency theft remains undetermined.

    Crypto drainers are a growing issue in the cryptocurrency sector, with cybercriminals exploiting well-known accounts, compromising websites, and leveraging AI videos and malicious ads to promote sites loaded with these harmful scripts.

    In 2023, both Google and Twitter ads promoted websites featuring a crypto drainer called 'MS Drainer,' resulting in a combined theft of $59 million from 63,210 victims over nine months.