Skip to content
Malware Compromises PyTorch Lightning Packages on PyPI episode artwork

May 5, 2026 4 min

Malware Compromises PyTorch Lightning Packages on PyPI

from Inferred

Lightning-AI disclosed that PyTorch Lightning versions 2.6.2 and 2.6.3 on PyPI shipped with credential-harvesting malicious code. The GitHub source repository was untouched — exposing a gap where the published PyPI artifact diverged from clean source code. In this episode: The 42-minute window between release and PyPI quarantine, and what Lightning-AI's incident post and security advisory disclosed How the credential-harvesting payload spawned on import and abused the GitHub GraphQL API to inject backdoors into victim repositories Why a legitimate, trusted release — drawing 7.8M monthly downloads — defeats the name-based defenses developers rely on for typosquatted packages How Aikido Security, Sonatype, and Semgrep's divergent payload measurements fragment the indicators of compromise defenders distribute across tooling What Semgrep links to a tracked multi-package campaign, and why TeamPCP's LAPSUS$ affiliation claim remains unverified Topics: supply-chain security, PyPI, malware, credential harvesting, incident response, Lightning-AI Get Inferred in your inbox: https://inferredresearch.com

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Malware Compromises PyTorch Lightning Packages on PyPI

0:00 4:20

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Inferred?

This episode is 4 minutes long.

When was this Inferred episode published?

This episode was published on May 5, 2026.

Can I download this Inferred episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.