# MAL-2026-16062: Malicious code in @yongot/canary-mcp-test (npm)


- **Type:** Malicious package
- **Package:** `@yongot/canary-mcp-test` (npm)
- **Published:** 9 Sep 2026

## What is MAL-2026-16062?

MAL-2026-16062 is a malicious package in @yongot/canary-mcp-test, published on 9 Sep 2026. 

### Official description

Package @yongot/canary-mcp-test@2.0.0 ships beacon.js which runs `execSync('id')`, reads `os.hostname()`, and issues an HTTPS GET to a hardcoded webhook.site collector (https://webhook.site/b76376f8-118e-44f1-a5ee-8a73f55b137b) with stage, host, and id_output query parameters. The package.json postinstall hook invokes `node beacon.js postinstall`, so the beacon fires automatically on `npm install`. index.js (the package main) also requires beacon.js twice at load time, so any consumer that imports the package re-triggers the same exfiltration of the installer's Unix uid/gid/groups and hostname to the third-party webhook collector.

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

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-16062 is a malicious package: @yongot/canary-mcp-test (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-16062/ (Markdown: https://insights.sbomify.com/MAL-2026-16062/index.md)
```

## Sources

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

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