# MAL-2026-10104: Malicious code in px8my (npm)


- **Type:** Malicious package
- **Package:** `px8my` (npm)
- **Published:** 9 Jul 2026
- **Also known as:** GHSA-9869-r2r5-fff6

## What is MAL-2026-10104?

MAL-2026-10104 is a malicious package in px8my, published on 9 Jul 2026. 

### Official description

px8my's `main` entry is a browser-side script that injects a full-screen iframe pointing at a hardcoded remote URL (`https://mfmz.gzhrjq.cn/H.html?c=0gjr`). The tarball also ships `update_px8my.sh`, a maintainer helper that rewrites the redirect domain in `px.js`, bumps the patch version, runs `npm publish`, then calls the jsDelivr purge API — documenting an operational model in which the npm registry + jsDelivr CDN are used as a mutable redirect distribution channel with the destination domain rotated on demand. Installing this as an npm dependency does not directly harm the installer: there are no lifecycle scripts, and `require()`ing the module in Node would throw because it references `document`. The impact surface is downstream websites/end-users that load `px8my/px.js` via the jsDelivr CDN, which are redirected to the maintainer-controlled destination. The package has no library value; it exists to abuse npm namespace + jsDelivr as a redirector. Because the installer is not directly attacked but the package is clearly designed as an abuse vehicle, route to human review for a takedown decision.

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-10104?

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-10104 is a malicious package: px8my (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-10104/ (Markdown: https://insights.sbomify.com/MAL-2026-10104/index.md)
```

## Sources

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

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