MAL-2026-12325Malicious code in @nextco/utils (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @nextco/utils | 5.0.0 |
{"modified":"2026-08-05T13:07:46Z","published":"2026-08-05T13:07:46Z","schema_version":"1.7.4","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","affected":[{"package":{"ecosystem":"npm","name":"@nextco/utils"},"versions":["5.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"3a33116853ea25a719b3c65e790f74466ce1a873cceefa33c8310ad22402a68f","tlsh":"261100d066f05a9006fbb685909758074392d4027807b4f0f6d403d42fcc97cb4f26e9"}],"package_integrity":[{"filename":"utils-5.0.0.tgz","hashes":{"sha1":"f02056aa962a980f827dcba734bb2a55b99659a7","sha512_sri":"sha512-CKA9GwpNCnDtzQP94X0046uciIQZ4LS1MQDZbbHt8cHLmuPPDCu4jpJb+oFIy9A8LL2pypYddrB7H3QAaMKnUQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@nextco/utils/v/5.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014893","import_time":"2026-08-05T13:08:53.430458834Z","modified_time":"2026-08-05T13:07:46Z","sha256":"2af3efee911b20157dcf0e84f2be91affddf4e34aac298e1959ea7090f08c4d2","source":"amazon-inspector","versions":["5.0.0"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0