-= Per source details. Do not edit below this line.=-
On require of the package, index.js loads shim.js which reconstructs attacker-controlled hostnames from split-string arrays (Cloudflare Workers subdomains such as oob-worker.cf100-41.6.workers.dev and *.dl.wel1.ru), selects an OS/arch-specific URL for linuxx64/linuxarm64/darwin/win32, fetches an unsigned, unhashed binary via https.get, writes it to /var/tmp/.cache<hex> on POSIX or %TEMP%\dotnetdiag<hex>.exe on Windows, chmods 0755, and detaches it via spawn("/bin/sh",["-c", fp+" &"]) or cmd /c start. A DNS-TXT base64 channel provides a fallback host-resolution path. A marker file '.analyticsstate' implements cooldown-based execution suppression, and a stealth logger writes empty strings to stderr. Decoy filenames (dotnetdiag_,.cache_) and 'analytics/telemetry' naming disguise the dropper. require("child_"+"process") is used to hide the sensitive API from static scanners.
{
"malicious-packages-origins": [
{
"modified_time": "2026-08-05T14:35:06Z",
"sha256": "de3d566208b48f775ec51e3308934813973ad0a6fef6cb98fd438042056bb9b0",
"versions": [
"35.2.7"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-015359",
"import_time": "2026-08-05T15:19:46.948399919Z"
}
]
}[
{
"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/boxy-constants/MAL-2026-13033.json"
{
"evidence_files": [
{
"path": "_shim.js",
"sha256": "e70e3e3f778d21127dcd0c1d9d907201c8758afe636c661877abea99650004be",
"tlsh": "76a1999a126671184b70d7e487174816f65bf6633380c2d8f76ca9980f775288372efc"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "9d22416d6f13e18c4680db9590e99379878c7fc6",
"sha512_sri": "sha512-x3XNZS6EvpMeV5Cd2l9/oEHWIEBoXq4wV+Kdg3XqKU9UtmxMg/yhShqHOlJVY+ZuDldvOZDILs2BQ3vnjz34QA=="
},
"filename": "boxy-constants-35.2.7.tgz"
}
]
}