{"id":"MAL-2026-15597","summary":"Malicious code in npx-oob-package (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6302c47700c024cb727f6139b5cd8703da7c295555525ce9624c12b536f76dde)\nnpx-oob-package ships bin/cli.js which is also declared as the package main. On both CLI invocation and any require()/import of the package, the module collects local identifiers (whoami / os.userInfo(), os.hostname(), os.platform()) along with the package name and POSTs them via fetch() to a hardcoded Cloudflare Workers endpoint at https://oobme.kunalsharma0553.workers.dev/r/7bq6fz3l15r9. The callback destination is not configurable and there is no user consent or opt-out. The package presents as an out-of-band (OOB) beacon consistent with dependency-confusion or pentest-style reconnaissance, causing installer host and user identifiers to leave the machine to an author-controlled endpoint on install-triggered require or CLI use.\n\n## Source: ghsa-malware (91892d4829cba04960ed5556eb31d1430bc85daa91bd6f01283b40faadba9c63)\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\n## Source: ossf-package-analysis (97f657a8f0fdcb9bebaa6ad7caf2775f059ee15fd9e721d1ca66e5bd239ba42c)\nThe OpenSSF Package Analysis project identified 'npx-oob-package' @ 1.0.2 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n\n- The package executes one or more commands associated with malicious behavior.\n","aliases":["GHSA-95gx-59fv-gfg6"],"modified":"2026-09-04T06:45:09.663049899Z","published":"2026-08-29T20:55:31Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-08-29T20:55:31Z","sha256":"97f657a8f0fdcb9bebaa6ad7caf2775f059ee15fd9e721d1ca66e5bd239ba42c","source":"ossf-package-analysis","versions":["1.0.2"],"import_time":"2026-08-30T23:14:56.02632165Z"},{"sha256":"6302c47700c024cb727f6139b5cd8703da7c295555525ce9624c12b536f76dde","source":"amazon-inspector","versions":["1.0.2"],"id":"IN-MAL-2026-019180","import_time":"2026-08-31T17:16:14.830257581Z","modified_time":"2026-08-31T16:50:00Z"},{"id":"GHSA-95gx-59fv-gfg6","import_time":"2026-09-03T05:28:34.693134Z","modified_time":"2026-09-01T22:42:23Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"sha256":"91892d4829cba04960ed5556eb31d1430bc85daa91bd6f01283b40faadba9c63","source":"ghsa-malware"},{"source":"amazon-inspector","versions":["1.0.1"],"id":"IN-MAL-2026-019398","import_time":"2026-09-04T00:45:55.780108723Z","modified_time":"2026-09-03T23:52:10Z","sha256":"38d20d84f48ed301725ceaab2934af02ed7a03b3eb79d330cb150e71115c8be7"},{"modified_time":"2026-09-04T05:57:15Z","sha256":"bd94dd8ab4f70c5d33fd014ab5d84d702bcf29223bf6ef2f353418815870e590","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-019502","import_time":"2026-09-04T06:30:27.738386731Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/npx-oob-package/v/1.0.2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-95gx-59fv-gfg6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/npx-oob-package/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/npx-oob-package/v/1.0.0"}],"affected":[{"package":{"name":"npx-oob-package","ecosystem":"npm","purl":"pkg:npm/npx-oob-package"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.2","1.0.1","1.0.0"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"},{"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"sha256":"7bb9e78369c5381ad92a3997176d860469dcbd35fef2d80123dadf978eb15649","tlsh":"94112dea50f553b0bfa22c944d2f50003297c7673c09fcc0faac0359af4ea5c41325a8","path":"bin/cli.js"}],"package_integrity":[{"filename":"npx-oob-package-1.0.2.tgz","hashes":{"sha1":"ceaaec896c8d6d6fd127924c663c3b9471a6e8f4","sha512_sri":"sha512-cghOwTB4BCaDNQULMo+/8k0Z60bclNk/GgUcq1J1J7u+8BvfL08ohlhGjc1WzJbTd1HrfJNRFiELl7BTGM/UTw=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/npx-oob-package/MAL-2026-15597.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}