MAL-2026-5485
Dashboard / Malicious Package / MAL-2026-5485
MAL-2026-5485
Summary: Malicious code in mcp-server-supabase (npm)
Details: Source: amazon-inspector (85ea87cccc1a60ceb3cf3efe3d5e9839ae5e2a53beaa024a66827f2cdc2504c8) Package squats the unscoped name `mcp-server-supabase` to intercept `npx mcp-server-supabase` invocations intended for the official scoped Supabase Model Context Protocol server. `package.json` declares `"postinstall": "node index.js"`, and `index.js` collects `os.hostname()`, `os.platform()`, `process.cwd()`, `npm_config_user_agent`, and Node.js version, then POSTs them to `https://npx-canary-log.vulnerable-live.workers.dev/log` (hardcoded at index.js:16). Every install or `npx` invocation silently transmits installer host identifiers to an attacker-controlled Cloudflare Workers endpoint, with no consent, opt-out, or documentation prior to install. The name-confusion attack ensures AI coding agents and developer tooling that invoke the unscoped name are routed to this code instead of the legitimate scoped package. Source: ghsa-malware (777f006be36c36dba6d0b18340a56abdf7e9a731870502d09e78d0e07ced1f53) 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.
References: https://www.npmjs.com/package/mcp-server-supabase/v/0.0.1, https://www.npmjs.com/package/mcp-server-supabase/v/0.0.2, https://github.com/advisories/GHSA-m633-5vq7-98qx
Affected packages
Package
Name: mcp-server-supabase
Purl: pkg:npm/mcp-server-supabase
Affected ranges
Type: SEMVER
Events:
