-= Per source details. Do not edit below this line.=-
assertion-utils-js is a typosquat of chai (name, description, and keywords mirror the real package). On require(), index.js spawns a detached Node child process that runs lib/chai/utils/assertion.js in the background with stdio ignored. That file is heavily string-array obfuscated (obfuscator.io style: rotated _0x1b90 token array plus a custom base64+URI _0x2dd2 decoder with parseInt-checksum rotation, hex-named identifiers) and its runtime behavior is to reconstruct a URL from the decoded string array, call https.get to fetch a remote response body, then pass that body to new Function("require", body) and invoke the resulting function with require in scope. The obfuscation exists to hide the fetch destination from static inspection; the fetched code executes with full Node module privileges on every load of the package.
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-14T19:53:40Z",
"id": "IN-MAL-2026-010555",
"sha256": "311d22d9694863456136cf4f8b69a291fdbb631eda56bafca1959e0c184774a1",
"import_time": "2026-07-14T20:28:24.377653732Z",
"source": "amazon-inspector",
"versions": [
"2.4.3"
]
},
{
"modified_time": "2026-07-14T23:14:25Z",
"id": "GHSA-q727-8h63-fm25",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"import_time": "2026-07-15T05:00:56.810724037Z",
"source": "ghsa-malware",
"sha256": "c2684afac6d619d33351e4afc538c40294a1a5b1fd643a4b10489ed12a01f79f"
}
]
}[
{
"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"
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/assertion-utils-js/MAL-2026-10612.json"
{
"evidence_files": [
{
"tlsh": "a391755cad8021915b8f475b3a27f0c4f4096d9f7fc9148fa111bde4e989a24ead6e30",
"path": "lib/chai/utils/assertion.js",
"sha256": "46543bececc793d6150af132e1ba48d0be2b61cc22dc2b2408a1ed3e23eeddfb"
}
],
"package_integrity": [
{
"filename": "assertion-utils-js-2.4.3.tgz",
"hashes": {
"sha1": "9b040a20681605af778ea8f463f5ab210dd0b964",
"sha512_sri": "sha512-JyYn8m1gDkXgStwC3XKIEwm4fueG848aNZWHbHCp65KswMf1nmgE6eqSjLOT7HQqgtE0+wNrOv6F0Dgcbf+2yQ=="
}
}
]
}