{"id":"MAL-2026-6493","summary":"Malicious code in prism-silq (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6bb3e8b0ded57991e21f137aac7c905348a83f6be7914c4da619c18d2acd280c)\nThe package ships a binding.gyp whose sources field uses GYP command-expansion syntax (\u003c!(...)) at line 6. npm implicitly runs node-gyp rebuild whenever a binding.gyp is present, even without a declared install/postinstall script, and GYP evaluates \u003c!(...) as a shell command during the configure step. This causes the embedded command to run automatically on every npm install, equivalent to a lifecycle hook executing attacker-controlled code on the installer's machine. This pattern abuses the native-addon build system to gain silent install-time code execution, and is not a legitimate native-extension build configuration.\n\n## Source: ghsa-malware (74ab07f46075a5eb20bc767057eff7449e06423dea9a627b050c07e732ae0f6b)\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-6hp6-2792-v6q5"],"modified":"2026-06-26T12:26:01.485898180Z","published":"2026-06-26T00:30:34Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-06-26T00:30:34Z","id":"IN-MAL-2026-007573","versions":["1.0.1"],"source":"amazon-inspector","sha256":"6bb3e8b0ded57991e21f137aac7c905348a83f6be7914c4da619c18d2acd280c","import_time":"2026-06-26T00:59:25.782780115Z"},{"modified_time":"2026-06-26T10:28:33Z","id":"GHSA-6hp6-2792-v6q5","import_time":"2026-06-26T11:15:44.757032946Z","source":"ghsa-malware","sha256":"74ab07f46075a5eb20bc767057eff7449e06423dea9a627b050c07e732ae0f6b","versions":["1.0.1"]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/prism-silq/v/1.0.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6hp6-2792-v6q5"}],"affected":[{"package":{"name":"prism-silq","ecosystem":"npm","purl":"pkg:npm/prism-silq"},"versions":["1.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/prism-silq/MAL-2026-6493.json","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"}],"indicators":{"package_integrity":[{"filename":"prism-silq-1.0.1.tgz","hashes":{"sha512_sri":"sha512-TLJ3jUT+zhvBjTT0vGKGO/pE1PywZd5+si3yTa5n0xUKQrmcpcFAGmHISBW7rcNiQ3NqYPs/CXy0i2Ud6RvQBg==","sha1":"c721c184dbb5c2dc23bacfd28571daef1decfac1"}}],"evidence_files":[{"tlsh":"48c08c3ca9380d1029d958285168d402a4b142a3494e2a81fade60284fa840b2898bad","sha256":"32d1bc728d8e504952083a6adc488c309a401c7df4dc8f47b382ce32e4aebe21","path":"binding.gyp"}]}}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}