Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

@dmangal/curse-dependent-ectonpm

Advisory published Updated

@dmangal/curse-dependent-ecto is a confirmed malicious npm package (MAL-2026-18375) that steals credentials and exfiltrates sensitive data (malicious versions 99999.0.0, 99999.0.1, 99999.0.2). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @dmangal/curse-dependent-ecto (npm)

MAL-2026-18375
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @dmangal/curse-dependent-ecto

What this malware does

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.

Malicious versions

3 flagged
99999.0.099999.0.199999.0.2

Indicators of compromise (SHA-256)

12d717b37056ccc36cc4225071d8a9ed6e39b269e207c3891b43476f15cf7978
28b6b5c8c100680386dbcbbd51dd409f67f0d54701eb0e50232934acc53bf397
a563521f86b861850e706bfc78b51306b4467284f14a7251f956f55c32067e0d

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for @dmangal/curse-dependent-ecto (3 malicious versions).

  2. If you installed it — respond

    @dmangal/curse-dependent-ecto is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If @dmangal/curse-dependent-ecto was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. @dmangal/curse-dependent-ecto on npm has been identified as a malicious package (versions 99999.0.0, 99999.0.1, 99999.0.2 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-022403IN-MAL-2026-022404IN-MAL-2026-022402

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks @dmangal/curse-dependent-ecto-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore