{"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","modified":"2026-08-19T05:00:16.251276899Z","published":"2026-08-19T04:18:35Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-018358","import_time":"2026-08-19T04:47:46.668906438Z","modified_time":"2026-08-19T04:18:35Z","sha256":"8b427c73f093ad680033b2779c43c1c96186a71055aaff3cf44befd18c2cecbd"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ngsw-config/v/1.0.0"}],"affected":[{"package":{"name":"ngsw-config","ecosystem":"npm","purl":"pkg:npm/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":[{"hashes":{"sha512_sri":"sha512-13M7wRymqcgCF4Rlq5lA42bV/918Lftl3yGAobx62Ti3+QZWM0H9dfPaMdMkQQD/06v6zzDqPiYT7S1P7NpmNw==","sha1":"de64c270d10d2469481a89b998e3272ab2b72d1c"},"filename":"ngsw-config-1.0.0.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ngsw-config/MAL-2026-14251.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}