{"id":"MAL-2026-13970","revision":"c6513409c5b64158b0f939a5891cde91","records":[{"revision":"c6513409c5b64158b0f939a5891cde91","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13970","aliases":[],"title":"Malicious code in @hzero-front-ui/hzero-ui (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a1b33c04eb2fb12d521b76353993517475d9239c9790c085d16c0c3d0a4ba2f9)\nPackage @hzero-front-ui/hzero-ui@99.99.99 is a scope-lookalike of @hzero-front/hzero-ui with a placeholder version, empty author, generic description, and a trivial index.js. Its package.json preinstall and install lifecycle scripts base64-encode $(whoami):$(hostname):$(pwd):$npm_package_name and send the encoded value to attacker-controlled subdomains of callback.m0chan.co.uk over both HTTPS (curl) and DNS (nslookup). This fires automatically on `npm install`, leaking the installer's OS username, hostname, current working directory, and the internal package name that resolved to this lure — the canonical dependency-confusion beacon shape.\n","state":0,"publishedAt":"2026-08-13T21:06:51+00:00","modifiedAt":"2026-08-13T21:30:25.9576447+00:00","affected":[{"ecosystem":"npm","name":"@hzero-front-ui/hzero-ui","ranges":[],"versions":["99.99.99"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@hzero-front-ui/hzero-ui/v/99.99.99"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13970","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13970","identifiers":["MAL-2026-13970"]},"retained":false,"historicalAffected":[]}],"coverage":[]}