Skip to main content
MalwarePublished Updated

PyPI Package Compromised in Supply Chain Attack

Source AlienVault OTX General

0

Description

The popular PyPI package lightning experienced a supply chain attack affecting versions 2.6.2 and 2.6.3, published on April 30, 2026. The compromise introduced malicious code that executes automatically upon module import, downloading Bun JavaScript runtime and executing an 11MB obfuscated payload. The attack harvests credentials including GitHub tokens, npm tokens, cloud credentials from AWS, Azure, and Google Cloud, while targeting CI/CD environments. The malicious code poisons GitHub repositories by injecting backdoored files impersonating Claude Code commits and infects local npm packages through tarball manipulation. The attack shows similarities to previous Shai-Hulud campaigns in terms of credential targeting and obfuscation methods. Evidence suggests the maintainer's GitHub account (pl-ghost) was compromised, with suspicious branch operations and disclosure suppression indicating ongoing attacker control. The incident affects a widely-used deep learning framework receiving millions of monthly downl...

Indicators of compromise

Hashes 3

  • 40d0f21b64ec8fb3a7a1959897252e09
  • f1b3e7b3eec3294c4d6b5f87854a52471f03997f
  • 5f5852b5f604369945118937b058e49064612ac69826e0adadca39a357dfb5b1

Community reviews

Loading reviews…