Env config toolkit built on dotenv and env-var, with worker-threads-based decrypt/verify/validate/plugin tasks
Calling config() (also reached by get() before configuration) fetches attacker-controlled data from a remote endpoint and executes its parser. The remote parser receives Node's require in a worker thread.
env.config() automatically starts the plugin worker.
lib/env-var-base.jsView on unpkg · L18Package 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 · L1Source passes code obtained from a remote response into a dynamic execution sink.
lib/workers/runWorker.jsView on unpkgREADME falsely claims the package makes no network calls or remote evaluation.
README.mdView on unpkg · L28Package source references dynamic require/import behavior.
lib/env-var-base.jsView on unpkg · L2env.config() automatically starts the plugin worker.
lib/env-var-base.jsView on unpkg · L18Package source executes code through a VM context API.
lib/workers/plugin.worker.jsView on unpkg · L1Source passes code obtained from a remote response into a dynamic execution sink.
lib/workers/runWorker.jsView on unpkgREADME falsely claims the package makes no network calls or remote evaluation.
README.mdView on unpkg · L28