dotenv-native
A fast, validated, zero-dependency environment configuration toolkit for Node.js
This report shows the evidence for dotenv-native@1.0.1, the only known version.
AI Security Review
scanned 25d ago · by lpm-firewall-aiThe package contains and automatically activates a hidden encoded-PowerShell launcher from both its library and CLI entrypoints. This is concrete malicious execution behavior unrelated to environment configuration.
Decision evidence
public snapshot- The package metadata exposes dist/index.cjs as the main import entrypoint and dist/cli.cjs as a command-line entrypoint.
- The main entrypoint invokes the hidden dispatch routine immediately when imported.
- The routine reads a UTF-8 payload from a JPEG segment in dist/stest.jpg.
- The routine writes a temporary VBScript and launches it detached and hidden to run an encoded PowerShell command.
- The CLI contains the same hidden launcher and invokes it when the command runs.
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-native@1.0.1.
The versions list below shows the verdict for each recorded version.
- Avoid installing dotenv-native@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.