{"id":"MAL-2026-13467","summary":"Malicious code in wos-library-ui (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3124274f6fcb74cf0805b5545f6952214b90329427f55c616c868f760d592e63)\nwos-library-ui@99.0.0 declares scripts.preinstall = 'node poc.js', which auto-runs on npm install. poc.js reads os.hostname(), os.userInfo().username, and process.cwd() and transmits them to the hardcoded Interactsh subdomain csytkgaubytabdgcvgljmgf8o1uj876pg.oast.fun via both a DNS A-record lookup (encoding host/user in the subdomain) and an http.request POST. The package name and inflated 99.0.0 version match the classic dependency-confusion shape targeting an internal 'wos-library-ui' package (self-described as an Inditex WOS PoC): any resolver that prefers the public npm registry will pull this artifact instead of the internal one and execute the beacon, disclosing internal host identifiers and build-path details to a third-party out-of-band collector. Self-labeling as a bug-bounty PoC does not alter the installer-side effect: unconsented install-time exfiltration of installer identity from a namesquatted package on the public registry.\n","modified":"2026-08-06T23:50:28.050970617Z","published":"2026-08-06T16:21:22Z","database_specific":{"malicious-packages-origins":[{"sha256":"3124274f6fcb74cf0805b5545f6952214b90329427f55c616c868f760d592e63","source":"amazon-inspector","versions":["99.0.0"],"id":"IN-MAL-2026-016678","import_time":"2026-08-06T18:09:04.855031203Z","modified_time":"2026-08-06T16:21:22Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/wos-library-ui/v/99.0.0"}],"affected":[{"package":{"name":"wos-library-ui","ecosystem":"npm","purl":"pkg:npm/wos-library-ui"},"versions":["99.0.0"],"database_specific":{"indicators":{"package_integrity":[{"hashes":{"sha1":"fbeb5855cdf1d910d1daf745d056638d9fbf97ce","sha512_sri":"sha512-rgdWNCnARPKVfD18zqRAqV6txQZr/sq0AAtwzx1dq6uR4B4uxsDv5a4sjjjVnKTdGpFL1jx1pxX4U8nMggbVRQ=="},"filename":"wos-library-ui-99.0.0.tgz"}],"evidence_files":[{"path":"poc.js","sha256":"78e3023649063953bc68371416498825ae5fe15c44b4618d49de232d203013d0","tlsh":"7471b6eb41d8557239f2a5c620ba14575117d766761afbf1b48c030f0f86ae88232af7"},{"sha256":"3cfaf8e0204f8e1c6109e197c5f20c4c4c12841154ce6321795cbe0b16950429","tlsh":"e701cba19650a0331af002e50c74a25a2822cd3fc50bac5e7b99011cd24f9fa427a25f","path":"package.json"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/wos-library-ui/MAL-2026-13467.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}]}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}