{"id":"MAL-2026-12325","summary":"Malicious code in @nextco/utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2af3efee911b20157dcf0e84f2be91affddf4e34aac298e1959ea7090f08c4d2)\nOn require(), index.js unconditionally calls a telemetry() function at module top level that collects host reconnaissance (hostname, username, __dirname, cwd, OS/arch, Node version) and the list of environment variable names, base64-encodes the payload, and POSTs it over plain HTTP to the hardcoded host attacker.cl. The destination is not associated with the package's stated publisher (@nextco/utils / nextco.me) and the caller has no opt-out. The behavior fires simply by loading the module, giving an attacker installer host identifiers and an env-var name inventory usable to target follow-on credential theft.\n","modified":"2026-08-05T13:35:12.250585558Z","published":"2026-08-05T13:07:46Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-08-05T13:07:46Z","sha256":"2af3efee911b20157dcf0e84f2be91affddf4e34aac298e1959ea7090f08c4d2","source":"amazon-inspector","versions":["5.0.0"],"id":"IN-MAL-2026-014893","import_time":"2026-08-05T13:08:53.430458834Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@nextco/utils/v/5.0.0"}],"affected":[{"package":{"name":"@nextco/utils","ecosystem":"npm","purl":"pkg:npm/%40nextco/utils"},"versions":["5.0.0"],"database_specific":{"indicators":{"evidence_files":[{"tlsh":"261100d066f05a9006fbb685909758074392d4027807b4f0f6d403d42fcc97cb4f26e9","path":"index.js","sha256":"3a33116853ea25a719b3c65e790f74466ce1a873cceefa33c8310ad22402a68f"}],"package_integrity":[{"filename":"utils-5.0.0.tgz","hashes":{"sha512_sri":"sha512-CKA9GwpNCnDtzQP94X0046uciIQZ4LS1MQDZbbHt8cHLmuPPDCu4jpJb+oFIy9A8LL2pypYddrB7H3QAaMKnUQ==","sha1":"f02056aa962a980f827dcba734bb2a55b99659a7"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@nextco/utils/MAL-2026-12325.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}]}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}