Return to Threats

TrapDoor Supply Chain Attack Spreads Credential-Stealing Malware via npm, PyPI, and CratesIO

thehackernews.com 2026-05-25 AI supply chain Critical

Executive Summary

The TrapDoor campaign spread credential stealers across npm, PyPI and Crates.io in 34+ packages and 384+ versions since May 22, 2026.

What Happened

A new coordinated cross-ecosystem software supply chain attack campaign has targeted npm, PyPI, and Crates.io to distribute credential-stealing malware. The campaign, codenamed TrapDoor, spans more than 34 malicious packages across over 384 versions. The earliest activity was recorded on May 22, 2026, at 8:20 p.m. UTC, with new packages published to the ecosystems in waves from a cluster of

Affected Products

  • npm
  • PyPI
  • crates.io

Vulnerability / Attack Technique

Cross-ecosystem malicious packages

Technical Mechanism

Credential stealing.

AI Security Category

Not AI-specific

RealGround Analysis

Supply chain attack.

Recommended Controls

  • Audit dependencies

Related RealGround Service

AI Agent SBOM and LLM Mapping · or start with the free AI Agent Security Scanner.

Sources

thehackernews.com: https://thehackernews.com/2026/05/trapdoor-supply-chain-attack-spreads.html

Summary and analysis written by RealGround from the source above; last updated 2026-10-18.

Talk to AI CISO