{"id":"MAL-2026-13402","summary":"Malicious code in jagproject (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2fc5aa3a28b53c63f65ab724aebe774c23f737686f5db7411bfa871fa4f7eced)\nlib/Socket/messages-send.js contains network destinations reconstructed via String.fromCharCode(...) arrays that decode to https://fiora.nixel.my.id/. The host is assembled from decimal char codes rather than appearing as a plain string literal, which is a deliberate obfuscation pattern used to hide exfiltration or covert-callback endpoints from casual review. The file is part of the WhatsApp/Baileys socket message-send path, where such hidden destinations are consistent with covert use of the caller's session (exfiltrating message/session data or performing actions with the installer's authenticated identity) rather than any documented library behavior. The package is a fork of a legitimate messaging library and no documented purpose justifies a char-code-hidden third-party host inside the message-send pipeline.\n","modified":"2026-08-08T01:04:59.817676859Z","published":"2026-08-06T12:24:26Z","database_specific":{"malicious-packages-origins":[{"sha256":"0d8c56a51a256d7e55c64c71b51b0559ca53c6624e2b225264b13a5061105947","source":"amazon-inspector","versions":["28.1.0"],"id":"IN-MAL-2026-016052","import_time":"2026-08-06T13:08:42.588455282Z","modified_time":"2026-08-06T12:24:34Z"},{"sha256":"94042d7483f1c99379cc4befbb3b56f08c75caf9f5f9fd04fa3cfe51ef5edd50","source":"amazon-inspector","versions":["28.3.0"],"id":"IN-MAL-2026-016053","import_time":"2026-08-06T13:08:42.724741367Z","modified_time":"2026-08-06T12:24:42Z"},{"sha256":"5b9e8e7f59a1e5717aee5efd7eb7414cc68c1d87e63fdb0b487e5dfede0b6ee5","source":"amazon-inspector","versions":["28.2.0"],"id":"IN-MAL-2026-016051","import_time":"2026-08-06T13:08:42.471780881Z","modified_time":"2026-08-06T12:24:26Z"},{"id":"IN-MAL-2026-017198","import_time":"2026-08-08T00:53:10.106178821Z","modified_time":"2026-08-08T00:52:17Z","sha256":"2fc5aa3a28b53c63f65ab724aebe774c23f737686f5db7411bfa871fa4f7eced","source":"amazon-inspector","versions":["28.7.0"]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/jagproject/v/28.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/jagproject/v/28.3.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/jagproject/v/28.2.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/jagproject/v/28.7.0"}],"affected":[{"package":{"name":"jagproject","ecosystem":"npm","purl":"pkg:npm/jagproject"},"versions":["28.1.0","28.3.0","28.2.0","28.7.0"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"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":"f35cda827ef79b067a1ac29aa4b2b8e8d1b579dbb7eb97ca5ce727cca0107e32","tlsh":"0763926508fb192a4623b0b57e6bb401b134d0077148ec69ff8c86e85f8a464e6f7bdd","path":"lib/Socket/messages-send.js"},{"path":"scripts/update-wa-version.cjs","sha256":"371eecb92bcb777e8e0ef60057a0c0aff26588a422a573c1e469802ba4f75722","tlsh":"1c41049e05f061368753cacd99079c4af73bd323311969b5f65c4d951f43528c7238d9"}],"package_integrity":[{"filename":"jagproject-28.1.0.tgz","hashes":{"sha1":"8e48d246e92c4095c6ef2c396a824173b05e0db2","sha512_sri":"sha512-EQEDC8/yV1McVHEPGo3gMJPry8sCcQdRlwCRVdoh7kYE8ZyPi5snBYNNb1QF1B/00/uhj3jJaHs6qVGzKgNIVQ=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/jagproject/MAL-2026-13402.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}