Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons

Social Media

Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons
Search the Site
Popular Searches:
technology Amazon AI
Recent Posts
7-Zip Flaws Allow Arbitrary Code Execution, Vulnerabilities Attackers
May 26, 2026
Anthropic’s Restricted Claude Nears Public Release via Code
May 26, 2026
Cloud Atlas APT Modifies termsrv.dll for Group Enable
May 25, 2026
Home/CyberSecurity News/34 Packages Compromised in New npm, PyPI, Hackers Crates
CyberSecurity News

34 Packages Compromised in New npm, PyPI, Hackers Crates

A new, active supply chain attack, dubbed the TrapDoor campaign, is deploying 34 malicious packages and over 384 related versions across npm, PyPI, and Crates.io. Its objective is to steal developer...

Emy Elsamnoudy
Emy Elsamnoudy
May 25, 2026 3 Min Read
8 0

A new, active supply chain attack, dubbed the TrapDoor campaign, is deploying 34 malicious packages and over 384 related versions across npm, PyPI, and Crates.io. Its objective is to steal developer credentials and cryptocurrency wallets.

The operation explicitly targets developers in the crypto, DeFi, Solana, and AI communities by disguising malware as generic developer tools and security scanners.

The campaign’s earliest observed component was the PyPI package [email protected], published on May 22, 2026, before expanding rapidly into other repositories. Packages were uploaded in distinct waves across all three registries, utilizing deceptive names like prompt-engineering-toolkit, solidity-deploy-guard, and defi-threat-scanner to heavily feign legitimacy within adjacent developer communities.

Socket’s detected these TrapDoor releases with a median detection time of 5 minutes and 27 seconds, effectively classifying the entire campaign as malicious before widespread adoption could occur.

Cross Ecosystem Attack Vectors

The TrapDoor campaign utilizes distinct, ecosystem-specific execution paths to maximize its reach during standard developer installation and build workflows. By tailoring the attack vector to the specific package registry, the threat actor ensures silent execution occurs before developers can properly inspect the underlying dependencies.

Registry Target Execution Method Notable Payload Behavior Encryption and Exfiltration
npm Postinstall hooks. Deploys a shared trap-core.js payload for persistent credential harvesting. Uses Fernet and ECDH encryption while validating credentials via API.
PyPI Auto-execute on import. Downloads a remote JavaScript payload from GitHub Pages via node -e. Externally hosted payload allows dynamic behavioral updates without new releases.
Crates.io Rust build.rs scripts. Actively searches for and targets local Sui and Move developer keystores. Employs XOR encryption utilizing the hardcoded key cargo-build-helper-2026 .

TrapDoor attempts to harvest an extensive array of developer data, specifically targeting Sui, Solana, and Aptos crypto wallets, alongside SSH keys, browser profiles, and AWS environment variables.

The 1,149-line shared npm payload, trap-core.js, actively ensures long-term access by establishing complex persistence through systemd services, cron jobs, Git hooks, and shell hooks.

Furthermore, stolen SSH keys are subsequently repurposed to execute automated lateral movement, effectively transforming single compromised workstations into persistent gateways for broader corporate network breaches.

A defining characteristic of TrapDoor is its deliberate targeting of AI coding assistants via modified .cursorrules and CLAUDE.md project files.

The threat actor utilizes zero-width Unicode characters to obscure malicious prompts, tricking the AI into performing hostile credential exfiltration under the guise of executing an automated project security scan, Socket said.

To scale this specific attack vector, the attacker used the GitHub account ddjidd564 to submit deceptive pull requests containing these poisoned configuration files to prominent open-source AI projects like LangChain, MetaGPT, and OpenHands.

The attacker maintains a sophisticated command and control architecture on GitHub Pages, hosting active malicious configuration files alongside a detailed AUDIT-MATRIX.md framework design document.

This operational playbook describes a “Universal AI Agent Extraction Framework” that strategically relies on a disguise layer to map stealthy credential theft to seemingly benign developer automation workflows.

To maximize the value of exfiltrated data, the payloads actively validate stolen AWS and GitHub tokens via live API queries while utilizing advanced cryptography across the different ecosystems to evade standard network detection.

Disclaimer: HackersRadar reports on cybersecurity threats and incidents for informational and awareness purposes only. We do not engage in hacking activities, data exfiltration, or the hosting or distribution of stolen or leaked information. All content is based on publicly available sources.

Tags:

AttackBreachHackerMalwareSecurityThreat

Share Article

Emy Elsamnoudy

Emy Elsamnoudy

Emy is a cybersecurity analyst and reporter specializing in threat hunting, defense strategies, and industry trends. With expertise in proactive security measures, Emily covers the tools and techniques organizations use to detect and prevent cyber attacks. She is a regular speaker at security conferences and has contributed to industry reports on threat intelligence and security operations. Emily's reporting focuses on helping organizations improve their security posture through practical, actionable insights.

Previous Post

Top 10 Malware Sandbox Tools for Security Teams in

Next Post

Wireshark 4.6.6 Released With Fix for Dissector Crash via

No Comment! Be the first one.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Popular Posts
Hackers Hide Linux Payload During Package Install via
May 25, 2026
Russian Hacker Uses Jailbroken Gemini to Steal Credentials & Drain
May 25, 2026
Hackers Exploit CDN to Bypass Domain Reputation Abuse Shared
May 25, 2026
Top Authors
Marcus Rodriguez
Marcus Rodriguez
Jennifer sherman
Jennifer sherman
Sarah simpson
Sarah simpson
Let's Connect
156k
2.25m
285k

Related Posts

Jennifer sherman
By Jennifer sherman
Threats

GlassWorm Attacks macOS via Malicious VS Code…

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Attacks

ClickFix Attack Hides Malicious Code via Stegan Security

January 1, 2026
Sarah simpson
By Sarah simpson
Vulnerabilities

MongoBleed Detector Tool Detects Critical MongoDB CVE-

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Breaches

Conti Ransomware Gang Leaders & Infrastructure Exposed

January 1, 2026
Hackers News Hackers News
  • [email protected]

Quick Links

  • Contact Us
  • Privacy Policy
  • Terms of service

Categories

Attacks
Breaches
Comparisons
CyberSecurity News
Threats
Vulnerabilities

Let's keep in touch

receive fresh updates and breaking cyber news every day and week!

All Rights Reserved by HackersRadar ©2026

Follow Us