← Back to Daily Briefing (#SimpleHelp)

The ChainDrop worm is a self-propagating supply-chain attack that has compromised 444 npm packages, affecting ecosystems with over 2 billion monthly downloads. By compromising high-reputation GitHub accounts, attackers inject malicious code into main branches to trigger automated releases via GitHub Actions. Critically, the use of OpenID Connect (OIDC) through "Trusted Publishing" allows the poisoned packages to arrive with valid provenance and digital signatures, neutralizing traditional integrity checks. The malware employs a multi-stage execution pattern, utilizing the Bun JavaScript runtime to deploy a 710KB obfuscated payload. It utilizes "EtherHiding"—a Command and Control (C2) mechanism leveraging the Ethereum blockchain—to evade network-based detection while targeting cloud credentials, AI-agent configurations, and cryptocurrency keystores.

  • Incident Overview and Scope

    • Compromised 444 unique npm packages and 2,212 specific versions.
    • Impacts critical developer infrastructure with a combined monthly download volume exceeding 2 billion.
    • Represents a 70% increase in credential theft breadth compared to previous Shai-Hulud malware variants.
  • Attack Vector and Execution Mechanics

    • Leverages compromised GitHub maintainer accounts to inject code directly into main branches.
    • Exploits GitHub Actions and OIDC-based "Trusted Publishing" to bypass provenance and integrity checks.
    • Employs an npm preinstall script to fetch the Bun JavaScript runtime.
    • Deploys a 710KB obfuscated secondary payload via setup.mjs, Math_Symbol.js, and math_init.js.
  • Advanced Evasion and C2 Infrastructure

    • Utilizes "EtherHiding" to facilitate Command and Control (C2) via the Ethereum blockchain.
    • Employs blockchain-based communication to evade standard network monitoring and egress filtering.
    • Designed to blend into legitimate decentralized web traffic, complicating signature-based detection.
  • Targeted Data and Persistence Mechanisms

    • Targets cloud provider CLI configurations (AWS, GCP) and CI/CD secrets (Jenkins, Argo CD, Harbor).
    • Targets modern AI-agent credentials (Claude, OpenAI, Gemini, Cursor) and developer IDE settings via VS Code tasks.
    • Attempts persistence through Claude Code hooks and local system files, including /etc/shadow and SSH keys.
    • Actively pursues cryptocurrency keystores including Foundry, Solana, and Monero.
  • Detection and Mitigation Strategies

    • Monitor for unauthorized commits to main branches and unexpected GitHub Action execution triggers.
    • Audit package.json for suspicious preinstall scripts and unauthorized runtime dependencies like Bun.
    • Implement strict branch protection rules and audit OIDC-based publishing permissions.
    • Rotate all cloud, AI-agent, and CI/CD credentials immediately upon detection of suspicious activity.

Related posts

  1. Cybersecurity News — ChainDrop npm Worm Poisons 444 Packages Through GitHub Actions and Trusted Publishing
  2. gbhackers.com — ChainDrop Publishes Initial Malware Without Stealing a Long-Lived npm Token
  3. Malware News — Compromising the Developer: How Modern Dependency Culture Reshaped the Supply Chain Threat Landscape
  4. simplysecuregroup.com — Rust Supply Chain Attack Puts Build-Time Malware in Crates with 245 Million Downloads
  5. news4hackers.com — North Korean Hackers Exploit Rust Supply Chain: Cybersecurity Threat Revealed
  6. techjacksolutions.com — Megalodon Campaign Poisons 5,500+ GitHub Repos in Six Hours, Developer Credentials and Secrets at Scale
  7. techjacksolutions.com — JINX-0164: macOS Infostealer Campaign Chains Recruiter Lures to npm Supply Chain and CI/CD Compromise
  8. csoonline.com — ChainDrop credential stealing worm infects over 400 npm packages
  9. Ampcuscyber
  10. Sangfor
  11. Eon
  12. Stepsecurity
  13. Blog
  14. Suppliershield
  15. Harness
  16. Blog
  17. Scworld
  18. Sygnia
  19. bleepingcomputer.com — Hackers poison arrayref Rust crate to push infostealer malware
  20. feeds.feedburner.com — Rust Supply Chain Attack Puts Build-Time Malware in Crates with 245 Million Downloads
  21. csoonline.com — Backdoored Rust packages hit crates.io, exposing developers to malware at build time
  22. Infosecurity-magazine
  23. Cryptopolitan
  24. Kucoin
  25. Reconbee
  26. Devops
  27. Research
  28. Stepsecurity
  29. Infoworld
  30. Tuxcare
  31. Darkreading
  32. Labs
  33. Kaseya
  34. Ox
  35. Reddit
  36. Socfortress
  37. Infostealers
  38. Youtube
  39. Safedep
  40. Broadcom
  41. Labs
  42. Facebook
  43. Healsecurity
  44. Infosecurity-magazine
  45. Cybersecuritynews
  46. SecurityWeek — Rust Supply Chain Attack Linked to North Korean Hackers

LINK COPIED TO CLIPBOARD