• Services
    • Vulnerability Management
    • Pentest
    • Network Pentest
    • Website Security Check
    • Phishing Campaign
    • Mystery Guest
    • Quick scan
  • NetCaptain
  • Knowledge base
  • Partners
    • MSP
  • About us
    • Contact
    • Why CyberAnt
    • News
    • Vacancies
  • Login
  • EN
    • NL
  • Menu Menu
Supply chain attacks on NPM and PyPI

TrapDoor supply-chain attack steals passwords from developers

in News

Researchers have discovered a coordinated supply-chain attack called TrapDoor. The attackers unwittingly spread malware through npm, PyPI and Crates.io that steals login credentials. The campaign, which began on May 22, 2026, includes more than 34 malicious packages in over 384 versions. The malware collects secrets such as crypto wallets, SSH keys, cloud tokens, browser data and environment variables, and creates persistence on infected systems.

Developers can be infected by having auto-updates of commonly used libraries in software turned on. When a developer releases a new version, reusable components are automatically retrieved from so-called registries on the Internet. If these become infected, software that uses these registries automatically includes the malware.

Scope and timeline

The attack started on May 22, 2026 at 20:20 UTC, when a group of accounts published new packages on the three major registries in a short period of time. Subsequent attacks added dozens of variants. According to The Hacker News, the campaign now counts 34 unique names and 384 releases. Another group previously used the name “TrapDoor” for an Android-ad fraud campaign, but it is separate from this attack.

Research by Socket.dev reveals that the packages target developers in the cryptocurrency and AI sectors. The payload looks for secrets such as crypto-wallet files, SSH keys, cloud credentials, browser data and environment variables. The malware validates AWS and GitHub tokens and can spread further via SSH.

List of malicious packages

Researchers have identified more than 30 names. Some recent examples:

  • Crates.io: move-analyzer-build, sui-framework-helpers, sui-sdk-build-utils
  • npm: async-pipeline-builder, defi-env-auditor, wallet-backup-verifier
  • PyPI: cryptowallet-safety, defi-risk-scanner, eth-security-auditor

The complete list is in the documentation on the Socket website.

Implications for developers

Because the malware hides behind legitimate-looking names and uses standard installation hooks, developers who install or import these packages risk having their credentials leaked. Persistence mechanisms increase the chances that an attacker will retain access after the initial infection. Projects that rely on npm, PyPI or Crates.io would do well to check recent or unknown dependencies and take additional measures, such as lockfiles and signature verification.

Supply chain attacks on NPM and PyPI

Tags: malware, supply chain attack
Share this entry
  • Share on Facebook
  • Share on X
  • Share on WhatsApp
  • Share on LinkedIn
  • Share by Mail
https://cyberant.com/wp-content/uploads/2026/05/supply-chain-attack.png 1024 1536 cyberant https://cyberant.com/wp-content/uploads/2020/08/logo-cyberant.svg cyberant2026-06-03 17:54:012026-06-03 17:54:01TrapDoor supply-chain attack steals passwords from developers
You might also like
Magecart attack claims 8.8 million victims worldwide
npm logo Large-scale attack on popular npm packages: millions of websites and apps potentially affected
Once again malware found in US Code Extensions

Search

Search Search

Recent Posts

  • Pin or no pin: the trade-off around certificate pinning in mobile apps
  • TrapDoor supply-chain attack steals passwords from developers
  • Once again malware found in US Code Extensions
  • Large-scale attack on popular npm packages: millions of websites and apps potentially affected
  • Age verification on the Internet: what about privacy?

CyberAnt is ISO Certified

Iso gecertificeerd

Tags

.DS Store anti-virus award broken access control clickjacking Cryptographic Failures cyberaanval CyberAnt Cybercrime cybercriminelen CyberRisk Cyber Security Datalek Entity injection Etisch Hacker Hacker Insecure Design ISO 9001 ISO 27001 IT Infrastructuur beschermen malware Mass Assignment aanval NetCaptain NetCat shell upgraden Netgear ProSAFE switches nominated Open web application Security project Owasp path traversal penetration test pentest Ransomeware aanval Ransomware Responsible Disclosure secure coding Secure webshop Security Audit Security audits Security Misconfiguration Server-side request forgery (SSRF) Social Engineering SQL Injection supply chain attack vulnerability management web applicatie scanning
CyberAnt is ISO gecertificeerd

Services

  • Pentest
  • Network Pentest
  • Website Security Check
  • Phishing Campaign
  • Mystery Guest

Cyberant

  • Why CyberAnt
  • Partners
  • Knowledge base
  • News
  • About us

Contact

Marconiweg 1
3899 BR Zeewolde

info@cyberant.com
+31 (0)85 047 1590

© Copyright - CyberAnt 2024
  • Link to Facebook
  • Link to LinkedIn
  • Link to Mail
Link to: Once again malware found in US Code Extensions Link to: Once again malware found in US Code Extensions Once again malware found in US Code Extensions Link to: Pin or no pin: the trade-off around certificate pinning in mobile apps Link to: Pin or no pin: the trade-off around certificate pinning in mobile apps Certificate pinningPin or no pin: the trade-off around certificate pinning in mobile apps
Scroll to top Scroll to top Scroll to top

Deze site maakt gebruik van cookies. Door verder te surfen op de site gaat u akkoord met ons gebruik van cookies.

Accepteer instellingenVerberg de mededeling enkelInstellingen

Cookie and Privacy Settings



How we use cookies

We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.

Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.

Essential Website Cookies

These cookies are strictly necessary to provide you with services available through our website and to use some of its features.

Because these cookies are strictly necessary to deliver the website, refusing them will have impact how our site functions. You always can block or delete cookies by changing your browser settings and force blocking all cookies on this website. But this will always prompt you to accept/refuse cookies when revisiting our site.

We fully respect if you want to refuse cookies but to avoid asking you again and again kindly allow us to store a cookie for that. You are free to opt out any time or opt in for other cookies to get a better experience. If you refuse cookies we will remove all set cookies in our domain.

We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.

Other external services

We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.

Google Webfont Settings:

Google Map Settings:

Google reCaptcha Settings:

Vimeo and Youtube video embeds:

Privacy Policy

You can read about our cookies and privacy settings in detail on our Privacy Policy Page.

Privacy statement
Accepteer instellingenVerberg de mededeling enkel