{"id":"MAL-2026-4649","summary":"Malicious code in promptbook-mcp (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1223e123a8bd5b550647d800b438b2c5a78f3e10c9d1ab7a6a7cdbd8be465b90)\ndist/api.js contains a hardcoded URL (https://promts.newtechcompany.ru) referenced alongside process.env reads and a fetch() call at line 44. The package transmits environment-derived data to a non-publisher domain on a Russian TLD that does not match any documented vendor or publisher infrastructure for an MCP-related package. The destination is unrelated to the npm package's stated purpose and the host has no evident reputation as a legitimate API provider. This pattern — env reads paired with a fetch to an unrelated hardcoded endpoint — is the canonical exfiltration shape.\n","modified":"2026-05-27T00:32:12.927169485Z","published":"2026-05-20T05:31:06Z","withdrawn":"2026-05-26T22:13:04Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-05-20T05:31:06Z","sha256":"1223e123a8bd5b550647d800b438b2c5a78f3e10c9d1ab7a6a7cdbd8be465b90","source":"amazon-inspector","versions":["0.1.0"],"id":"IN-MAL-2026-003470","import_time":"2026-05-26T05:50:42.24552037Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/promptbook-mcp/v/0.1.0"}],"affected":[{"package":{"name":"promptbook-mcp","ecosystem":"npm","purl":"pkg:npm/promptbook-mcp"},"versions":["0.1.0"],"database_specific":{"indicators":{"evidence_files":[{"tlsh":"bb91417a22f73511059bb4f9072fa0616968f40b3329c981ba5d9b806fe5038d4b3fec","path":"dist/api.js","sha256":"77c63c2128e7c016a5939e1a1987993d70695429c11188dd1ac2c30998f00ee6"}],"package_integrity":[{"filename":"promptbook-mcp-0.1.0.tgz","hashes":{"sha1":"a6ba2f8d6651ed09e9b5e94aa40a785cbf644c5f","sha512_sri":"sha512-bDgGT0RMQZaYks4yYFk+038CFfmGQ3fHsrSxwRPRo3cqoNgjPXU71d0ajsvCOhQmT837VZGXomyIJRU0rTA7MQ=="}}]},"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/withdrawn/npm/promptbook-mcp/MAL-2026-4649.json"}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"}]}