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

dotenv-packnpm

Advisory published Updated

dotenv-pack is a confirmed malicious npm package (MAL-2026-2900) that opens a backdoor for remote access. Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in dotenv-pack (npm)

MAL-2026-2900
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall dotenv-pack

What this malware does

dotenv-pack is a malicious npm package that when imported downloads a C2 dropper from https://api.npoint[.]io/5b357f718ab4ee355003 and executes it (similar to malware in to chai-await-test).

The package dotenv-pack was found to contain malicious code.

Malicious versions

all versions

Every published version of this package is considered malicious — remove it entirely.

Indicators of compromise (SHA-256)

b57650f0341c4520703e30ebd6c256f564519680e225e8dabefcd48b4218dfa1

Detection & response playbook

Backdoor / remote access
  1. Find it

    Search your lockfiles and build artifacts for dotenv-pack (all published versions).

  2. If you installed it — respond

    dotenv-pack establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.

  3. Did it already run?

    If dotenv-pack 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. dotenv-pack on npm has been identified as a malicious package (all published versions flagged). It should be removed immediately — do not install or keep it in your dependency tree.

References

Credits

  • Amazon Inspector · finder
  • indece · finder

Detect & block this

O3 blocks dotenv-pack-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.

Explore

dotenv-pack (npm) malicious package — MAL-2026-2900 | O3 Security