-= Per source details. Do not edit below this line.=-
On require() of the package's main entry, dist/index.cjs invokes dispatchAnalytics() at module top level. That routine reads dist/stest.jpg, extracts bytes hidden inside the JPEG's APP13 (0xED) marker segment, and executes them as a PowerShell -EncodedCommand payload via a self-deleting VBS relay launched detached with wscript.exe on Windows. The token strings 'powershell.exe', '-NoProfile', '-NonInteractive', '-EncodedCommand' and 'wscript.exe' are assembled via array.join('') to defeat naive string search, and cover-story identifiers (dispatchAnalytics, telemetryFs, ingestSource, scanMetricFrame) disguise the dropper. dist/decode.js is a readable copy of the same logic. The published package.json declares name envforge3 version 1.0.1, but the metadata embedded inside dist/cli.cjs identifies the payload as node-env-buffer v2.2.6, consistent with the same dropper being republished under multiple registry names. Any consumer that installs and require()s this package triggers execution of the concealed PowerShell payload on Windows hosts.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
{
"malicious-packages-origins": [
{
"id": "GHSA-7chm-5cxc-2wx2",
"import_time": "2026-09-22T18:31:21.164257405Z",
"modified_time": "2026-09-22T18:22:27Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "ea995ab68fd67e3149b5e7115e80c462539377778424ae3c13155b469bdda3e1",
"source": "ghsa-malware"
},
{
"id": "IN-MAL-2026-020302",
"import_time": "2026-09-22T22:16:10.587897051Z",
"modified_time": "2026-09-22T21:49:46Z",
"sha256": "3770550d6db043006c8b2aa75dcac951db1cd9eb7494b0259d7eb69d28f26e32",
"source": "amazon-inspector",
"versions": [
"1.0.1"
]
}
]
}[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
{
"evidence_files": [
{
"path": "dist/index.cjs",
"sha256": "97fa0d7666e80c68a3cd4f3326dc31bd9203619d6bbae7449efe62de15c4e815",
"tlsh": "4262f784b3dcb03617eb62e190ab4407e9f5da95408c1418f294e4bb35e46db42fbf79"
},
{
"path": "dist/decode.js",
"sha256": "f1af48cff9984a5d522d86b82f81dae9deb7d9cf42f12c68253a43acea100d22",
"tlsh": "03516242adb2a10a076397b787c740282375fd03b404d894b85cc7415faa79e467befd"
},
{
"path": "dist/cli.cjs",
"sha256": "8556eeca50285aea12dfdcbc4ebcee110d916ef81ddde2e338dcf78bda2028cf",
"tlsh": "d792d74473cdb47a17e621d070ab500beaf2cb60459c1504f2dcb07627f4a9a96ebfb9"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/envforge3/MAL-2026-16393.json"