{"id":"MAL-2026-10390","summary":"Malicious code in timmytuffknuckles9 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (342d7a44db99769023685647376a6042d5a9b345c281826484c9d88561f245ca)\nPackage is not a Node library — `package.json` declares `main: sw.js`, a browser Service Worker whose first line calls `importScripts('./8cfc2/hgshm.js')`. `importScripts` is undefined in Node, so `require('timmytuffknuckles9')` throws immediately. No `preinstall`, `install`, `postinstall`, or `prepare` lifecycle scripts are declared, so `npm install` does not execute any package code. The tarball contains a bundled web app (a Lucide-style web proxy/unblocker) with heavily obfuscated JS assets and a popup ad redirect to `abdct.com`, but those run only inside a browser that loads the Service Worker — not on the developer's machine. Separately, the tarball ships `auto-publish.sh`, a helper that rewrites `package.json.name` in a loop to `timmytuffknuckles1` through `timmytuffknuckles10` and runs `npm publish` for each, evidence that the publisher is using npm as a hosting/CDN-style namespace and mass-publishing near-duplicate package names. This script is not wired to any lifecycle hook and does not run on install. Routing to human review for registry-hygiene assessment (off-purpose use of npm + namespace spam + heavily obfuscated bundled assets) rather than installer-harm.\n\n## Source: ghsa-malware (494c159c67f9b2488892ee0098bf3e008466c212b13b48e132afa7e0ab6b8045)\nAny 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.\n","aliases":["GHSA-mhfr-47mf-9gv9"],"modified":"2026-07-14T07:19:18.556501596Z","published":"2026-07-13T06:27:40Z","database_specific":{"malicious-packages-origins":[{"sha256":"494c159c67f9b2488892ee0098bf3e008466c212b13b48e132afa7e0ab6b8045","import_time":"2026-07-13T07:24:22.611016662Z","id":"GHSA-mhfr-47mf-9gv9","modified_time":"2026-07-13T06:27:40Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"source":"ghsa-malware"},{"versions":["1.1.7"],"source":"amazon-inspector","sha256":"342d7a44db99769023685647376a6042d5a9b345c281826484c9d88561f245ca","import_time":"2026-07-13T10:37:39.572248184Z","id":"IN-MAL-2026-010229","modified_time":"2026-07-13T09:25:53Z"},{"modified_time":"2026-07-14T05:52:56Z","versions":["2.0.0"],"source":"amazon-inspector","sha256":"5f861abaeb3d3e0e80393b204df18ccf312d399a1a5a81156f254065abcc9bed","import_time":"2026-07-14T06:49:55.355100213Z","id":"IN-MAL-2026-010445"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-mhfr-47mf-9gv9"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/timmytuffknuckles9/v/1.1.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/timmytuffknuckles9/v/2.0.0"}],"affected":[{"package":{"name":"timmytuffknuckles9","ecosystem":"npm","purl":"pkg:npm/timmytuffknuckles9"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.1.7","2.0.0"],"database_specific":{"indicators":{"evidence_files":[{"sha256":"ceba53d331844fef6633a0fc4dba47135a076c0ddb39217cdec26ae16f042a28","tlsh":"8b2102acf6dd48913f7f04fa989b0494330e830f147a2e14708752716b883b99adb4ec","path":"auto-publish.sh"},{"path":"sw.js","sha256":"bb00271669f18ad7ee9e0b7d2db0a8285e4a0cd1431676839878d4eb93619d12","tlsh":"98f1629878f611f1425741acc75b6624303be097398bc896bfbc8f102f8639989e37d9"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/timmytuffknuckles9/MAL-2026-10390.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"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."}]}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}