# MAL-2026-10648: Malicious code in @hkyyy/portal-widget-helper-0601 (npm)


- **Type:** Malicious package
- **Package:** `@hkyyy/portal-widget-helper-0601` (npm)
- **Published:** 15 Jul 2026
- **Also known as:** GHSA-wgx8-6mv9-p6jm

## What is MAL-2026-10648?

MAL-2026-10648 is a malicious package in @hkyyy/portal-widget-helper-0601, published on 15 Jul 2026. 

### Official description

The package has no real functionality — index.js only exports `{ ok: true }` — and its sole effect is to run a postinstall reconnaissance script. package.json declares `scripts.install` -> `node postinstall.js`, which on `npm install` executes `whoami`, `id`, `hostname`, captures cwd and Node version, and prints a `PROOF_BEGIN`/`PROOF_END` block to stderr. postinstall.js also contains a fully-formed exfiltration path that issues `curl -fsS "${url}" || wget -qO- "${url}"` and a `dns.lookup(sub,...)` call against a `DNSLOG_URL` constant. The URL is currently the placeholder string `'CHANGE_ME_DNSLOG_URL'`, so the network beacon is gated off in this published version, but the host-recon commands fire unconditionally and the exfil channel is one literal-string edit away from active. The package name `@hkyyy/portal-widget-helper-0601` (date-suffixed variant of an apparent internal package name) plus the trivial body match the standard dependency-confusion PoC shape: the package exists to be picked up by mistaken namespace/version resolution and to fingerprint the installer's host.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

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

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-10648 is a malicious package: @hkyyy/portal-widget-helper-0601 (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-10648/ (Markdown: https://insights.sbomify.com/MAL-2026-10648/index.md)
```

## Sources

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

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