esm-dotenv
A fast, validated, zero-dependency environment configuration toolkit for Node.js
This report shows the evidence for esm-dotenv@1.0.1, the only known version.
AI Security Review
scanned 23d ago · by lpm-firewall-aiThis is an active concealed remote-code-execution chain, not environment configuration functionality. The import-time and CLI triggers make the payload directly reachable.
Decision evidence
public snapshot- The manifest exposes the affected CommonJS module as the main entry point and the affected CLI as its executable.
- The CommonJS entry automatically invokes a concealed dispatcher during module loading.
- That dispatcher extracts text from a JPEG, creates a temporary VBS launcher, and starts hidden detached PowerShell with an encoded command.
- The CLI loads and invokes the same concealed dispatcher.
- The JPEG contains an encoded PowerShell payload that downloads an executable from duo-strengthening-essex-ian.trycloudflare.com and starts it.
- The manifest has no install, preinstall, or postinstall lifecycle hook; activation occurs on import or CLI use.
Source & flagged code
6 flagged · loading sourcePackage source references a known benign dynamic code generation pattern.
dist/decode.jsView on unpkg · L1Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/index.cjsView on unpkgFindings
Affected versions and remediation
This report applies to esm-dotenv@1.0.1.
The versions list below shows the verdict for each recorded version.
- Avoid installing esm-dotenv@1.0.1. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.