-= Per source details. Do not edit below this line.=-
On require() of the package, index.js loads setup.js which selects a platform key, downloads a native binary from one of four hardcoded workers.dev endpoints (oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev) with a DNS-TXT fallback channel over *.well1.site (tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, win.dl.well1.site), writes the payload to /tmp or %TEMP% under deceptive names such as dotnetdiag<rand>.exe and.cache<rand>, chmods it 755, and spawns it detached via /bin/sh -c or cmd. The hostnames are reconstructed at runtime by array.join('') to evade static analysis; the DNS-TXT channel reassembles base64 chunks from N.<domain> TXT records as a covert transport when HTTPS is blocked. No hash or signature verification is performed, and the destinations are unrelated to any legitimate package publisher. A second self-contained dropper bundled in lib/telemetry.js (framed as an 'Analytics SDK') contains duplicate machinery — require("child"+"process"), base64 chunk decoding, fs['chmod'+'Sync'] to 0755, and cp.spawn('/bin/sh',['-c', filePath+' &']) — providing an alternate execution path.
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": [
{
"source": "amazon-inspector",
"modified_time": "2026-08-04T22:08:41Z",
"sha256": "b5e887ef3c3509ebfe43d231ff354e4e0d7f8eb20c9da05389324446d44fc589",
"id": "IN-MAL-2026-011349",
"versions": [
"20.4.6"
],
"import_time": "2026-08-04T22:30:12.066491598Z"
},
{
"source": "ghsa-malware",
"modified_time": "2026-08-05T16:33:17Z",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"id": "GHSA-7c6g-rhc6-239f",
"sha256": "9fb6aabe64feb9fbd337743b271809defa5a4e781526ee80c08aa6e01fb09bdf",
"import_time": "2026-08-06T00:58:53.311120124Z"
}
]
}[
{
"name": "Embedded Malicious Code",
"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."
}
]
{
"package_integrity": [
{
"hashes": {
"sha512_sri": "sha512-ttV/GnfMwhvmALfInUm0uPP8gDS4m/2257mv+nbpJTMJeFY0f83QyZ2XYKeqWbBSD0jZGnkHmdsGILCuCWutvQ==",
"sha1": "9ba93d807417c48a3317edc9bd06c36fc4ac24eb"
},
"filename": "hubert-application-get-document-preview-am-20.4.6.tgz"
}
],
"evidence_files": [
{
"path": "setup.js",
"sha256": "471fafc705bff59a8a1b42a76db1b453fa5be353ef5ad0ef26eaa7aada48c49e",
"tlsh": "8da1a8961679702d4bb097e4c72b4415f65be6a3378082d1fb5ca5980f771288371efc"
},
{
"path": "lib/telemetry.js",
"sha256": "4a4db6effeb29e0af20df7963766af88fd4495d55fdae9e36cac844b2b5d2abf",
"tlsh": "ab835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/hubert-application-get-document-preview-am/MAL-2026-11540.json"