MAL-2026-14251Malicious code in ngsw-config (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | ngsw-config | 1.0.0 |
{"modified":"2026-08-19T04:18:35Z","published":"2026-08-19T04:18:35Z","schema_version":"1.7.4","id":"MAL-2026-14251","summary":"Malicious code in ngsw-config (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8b427c73f093ad680033b2779c43c1c96186a71055aaff3cf44befd18c2cecbd)\nThe package's postinstall lifecycle script collects installer host identifiers (hostname, platform, architecture, Node version, package/lifecycle name, timestamp) and POSTs them as JSON to the hardcoded endpoint https://wxc97jnc.instances.poc.jchunt.top/ngsw-config on npm install, with no consent, documentation, or opt-out. The package name shadows Angular's legitimate ngsw-config tooling, matching a dependency-confusion canary pattern in which internal build systems that misresolve the name automatically report identifying metadata to the operator of the poc.jchunt.top host.\n","affected":[{"package":{"ecosystem":"npm","name":"ngsw-config"},"versions":["1.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":"postinstall.js","sha256":"5cdc12e39b2025f3bed9324c6b333344ade6b74998da1c21a9d2e5705957f731","tlsh":"070123d1d2b55a7667b8928068f06f0693bbf323370220b67ac414e93f8e1f900311ac"}],"package_integrity":[{"filename":"ngsw-config-1.0.0.tgz","hashes":{"sha1":"de64c270d10d2469481a89b998e3272ab2b72d1c","sha512_sri":"sha512-13M7wRymqcgCF4Rlq5lA42bV/918Lftl3yGAobx62Ti3+QZWM0H9dfPaMdMkQQD/06v6zzDqPiYT7S1P7NpmNw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ngsw-config/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018358","import_time":"2026-08-19T04:47:46.668906438Z","modified_time":"2026-08-19T04:18:35Z","sha256":"8b427c73f093ad680033b2779c43c1c96186a71055aaff3cf44befd18c2cecbd","source":"amazon-inspector","versions":["1.0.0"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0