Skip to content
stack atlasby Kristen Aing · as of 3 Dec 2026

Supply chain

Miasma npm wave hides its payload in binding.gyp to steal CI/CD secrets

Seed reviewedSourcedDisclosed 4 Jun 2026Occurred: not statedLast reviewed 26 Nov 2026

What was reported

Sonatype reported on 4 June 2026 a new Shai-Hulud Miasma wave of 281 malicious npm package versions that ran through binding.gyp, which makes npm invoke node-gyp during install, instead of package.json install scripts. ReversingLabs documented 56 packages and 286 malicious versions published from 3 to 4 June. Its analysis says the payload checked more than 30 CI environment variables, collected cloud, GitHub Actions and local credential files, committed stolen data to attacker-controlled GitHub repositories, republished packages the victim could write to, added hooks to AI coding assistant configuration, and deleted the user's home directory if the stolen GitHub token was revoked.

What is not known

  • Package and version counts differ by researcher (281 versions per Sonatype; 56 packages and 286 versions per ReversingLabs; others report 57 packages).
  • ReversingLabs' page carries no publication date.
  • How the first publishing access was obtained is not established.
  • No ATT&CK technique is asserted until a separate sourced mapping review.

Sources (2)

Classification

MITRE ATT&CK
Not evaluated
Ecosystems
npm, CI/CD, GitHub Actions
Industry
Not stated
Secret type
Not stated
Packages
None linked

Secret type and location are only what the sources state; “Not stated” means the sources don’t say. Location is where the first exposed secret sat. Techniques are listed only after a sourced mapping review. “Not evaluated” means nobody has reviewed it yet, not that the technique was absent.

Related market categories

  • Software supply chain

    A worm spread through compromised npm packages and republished packages its victims could write to.

    Does not imply: That any software supply chain security product detected or would have prevented this incident.

    Reviewed 28 Nov 2026

  • Secrets detection and remediation

    ReversingLabs reports a payload that collects CI, cloud and GitHub Actions credentials.

    Does not imply: That any secrets detection product detected or would have prevented this incident.

    Reviewed 28 Nov 2026