dotenv-runtime
A fast, validated, zero-dependency environment configuration toolkit for Node.js
This report shows the evidence for dotenv-runtime@1.0.0, the only known version.
AI Security Review
scanned 16d ago · by lpm-firewall-aiInspected source proves automatic, concealed execution of a bundled encoded PowerShell command through a self-deleting script. This concrete behavior supports blocking independently of scanner similarity claims.
Decision evidence
public snapshot- package.json exposes the affected library and CLI as public entrypoints.
- dist/index.cjs automatically invokes the hidden launcher during import.
- The launcher extracts text from a JPEG metadata segment and passes it to PowerShell as an encoded command.
- The generated VBScript deletes itself and runs PowerShell with its window hidden.
- Both entrypoints write a temporary script and launch a detached, hidden Windows Script Host process; the CLI invokes this automatically.
- No registry-install lifecycle hook is declared.
- The embedded command's contents and any network destination were not established.
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 dotenv-runtime@1.0.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing dotenv-runtime@1.0.0. 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.