# MAL-2026-13970: Malicious code in @hzero-front-ui/hzero-ui (npm)


- **Type:** Malicious package
- **Package:** `@hzero-front-ui/hzero-ui` (npm)
- **Published:** 13 Aug 2026

## What is MAL-2026-13970?

MAL-2026-13970 is a malicious package in @hzero-front-ui/hzero-ui, published on 13 Aug 2026. 

### Official description

Package @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.

## What should I do about MAL-2026-13970?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-13970 is a malicious package: @hzero-front-ui/hzero-ui (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-13970/ (Markdown: https://insights.sbomify.com/MAL-2026-13970/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-13970

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-13970/
Summaries are generated and may contain mistakes; the official description above is the record.
