MAL-2026-14235Malicious code in config-helper-kit (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | config-helper-kit | 1.3.2 |
{"modified":"2026-08-19T03:43:01Z","published":"2026-08-19T03:43:01Z","schema_version":"1.7.4","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","affected":[{"package":{"ecosystem":"npm","name":"config-helper-kit"},"versions":["1.3.2"],"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":"52f0e0867043e5bdee7b75188beca44929ccfdc656d42c09f76cea538d9d54d9","tlsh":"e8c1716546fa31a36a63e0edf30f10027165e313375de931f48e42902fca568e5f24e8"}],"package_integrity":[{"filename":"config-helper-kit-1.3.2.tgz","hashes":{"sha1":"99dea9c98a7bb33a99677518213a13fda34c0c53","sha512_sri":"sha512-1tddaTxn3F+j6EpjOd93MV4ht3hqc7Rk7eak9LxQtcB10LJ12fvtkHwslGLzMsYfFqQQeNrHsFPhq1CnxCGvaA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/config-helper-kit/v/1.3.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018335","import_time":"2026-08-19T03:49:30.861488997Z","modified_time":"2026-08-19T03:43:01Z","sha256":"1033a9895c7d1a1b4d2c3f671caa239bd40f3985ab71d096fd25fbb7c977ef71","source":"amazon-inspector","versions":["1.3.2"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0