# How Calyban checks MCP launch packages against known malware

> Most MCP servers start with npx or uvx, which downloads and runs a package. How Calyban checks those packages against OpenSSF data, and how it avoids false alarms.

Published by Calyban (https://calyban.com/blog/malicious-npm-packages-mcp), 2026-11-22.

Most local MCP servers start with a line like `npx -y some-mcp-server`. That downloads a package from npm and runs it with your user's permissions, every time the agent starts. If the package is malicious, nothing in the agent will tell you.

Calyban 1.3 checks that package against a list of known malicious ones before installing, and again whenever you open the **Safety** page. This post covers where the list comes from, what it counts, and how it stays accurate.

## Where does the list come from?

From [OpenSSF Malicious Packages](https://github.com/ossf/malicious-packages), an open database of npm and PyPI packages confirmed malicious, fed by GitHub, Google, Amazon and other security teams. Calyban's catalog build reads it every 6 hours and publishes [`threats.json`](https://nemesisllc.github.io/calyban-catalog/threats.json). The app downloads it with an ETag check, so it only fetches the file again when the data changed. If OpenSSF is unreachable, the build keeps the last published list rather than shipping a smaller one.

## What's on it?

On 22 November 2026:

- **221,990 npm and 11,992 PyPI packages** that are malicious in every version: typosquats, fake SDKs, packages published to steal credentials.
- **2,418 real packages** with specific hijacked releases. These are legitimate projects where an attacker got publish access, often through a worm like Shai-Hulud, and pushed a few bad versions.
- **163 of the npm names contain "mcp"** (129 malicious in every version, 34 hijacked). That's a text match, so some have nothing to do with the Model Context Protocol.

## Why two kinds of entry?

Because flagging a hijacked package by name gets it wrong. The Shai-Hulud supply-chain campaign pushed bad versions of hundreds of real npm packages, including two releases of `@antv/mcp-server-chart` (0.10.10 and 0.11.10). `@browserbasehq/mcp-server-browserbase` has one reported bad release, 2.4.2. Every other version of both is fine. If Calyban flagged those names outright, it would call popular, legitimate servers malware.

That's exactly what our first version did. Before release, we ran every MCP launch in the catalog against the list: the name-only version flagged two of 799, **Browserbase and AntV Chart**, both pinned to clean releases. The fix reads each OpenSSF report and sorts it:

- A package reported as malicious outright goes on the name list. Any version is flagged.
- A package reported as compromised, with the affected versions listed, goes on the version list. Only a launch pinned to one of those versions is flagged. An unpinned launch gets a note naming the bad versions, because it runs whatever is newest.

The rerun flagged none of the 799. Typosquats like `lodahs` (one swapped pair of letters from `lodash`) are still flagged in every version.

## What happens when one matches?

The install stops with a high-risk finding that names the package and the source (OpenSSF). **Install anyway** still works, because data can be wrong and the decision stays with you. Lookalike names, one typo away from a popular package, are flagged the same way even when they aren't on the list yet.

## How do I check a package by hand?

Find the launch line in the agent's config (`command` and `args`), take the package name and version, and look it up in the [OpenSSF repo](https://github.com/ossf/malicious-packages) and the package's npm or PyPI page. Pin a version in the launch line (`some-mcp-server@1.2.3`) so a hijacked release can't arrive later without you choosing it. Catalog items in Calyban are pinned this way.

## How the layers fit together

The known-malware list holds every package on the OpenSSF list and refreshes every 6 hours. For packages too new to be reported, the pattern checks and the lookalike check look at what the package is called and how it starts. Three layers, each covering the others. More on the whole check: [Safety check](/features/safety) and [what's new in the safety check in 1.3](/blog/calyban-safety-check-1-3). Think a package is flagged by mistake? Post the catalog id and version in [Discord](https://discord.gg/pHDNtgYvWn).
