{"id":"MAL-2026-14235","summary":"Malicious code in config-helper-kit (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1033a9895c7d1a1b4d2c3f671caa239bd40f3985ab71d096fd25fbb7c977ef71)\nconfig-helper-kit@1.3.2 exposes a default function getPlugin that issues an HTTPS request to a hardcoded bare-IP host (https://31.97.137.157:45000/icons/109) and passes the returned data.credits field into `new Function('require','module',...)`, executing attacker-controlled JavaScript in the caller's Node.js process with `require` and `module` injected. The file also ships an unused helper referencing legitimate CDN hostnames (cloudflare, fastly, akamai, cdnjs) and uses icon/logo/credits naming, while the actual network target is a bare IP unrelated to any CDN. The package's README advertises it as a TypeScript/Tailwind config helper; the remote-code-fetch-and-execute behavior is undocumented and unrelated to that purpose. Any consumer that imports and invokes the default export grants the operator of 31.97.137.157:45000 arbitrary code execution on the installer's host.\n","modified":"2026-08-19T04:00:16.957736232Z","published":"2026-08-19T03:43:01Z","database_specific":{"malicious-packages-origins":[{"sha256":"1033a9895c7d1a1b4d2c3f671caa239bd40f3985ab71d096fd25fbb7c977ef71","source":"amazon-inspector","versions":["1.3.2"],"id":"IN-MAL-2026-018335","import_time":"2026-08-19T03:49:30.861488997Z","modified_time":"2026-08-19T03:43:01Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/config-helper-kit/v/1.3.2"}],"affected":[{"package":{"name":"config-helper-kit","ecosystem":"npm","purl":"pkg:npm/config-helper-kit"},"versions":["1.3.2"],"database_specific":{"indicators":{"package_integrity":[{"filename":"config-helper-kit-1.3.2.tgz","hashes":{"sha512_sri":"sha512-1tddaTxn3F+j6EpjOd93MV4ht3hqc7Rk7eak9LxQtcB10LJ12fvtkHwslGLzMsYfFqQQeNrHsFPhq1CnxCGvaA==","sha1":"99dea9c98a7bb33a99677518213a13fda34c0c53"}}],"evidence_files":[{"tlsh":"e8c1716546fa31a36a63e0edf30f10027165e313375de931f48e42902fca568e5f24e8","path":"index.js","sha256":"52f0e0867043e5bdee7b75188beca44929ccfdc656d42c09f76cea538d9d54d9"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/config-helper-kit/MAL-2026-14235.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}]}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}