TrapDoor Campaign Targets Solana Developers via npm, PyPI
The malicious package campaign highlights the vulnerability of crypto-focused developer environments to supply chain attacks.
Updated on Oct. 31, 2026 in Cybersecurity

Live Poll
Do you trust the security of code downloaded from public software repositories?
The TrapDoor campaign, disclosed on May 24, 2026, compromised the npm and PyPI software repositories by distributing malicious code to target developers. This research-stage disclosure identified a specific effort aimed at compromising crypto and decentralized finance projects.
Why it matters
This campaign highlights the persistent risk of software supply chain attacks directed at niche, high-value developer communities. By exploiting trusted package managers, attackers can gain unauthorized access to critical infrastructure within the crypto and decentralized finance sectors.
The campaign deployed 34 distinct malicious packages across 384 versions. These packages were designed to facilitate credential theft, specifically targeting developers operating within the Solana ecosystem.
The players
npm
A widely used software registry that manages JavaScript packages and dependencies for developers.
PyPI
The official third-party software repository for the Python programming language.
The details
The TrapDoor campaign utilized the npm and PyPI package repositories to distribute malicious software to developers. These repositories are standard registries used to host and share open-source code, which the attackers exploited to inject malicious logic into development environments. Once a developer unknowingly installed these packages, the campaign employed credential-theft methods to harvest sensitive access keys and private data.
Timeline
May 24, 2026: The TrapDoor campaign was first disclosed.
The Tech Race
This campaign follows a pattern established by the 2020 SolarWinds supply chain attack, demonstrating how attackers bypass perimeter defenses by infiltrating trusted code distribution channels. It reinforces the industry-wide shift toward implementing strict software supply chain security and package verification protocols.
Developers working in the Solana, crypto, or decentralized finance spaces are advised to audit their project dependencies for unauthorized package versions. Organizations should implement stricter package-vetting workflows and registry mirrors to prevent the accidental integration of malicious code into their production environments.
The takeaway
The TrapDoor campaign serves as a reminder that trusted distribution platforms are primary vectors for targeted industrial espionage. Developers should monitor the release notes and repository security alerts provided by npm and PyPI to identify and mitigate risks from similar malicious package distributions.
Further reading
For broader trends in developer-focused threats, see our recent reporting on Cybersecurity.
Source note: This article includes information reported by TokenPost.
Live Poll
Do you trust the security of code downloaded from public software repositories?






