# MAL-2026-6354: Malicious code in npm-bug-bounty-test1-rhyselsmore (npm)


- **Type:** Malicious package
- **Package:** `npm-bug-bounty-test1-rhyselsmore` (npm)
- **Published:** 23 Jun 2026

## What is MAL-2026-6354?

MAL-2026-6354 is a malicious package in npm-bug-bounty-test1-rhyselsmore, published on 23 Jun 2026. 

### Official description

package.json declares a dependency `foo` whose source URL is `https://3223567a82f3.ngrok.app/foo` — an ephemeral, anonymous ngrok tunnel with no version pin and no integrity hash. On `npm install`, npm fetches whatever tarball the tunnel currently serves and runs its lifecycle scripts (preinstall/install/postinstall) on the installer's machine. The tunnel operator can swap the served bytes at any time, so the package effectively delegates arbitrary code execution at install time to whoever controls the ngrok endpoint. The package itself has no functional surface: the declared `main: index.js` is absent from the tarball (which contains only a `foo` text file and `package.json`), so the only observable effect of installing it is the dependency-resolution fetch from the attacker-controlled tunnel. Package naming suggests this may be a bug-bounty proof of concept, but the install-time mechanism is identical to a real dropper.

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

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-6354 is a malicious package: npm-bug-bounty-test1-rhyselsmore (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-6354/ (Markdown: https://insights.sbomify.com/MAL-2026-6354/index.md)
```

## Sources

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

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