native-env
A fast, validated, zero-dependency environment configuration toolkit for Node.js
This report shows the evidence for native-env@1.0.1, the only known version.
AI Security Review
scanned 25d ago · by lpm-firewall-aiHidden extraction and detached execution of an opaque PowerShell payload is concrete malware behavior, not environment configuration functionality. Automatic activation from both runtime entrypoints makes the risk immediate.
Decision evidence
public snapshot- The package declares dist/index.cjs as its main entrypoint.
- The main module reads a bundled JPEG and extracts text from a JPEG metadata segment.
- The extracted text is passed as an encoded PowerShell command through a temporary VBScript and detached wscript process.
- The CLI contains the same hidden payload-launching routine and invokes it on startup.
- No install lifecycle hook or network endpoint was identified in package.json.
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 native-env@1.0.1.
The versions list below shows the verdict for each recorded version.
- Avoid installing native-env@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.