{"id":"MAL-2026-6335","summary":"Malicious code in server-parket (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5a06d1b04d930608a5d15999711be4158b61d96a0f9c0c63353b3b25cd302c86)\npackage.json declares `postinstall: node test.js`, but test.js is not present in the tarball — installation fails with MODULE_NOT_FOUND and no code executes against the installer. The shipped index.js is a one-line stub containing a broken `console(...)` call (no real functionality). Despite the placeholder content, the package declares axios, form-data, child_process, and os as dependencies — building blocks commonly used for exfiltration scripts — and ships with empty author/description metadata and a 'trial version' message. The current published version causes no installer harm because the referenced payload script is missing, but the shape (stub package + suspicious dep set + lifecycle hook pointing at an unshipped script) is consistent with a placeholder release that could be weaponized in a follow-up version. Routing for human review of maintainer identity and registry context.\n\n## Source: ghsa-malware (9e771f79bc648994a4dc1e8bf9195230f1b6934984bcdb712269fe4c32a039ec)\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-mvmx-6c22-q3fm"],"modified":"2026-07-09T23:02:03.585753182Z","published":"2026-06-23T15:32:53Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-06-23T15:33:04Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"source":"ghsa-malware","sha256":"9e771f79bc648994a4dc1e8bf9195230f1b6934984bcdb712269fe4c32a039ec","import_time":"2026-06-23T17:03:25.710301584Z","id":"GHSA-mvmx-6c22-q3fm"},{"modified_time":"2026-07-08T20:28:26Z","versions":["3.9.1"],"source":"amazon-inspector","sha256":"29b24281a34d48030825d0c97a48b74992834ac18676aa7d5e3d1f420514f7a4","import_time":"2026-07-08T20:32:43.910567164Z","id":"IN-MAL-2026-008557"},{"source":"amazon-inspector","sha256":"5a06d1b04d930608a5d15999711be4158b61d96a0f9c0c63353b3b25cd302c86","import_time":"2026-07-09T22:02:33.53867216Z","id":"IN-MAL-2026-009459","modified_time":"2026-07-09T21:58:50Z","versions":["4.0.1"]},{"import_time":"2026-07-09T22:02:32.927814011Z","id":"IN-MAL-2026-009451","modified_time":"2026-07-09T21:57:45Z","versions":["0.1.0"],"source":"amazon-inspector","sha256":"ab7cb05c278e07ccd4d60ace23ebc98d3f676b78f978d7016f1a3eb5b7e4246a"},{"modified_time":"2026-07-09T21:58:57Z","versions":["3.8.1"],"source":"amazon-inspector","sha256":"b0137b2971f152ef80fee25307e44bc01fd4dd5bb72db65ea30954d490bd3d1c","import_time":"2026-07-09T22:02:33.634840039Z","id":"IN-MAL-2026-009460"},{"id":"IN-MAL-2026-009497","modified_time":"2026-07-09T22:04:02Z","versions":["3.9.2"],"source":"amazon-inspector","sha256":"c967772277a849d6288bbe51fc50316e8d759cf715e4c2231e92ff62aa8f6a3d","import_time":"2026-07-09T22:56:28.382250309Z"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-mvmx-6c22-q3fm"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/server-parket/v/3.9.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/server-parket/v/4.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/server-parket/v/0.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/server-parket/v/3.8.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/server-parket/v/3.9.2"}],"affected":[{"package":{"name":"server-parket","ecosystem":"npm","purl":"pkg:npm/server-parket"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["3.9.1","4.0.1","0.1.0","3.8.1","3.9.2"],"database_specific":{"cwes":[{"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"},{"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":[{"path":"package.json","sha256":"c42244a8be01d3cdbd326ff74db8977bbf4d268ff4270e25bcca5592f47f7a35","tlsh":"46f06d2bca689e6328f575a928780617f691932f0104880f36bd6b5c4fb75374486f2e"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/server-parket/MAL-2026-6335.json"}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}