# GHSA-PRQG-VVV3-2XF8: Malicious code in @dmangal/curse-dependent-ecto (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-10-29
- Modified: 2026-11-03

## Affected versions

- @dmangal/curse-dependent-ecto (npm): 99999.0.2
- @dmangal/curse-dependent-ecto (npm): 99999.0.1
- @dmangal/curse-dependent-ecto (npm): 99999.0.0

## Description

## Source: amazon-inspector (28b6b5c8c100680386dbcbbd51dd409f67f0d54701eb0e50232934acc53bf397)
The package's binding.gyp contains a GYP command-expansion action that is executed automatically by node-gyp during `npm install`. The embedded `node -e` script runs `grep -rl 'HTB{' /workspace/ /root/ /tmp/ /opt/ /var/ /etc/` across installer-side paths, reads /tmp/scent-trail.jsonl and /workspace/repo/package.json, enumerates every key of process.env and concatenates each key=value pair, and POSTs each of these payloads (prefixed GREP:, FILE:, ALLENV:) to the hardcoded attacker endpoint webhook.site/89bd8fe7-328c-4e6d-970c-4d567b5a48a0. The binding.gyp has no accompanying native source files; its only purpose is to run the embedded exfiltration command. The implausibly high version string (99999.0.1) is consistent with a dependency-confusion lure. Installing this package in a developer workstation or CI environment causes CI secrets, API tokens, and environment-injected credentials, along with workspace file contents and any file containing the HTB{ marker, to be transmitted to an attacker-controlled host.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/0b4a7fbd4eea373a8b90aca1ace688cb95b8b251/osv/malicious/npm/@dmangal/curse-dependent-ecto/MAL-2026-18375.json))

## References

- https://github.com/ossf/malicious-packages/blob/0b4a7fbd4eea373a8b90aca1ace688cb95b8b251/osv/malicious/npm/@dmangal/curse-dependent-ecto/MAL-2026-18375.json
- https://www.npmjs.com/package/@dmangal/curse-dependent-ecto/v/99999.0.0
- https://www.npmjs.com/package/@dmangal/curse-dependent-ecto/v/99999.0.1
- https://www.npmjs.com/package/@dmangal/curse-dependent-ecto/v/99999.0.2
- https://github.com/ossf/malicious-packages/blob/aba7b4931e51b1b82fcb12d502ff8725812f3bac/osv/malicious/npm/@dmangal/curse-dependent-ecto/MAL-2026-18375.json
- https://github.com/advisories/GHSA-prqg-vvv3-2xf8

Page: https://cve.now/GHSA-PRQG-VVV3-2XF8

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