-= Per source details. Do not edit below this line.=-
Package republishes the chai-spies Chai plugin source verbatim (including original author header) under the near-identical name chai-spycore. package.json declares six runtime dependencies — fast-deep-equal, eventemitter3, lodash.clonedeep, chai-guard, is-plain-object, just-extend — but none of these are require()d anywhere in lib/spy.js or index.js. The legitimate chai-spies ships with zero runtime dependencies, so the additional deps are pulled into the installer's tree on npm install chai-spycore without serving any function in the package's own code. The non-mainstream chai-guard dependency is the most suspicious of the set and is the likely vehicle for any indirect code execution against the installer. Routing to human review to assess the name-confusion claim against chai-spies and to inspect chai-guard's contents.
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": [
{
"modified_time": "2026-07-07T06:27:32Z",
"sha256": "fc0a99e30b6e4bd6566b0a720a8b30f21a776ec86f3aa1f02c618fb91de0256a",
"import_time": "2026-07-07T07:26:00.87903834Z",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"source": "ghsa-malware",
"id": "GHSA-w3fq-7xj5-8gmv"
},
{
"id": "IN-MAL-2026-008184",
"sha256": "981e06e5fef0e9f429323cd55dc586e746a02cec74214d7ac29c9688a51170fd",
"modified_time": "2026-07-08T19:20:46Z",
"versions": [
"1.1.0"
],
"source": "amazon-inspector",
"import_time": "2026-07-08T19:33:42.354418108Z"
},
{
"source": "amazon-inspector",
"sha256": "fbb99516f251bbd13baae5273239a6a04acefea76ddf1a7b06f4b5a328339dae",
"import_time": "2026-07-08T19:33:42.515558424Z",
"modified_time": "2026-07-08T19:21:03Z",
"id": "IN-MAL-2026-008186",
"versions": [
"1.5.3"
]
}
]
}[
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
}
]
{
"evidence_files": [
{
"tlsh": "6f1166a8db348d6316ca61a4906f11827135ce5b8e98bd1e37e7414c9f1e92b30fddac",
"sha256": "ee6c29c2a52e8ef1bc465d06236b544755eda732c4019f7f8881240510f94e36",
"path": "package.json"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/chai-spycore/MAL-2026-6907.json"