# binding-gyp-supply-chain-attack-enables-npm-ci-cd-worm-propagation: binding.gyp Supply Chain Attack Enables npm CI/CD Worm Propagation

> binding.gyp Supply Chain Attack Enables npm CI/CD Worm Propagation is a high-severity supply chain compromise issue in binding.gyp Supply Chain Attack Enables npm CI/CD Worm Propa, a CI integration. Affected: 57+ npm packages / 286+ malicious versions with phantom binding.gyp (Miasma wave 2, June 3-4 2026). It has been exploited in the wild.

- **Canonical URL:** https://catalog.anomity.ai/vuln/binding-gyp-supply-chain-attack-enables-npm-ci-cd-worm-propagation
- **Aliases:** ti-040
- **Severity:** high
- **Attack type:** Supply chain compromise, Malware
- **Component:** binding.gyp Supply Chain Attack Enables npm CI/CD Worm Propa (CI integration)
- **Exploited in the wild:** yes
- **Published:** 2026-06-04
- **Last verified:** 2026-11-01
- **JSON:** https://catalog.anomity.ai/api/entries/vuln/binding-gyp-supply-chain-attack-enables-npm-ci-cd-worm-propagation

## Summary

Researchers identified an active npm supply-chain attack that abuses the binding.gyp build mechanism to execute malicious code during install via node-gyp, bypassing many controls that only watch preinstall/postinstall scripts. The worm propagates across packages through CI/CD. Linked to TeamPCP.

## Affected versions

| Affected | Fixed in |
| --- | --- |
| 57+ npm packages / 286+ malicious versions with phantom binding.gyp (Miasma wave 2, June 3-4 2026) | no fixed version listed |

## Am I affected by this vulnerability?

You are affected if you run 57+ npm packages / 286+ malicious versions with phantom binding.gyp (Miasma wave 2, June 3-4 2026).

## How do I fix it?

Audit dependencies for unexpected binding.gyp / node-gyp build steps; disable native build scripts for untrusted packages (e.g. npm --ignore-scripts in CI) and review CI runners for worm propagation since early June.

## References

- article: https://snyk.io/blog/node-gyp-supply-chain-compromise-self-propagating-npm-worm-binding-gyp/

## Related vulnerabilities

- [litellm-1-107-0-compromised-on-pypi-and-docker-a-cook-pth-startup-hook](https://catalog.anomity.ai/vuln/litellm-1-107-0-compromised-on-pypi-and-docker-a-cook-pth-startup-hook) — critical
- [apex-accelerator-ref8801-a-fake-web3-accelerator-s-npm-coding-agent](https://catalog.anomity.ai/vuln/apex-accelerator-ref8801-a-fake-web3-accelerator-s-npm-coding-agent) — high
- [ghostaction-returns-a-security-audit-yml-workflow-pushed-from](https://catalog.anomity.ai/vuln/ghostaction-returns-a-security-audit-yml-workflow-pushed-from) — high
- [tensorlake-npm-sdk-0-5-144-compromised-by-a-shai-hulud-chaindrop-worm](https://catalog.anomity.ai/vuln/tensorlake-npm-sdk-0-5-144-compromised-by-a-shai-hulud-chaindrop-worm) — critical
- [mandiant-hijacked-ai-coding-assistant-session-deploys-shai-hulud-across](https://catalog.anomity.ai/vuln/mandiant-hijacked-ai-coding-assistant-session-deploys-shai-hulud-across) — critical
- [shai-hulud-wave-c-payload-returns-after-111-days-including-feishu-docx](https://catalog.anomity.ai/vuln/shai-hulud-wave-c-payload-returns-after-111-days-including-feishu-docx) — critical

---

Source: Anomity Security Database (https://catalog.anomity.ai/vuln). Detect affected AI tools on developer devices: https://anomity.ai/?utm_source=catalog&utm_medium=vuln-md&utm_campaign=binding-gyp-supply-chain-attack-enables-npm-ci-cd-worm-propagation
