lightning PyPI Compromise: A Bun-Based Credential Stealer in Python

2026-04-30T20:52:11Z9a502e054c2ddd63a27deb6f0806dc40e04579e0f5a524011fb79fab77359896
CVE-2026-40478GitHub-ActionsPyPISAPSnyk-advisoryThymeleafbuncap-jscloud-credentialscredential-stealerdbtmalicious-releasembtnpmrotate-credentialsssh-keyssupply-chaintemplate-injection

What happened

Multiple Snyk advisories describe active supply‑chain attacks and a high‑severity template injection: (1) A malicious PyPI release of the lightning package contains a Bun‑based credential stealer that executes on import; (2) a related “Mini Shai‑Hulud” npm campaign (compromised SAP ecosystem packages including @cap-js and mbt) uses Bun‑based stealers; (3) a malicious release of elementary-data (PyPI v0.23.3) was published via a GitHub Actions script injection and exfiltrates dbt profiles, cloud provider keys and SSH secrets; (4) Thymeleaf template injection (CVE-2026-40478, CVSS 9.1) is high‑/

Why it matters

A reviewed impact interpretation has not been published for this record.

Evidence and limitations

Source ID
snyk_blog
Record identifier
9a502e054c2ddd63a27deb6f0806dc40e04579e0f5a524011fb79fab77359896
Enrichment time
2026-04-30T20:52:11Z
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.

Record · lightning PyPI Compromise: A Bun-Based Credential Stealer in Python · Baitaphish