-= Per source details. Do not edit below this line.=-
lib/index.js, the package main entry point, contains a custom permutation-cipher decoder (spin/peel, keyed by two numeric constant arrays NX/SX) that reconstructs an approximately 15 KB scrambled string literal into JavaScript source. The decoded source is then compiled via peel.constructor (which resolves to the Function constructor) and immediately invoked with global and require as arguments. This bootstrap runs whenever a consumer requires or imports the package. Handing require to a dynamically compiled, obfuscated payload grants it full Node capability (filesystem, network, child_process) on the installing/importing host. The package's declared purpose is a React help-browser feature; the companion module.js is clean, with the obfuscated loader appended to the main export, consistent with a smuggled payload grafted onto an otherwise legitimate module. The combination of a bespoke custom decoder, a hidden ~15 KB string literal, and runtime Function() compilation with require passed in is the canonical shape of an import-time dropper.
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-7wfq-2q8j-q4xj",
"import_time": "2026-11-04T20:18:39.712002845Z",
"modified_time": "2026-11-04T19:47:01Z",
"sha256": "5a0da0aa5320d070b240dec07b393270995c492fb5ed23c7dcf8ae077583a409",
"source": "ghsa-malware",
"versions": [
"12.0.194"
]
},
{
"id": "IN-MAL-2026-022659",
"import_time": "2026-11-13T03:36:31.630920172Z",
"modified_time": "2026-11-13T03:29:40Z",
"sha256": "278bca950afa49bf0a5e821666e2dd8a99f099cdf59d564a9ac9f96b87b665f6",
"source": "amazon-inspector",
"versions": [
"12.0.194"
]
}
]
}[
{
"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": "lib/index.js",
"sha256": "254caf85c93b3c4ef4a6f318ea72e99db28c993a790fc53ab2a7ac076f08600e",
"tlsh": "8a727e7f38036331c203f4755fab51b1f68e74983a14c2eab6bd91a02b4a5789278fd5"
}
],
"package_integrity": [
{
"filename": "yantra-help-browser-12.0.194.tgz",
"hashes": {
"sha1": "bfd45ff3110d34f4e1ff1371feef4d693e11af7c",
"sha512_sri": "sha512-Dz+7uEwNwLXmkRp/XKSW8i/cS5nrGoWQq/rpDV3DBguAnyZrL3z60M6es5KTaLjR/bUnHVdP3vRCiR3VbC4kUg=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@adminide-stack/yantra-help-browser/MAL-2026-18644.json"