-= Per source details. Do not edit below this line.=-
The package is published as chai-as-deployer but its tarball contains verbatim pino README/docs/type-definitions while the advertised chai plugin is a no-op Express middleware (return (_req,_res,next) => { next(); }). index.js unconditionally executes require('./lib/config') at module top level, loading a ~3.5MB single-line obfuscator.io-style bundle (rotated string array, decoder functions, hex-escaped identifiers) that has no relationship to pino or the advertised functionality. The obfuscated body contains require, exec, spawn, and axios tokens, indicating the decoded code drives child-process execution and outbound HTTP requests. Any consumer that imports chai-as-deployer triggers this payload with no further action. Author metadata is generic (Harrison Thorn <harrisonthorn@protonmail.com>, bugs URL harrisonthorn.com) and the package description is unrelated boilerplate. The combination of cover-story impersonation, no legitimate functionality, top-level require of a heavily obfuscated bundle, and shell+network primitives inside that bundle is the canonical shape of an import-time stealer/loader.
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": [
{
"import_time": "2026-08-10T12:51:45.145480902Z",
"sha256": "5aef4629b3aa0ef2f5afc03676e6b2d749b8b6cc7fa3dc211aebc573997d1727",
"modified_time": "2026-08-10T12:30:35Z",
"source": "amazon-inspector",
"id": "IN-MAL-2026-017268",
"versions": [
"2.3.6"
]
},
{
"import_time": "2026-08-10T12:51:45.193771277Z",
"sha256": "c4da130c2818dc609c23c93511a70a6c207cf19cdf9fdd937e369e07b5f1e492",
"modified_time": "2026-08-10T12:30:47Z",
"source": "amazon-inspector",
"id": "IN-MAL-2026-017269",
"versions": [
"2.3.5"
]
},
{
"import_time": "2026-08-18T12:29:51.337602966Z",
"sha256": "cb63584d83487c7d7ce3b9d031d79502412fd048c2260a05b0a8ef98aa23ef59",
"modified_time": "2026-08-18T11:33:24Z",
"source": "ghsa-malware",
"id": "GHSA-6q3r-v92v-89p4",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
]
}
]
}"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/chai-as-deployer/MAL-2026-13700.json"
{
"evidence_files": [
{
"sha256": "f50f58b138120fab51de3d3d98fb96d24bd3cee998f3fcc27895344821910383",
"tlsh": "e4165f889645c93796ce17a3be0579ecf23aa9a194cca50b80bdbd5c39fc45bc0b0dd4",
"path": "lib/config.js"
},
{
"sha256": "a67ac415fc949eb5e30a1429ff9af59f7687684df04b6711bbd52f40a85ca3b3",
"tlsh": "cb014c20ce789d2305dd21525c6a4542b3324d178928fd1932d7a12e4f9f5af55bf15c",
"path": "package.json"
}
],
"package_integrity": [
{
"filename": "chai-as-deployer-2.3.6.tgz",
"hashes": {
"sha1": "652f5bd2858d9093ccb1e12ecec653f354b45703",
"sha512_sri": "sha512-XfvA5y9k+fTQ3zQXWn0LmArsYnQVo8OK+lwl4TX1XgfQfFqi5/38f6KOMs39dZy4d1xIylQ+Yebr4wi0Pu32Mw=="
}
}
]
}
[
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
}
]