Ultralytics AI Library with 60M Downloads Compromised for Cryptomining



Cryptocurrency Mining Scandal: Ultralytics AI Library Compromised!

Key Takeaways

  • ReversingLabs cybersecurity experts have discovered that hackers secretly added malicious code to the Ultralytics AI library, turning it right into a cryptocurrency mining tool.
  • The hackers manipulated the library’s construct system to inject XMRig mining software into updates 8.3.41 and eight.3.42.
  • They gained access through GitHub Actions Script Injection and crafted fake pull requests.
  • Despite having over 60 million downloads, the library’s compromise was limited to cryptocurrency mining.
  • Developers and users are urged to confirm software updates and their sources to forestall similar breaches.

Unveiling the Breach

ReversingLabs, of their latest report shared with Hackread.com, unveiled that the Ultralytics AI library had been hijacked to mine cryptocurrency. This discovery comes hot on the heels of one other incident involving a malicious Python package, aiocpa, which was spreading an infostealer.



It all began on December 4th when an update (version 8.3.41) for Ultralytics was released on the Python Package Index (PyPI). Unbeknownst to users, hackers had already infiltrated the construct environment, introducing malicious code after the code review process was complete.

The malicious code fetched a program called XMRig, a cryptocurrency miner. Shockingly, even a “fix” (version 8.3.42) released the next day was tainted since the maintainers couldn’t discover the breach, perpetuating the problem until version 8.3.43 was released, finally resolving the attack.



The Hackers’ Playbook

The hackers cleverly exploited a GitHub Actions Script Injection to breach the construct environment of a trusted npm package, @solana/web3.js. This move allowed them to fork any repository using ultralytics/actions and craft pull requests with injection payloads hidden within the titles.

See also  CoinMarketCap, Cointelegraph compromised to serve pop-ups to drain crypto wallets

Two malevolent pull requests, #18018 and #18020, were crafted to enable backdoor access to the compromised environment. The hacker, generally known as openimbot, and their distant connections were traced back to Hong Kong, as per the knowledge from Ultralytics maintainers. By cleverly disguising their intentions, they tricked the system into executing their harmful code.

The Fallout: Millions at Risk

With Ultralytics boasting over 60 million downloads and 30,000 GitHub stars, this breach had the potential to affect thousands and thousands. Luckily, the damage remained limited to cryptocurrency mining. However, the incident highlights the vulnerabilities in software supply chains, where more harmful code like backdoors might have been inserted.

Developers are reminded to take care of caution at every stage to safeguard AI projects. This breach also underscores the importance of software security, urging developers to scrutinize code changes from untrusted sources and inspiring users to download from trusted sources and keep their software updated.

See also  Crypto Malware Targets Bitcoin Python Library, Users Warned

Related Topics

  1. ChatGPT Sandbox Flaws Enabling Python Execution
  2. PyPI Exploited to Infiltrate Systems Through Python Packages
  3. PythonAnywhere Cloud Platform Abused to Host Ransomware
  4. Qubitstrike Malware Hits Jupyter Notebooks for Cryptojacking
  5. VMCONNECT: Malicious PyPI Package Mimicking Python Tools

This rewritten content presents the knowledge in a more engaging and conversational tone while maintaining factual accuracy. It organizes the content using HTML headings and subheadings for clarity.

Image Credit: hackread.com

Hot Topics

Related Articles

bitcoin
Bitcoin (BTC) $ 118,270.69
ethereum
Ethereum (ETH) $ 3,771.49
tether
Tether (USDT) $ 1.00
bnb
BNB (BNB) $ 795.17
xrp
XRP (XRP) $ 3.20
cardano
Cardano (ADA) $ 0.828476
usd-coin
USDC (USDC) $ 1.00
matic-network
Polygon (MATIC) $ 0.236822
binance-usd
BUSD (BUSD) $ 0.997766
dogecoin
Dogecoin (DOGE) $ 0.238938
okb
OKB (OKB) $ 48.25
polkadot
Polkadot (DOT) $ 4.18
shiba-inu
Shiba Inu (SHIB) $ 0.000014
tron
TRON (TRX) $ 0.320619
uniswap
Uniswap (UNI) $ 10.60
wrapped-bitcoin
Wrapped Bitcoin (WBTC) $ 118,154.66
dai
Dai (DAI) $ 1.00
litecoin
Litecoin (LTC) $ 114.83
staked-ether
Lido Staked Ether (STETH) $ 3,767.73
solana
Solana (SOL) $ 186.57
avalanche-2
Avalanche (AVAX) $ 25.00
chainlink
Chainlink (LINK) $ 18.68
cosmos
Cosmos Hub (ATOM) $ 4.80
the-open-network
Toncoin (TON) $ 3.32
ethereum-classic
Ethereum Classic (ETC) $ 23.09
leo-token
LEO Token (LEO) $ 8.99
filecoin
Filecoin (FIL) $ 2.69
bitcoin-cash
Bitcoin Cash (BCH) $ 570.21
monero
Monero (XMR) $ 322.17