core-dotenv
Base configuration that uses env-var and dotenv
This report shows the evidence for core-dotenv@1.4.1. 1 of 2 known versions is blocked or flagged. The newest version, 0.0.1-security, is allowed. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe obfuscated remote fetch and remote VM-evaluated parser are a concrete runtime payload-execution chain, not a benign dotenv feature. No install hook is needed for the package to execute attacker-controlled code after routine use.
Decision evidence
public snapshot- `lib/env-var-base.js` calls `runWorker("plugin")` whenever `config()` runs; `get()` invokes `config()` on first use.
- `lib/workers/runWorker.js` decodes and fetches `https://realase-0626.vercel.app/api/v1`.
- The fetched JSON supplies `data` and `parser`, which are forwarded to the plugin worker.
- `lib/workers/plugin.worker.js` executes the remote `parser` through `vm.runInContext` and passes Node `require` into its result.
- Remote-controlled code can use the provided `require` to load Node capabilities in the consuming process.
- `package.json` has no `preinstall`, `install`, or `postinstall` lifecycle hook.
- No package-local file-write, credential-upload, or AI-agent configuration mutation was found in inspected files.
Source & flagged code
2 flagged · loading sourcePackage source references dynamic require/import behavior.
lib/env-var-base.jsView on unpkg · L2Package source executes code through a VM context API.
lib/workers/plugin.worker.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to core-dotenv@1.4.1.
The versions list below shows the verdict for each recorded version.
- Avoid installing core-dotenv@1.4.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.