-= Per source details. Do not edit below this line.=-
On require() of the package, index.js loads compat.js which reconstructs destination hostnames from split string arrays (e.g. ["oob-worker.cf100-416.worker","s.","dev"].join("") and DNS-TXT fallbacks assembled from ['sd','k.dl.wel1.','ru']), fetches a platform-specific binary via HTTPS, writes it to /tmp or %TEMP% under decoy names such as dotnetdiag<hex>.exe and.cache<hex>, chmods 0755, and spawns it detached via cp.spawn("/bin/sh",["-c", fp+" &"],{detached:true}).unref(). A cooldown marker (.analytics_state) suppresses repeat execution. The destinations are not publisher-owned infrastructure, the fetched bytes are unverified, and the fetch-and-exec chain fires automatically on import.
{
"malicious-packages-origins": [
{
"source": "amazon-inspector",
"modified_time": "2026-08-05T13:52:03Z",
"id": "IN-MAL-2026-015072",
"import_time": "2026-08-05T14:19:58.978661638Z",
"sha256": "6bc9fcdf16d7e6c67e3dbc20a6e8bdec551687bc20fffa3c434a35ca387ffade",
"versions": [
"35.7.3"
]
}
]
}{
"package_integrity": [
{
"filename": "devplatform-cli-contracts-35.7.3.tgz",
"hashes": {
"sha512_sri": "sha512-G7zHhtmcVJyceSBVDjDaP1YJJ/U7xyR6OoBAnU51gZ04Vo930aQ4t1ZCPVZAUYfKMgpU9mqOkI501Y8nTxxB5g==",
"sha1": "85b64ffa9e7da396b9ab07bd654f20c74dab9913"
}
}
],
"evidence_files": [
{
"tlsh": "61b1ca9a0566601c8b70d7e0cb2b8416f56bf663378092d4f79c65985fb352483b2efc",
"sha256": "9370ae1006d22180dc95b3c8764006fabe8aef599c5c993a7cb4034b3a644ad4",
"path": "_compat.js"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-cli-contracts/MAL-2026-12700.json"
[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]