NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

env-helper-friendnpm

Advisory published Updated

env-helper-friend is a confirmed malicious npm package (MAL-2026-20420) that steals credentials and exfiltrates sensitive data (malicious version 0.2.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in env-helper-friend (npm)

MAL-2026-20420
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall env-helper-friend

What this malware does

On npm install, env-helper-friend's postinstall script serializes the entire process.env to JSON, truncates it to 200 characters, embeds the payload as a subdomain label of a hardcoded host (*.ygyrsdtjvygv.oeh), and performs a DNS lookup of the resulting hostname. Although the TLD does not resolve, recursive DNS resolvers on the install path still receive and typically log/forward the queried label, exfiltrating the environment contents (which commonly contain CI tokens, cloud credentials, and other secrets) to any resolver operator on the lookup chain and to any operator who controls the destination zone. The destination host is also overridable via the URLLY environment variable, allowing redirection to an arbitrary attacker-controlled label. README self-identifies the package as a test/research artifact, but the install-time exfiltration mechanism executes on any default npm install regardless of that label.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Malicious versions

1 flagged
0.2.0

Indicators of compromise (SHA-256)

cdf9cf4146dc3e76fdd362acd19b90ff841abcb88ef3ef5c0e05b300cfc64d70
de4cb41913b679ae1fff87c8f3ee63b3259ea9b26e9bc58e8fe005bded29f6b1

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for env-helper-friend (version 0.2.0).

  2. If you installed it — respond

    env-helper-friend 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 env-helper-friend 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. env-helper-friend on npm has been identified as a malicious package (version 0.2.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-023070GHSA-8m69-2g4m-rg45

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks env-helper-friend-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

env-helper-friend (npm) malicious package — MAL-2026-20420 | O3 Security