lightning PyPI Compromise: A Bun-Based Credential Stealer in Python
2026-05-02T20:52:02Z•b1c7f57153a7f48e7b7307bbb6a9a302aabfa372e59c03ec7a8745adacf8a0f0
CVE-2026-40478buncap-jsci-cdcloud-credentialscredential-stealerdbtdependency-managementelementary-datagitHub-actionsincident-responselightningmbtmini-shai-huludnpmpatchingpypisapsnykssh-keyssupply-chaintemplate-injectionthymeleaf
What happened
Multiple supply-chain incidents and a critical template-injection advisory: malicious PyPI releases (lightning and elementary-data) and a Bun-based npm stealer (self-branded “Mini Shai‑Hulud” hitting SAP packages including @cap-js and mbt) deliver credential‑stealing payloads that run on import or via compromised CI (GitHub Actions). Targets include dbt profiles, cloud provider keys, and SSH secrets; immediate actions: remove affected package versions, rotate/revoke exposed credentials, audit CI scripts and package release pipelines, rebuild images/artifacts, and scan environments for IOCs. In
Why it matters
A reviewed impact interpretation has not been published for this record.
Evidence and limitations
- Source ID
- snyk_blog
- Record identifier
- b1c7f57153a7f48e7b7307bbb6a9a302aabfa372e59c03ec7a8745adacf8a0f0
- Enrichment time
- 2026-05-02T20: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.