lightning PyPI Compromise: A Bun-Based Credential Stealer in Python
2026-05-04T08:52:02Z•8e10bb53d0aa5ac2bf2950479433e6356390d01dd7834bc4879184a89601544d
CVE-2026-40478GitHub ActionsIOCsPyPISAPThymeleafbun-based-stealercloud-credentialscredential-theftdbtgithub-actions-exploitmalicious-releasenpmremediationrotate-credentialsssh-keyssupply-chaintemplate-injection
What happened
Multiple active supply-chain incidents and a high-severity template-injection issue. Snyk reports a malicious release of the lightning PyPI package that embeds a Bun-based credential stealer executing on import; this follows a related "Mini Shai-Hulud" Bun-based stealer campaign that compromised several npm (SAP ecosystem) packages. Separately, a malicious elementary-data PyPI release (v0.23.3) — enabled via a GitHub Actions script-injection — harvests dbt profiles, cloud provider keys, and SSH secrets. Snyk also published an advisory for Thymeleaf template injection (CVE-2026-40478, CVSS 9.1)
Why it matters
A reviewed impact interpretation has not been published for this record.
Evidence and limitations
- Source ID
- snyk_blog
- Record identifier
- 8e10bb53d0aa5ac2bf2950479433e6356390d01dd7834bc4879184a89601544d
- Enrichment time
- 2026-05-04T08:52:02Z
- AI-assisted enrichment
- Yes
This record may overlap with other records. Its enrichment can be incomplete or wrong, and machine assistance was used. Validate consequential decisions against the linked source and your own environment.