# GHSA-2HR9-FGPC-RP7W: Malicious code in curse-allies-module (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-13
- Modified: 2026-11-13

## Affected versions

- curse-allies-module (npm): 1.0.0

## Description

## Source: amazon-inspector (15e9740e7be22c3d68a1784e48d3e87414347b5e5697397ef0d8ab2295619962)
On npm install, the package runs a postinstall lifecycle script (`node probe.cjs`) that issues an HTTPS POST to a hardcoded webhook.site collector URL (https://webhook.site/a4bf0f9f-6d96-46e6-80ac-b76a5329f481) with the marker string `CURSE_DEPENDENT_REMOTE_INSTALL_PROBE`. The beacon fires unconditionally at install time with no configuration or opt-out, signaling to a third-party collector that the package resolved and executed inside the installer's environment. This is the canonical dependency-confusion / reconnaissance canary shape: the attacker learns that a given name resolves on the target's internal build infrastructure, enabling follow-on targeted attacks against environments where the name was expected to resolve privately.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/d9e78122ff1e19623ced02ae6cc75ed40bab1835/osv/malicious/npm/curse-allies-module/MAL-2026-19223.json))

## References

- https://github.com/ossf/malicious-packages/blob/d9e78122ff1e19623ced02ae6cc75ed40bab1835/osv/malicious/npm/curse-allies-module/MAL-2026-19223.json
- https://www.npmjs.com/package/curse-allies-module/v/1.0.0
- https://github.com/advisories/GHSA-2hr9-fgpc-rp7w

Page: https://cve.now/GHSA-2HR9-FGPC-RP7W

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
