Malicious package protection for AI agents

Known malware is blocked before your agent installs it. Brand-new packages, brand-new versions and names the registry has never heard of are flagged.

Download for MacFree for Claude Code

What gets blocked or flagged

Known malware
Block
A brand-new package
Warn
A brand-new version
Warn
A name the registry doesn't have
Warn

Warnings tell you if it runs an install script.

Works with

Packages named in the command:

  • npm
  • pnpm
  • yarn
  • bun
  • npx / bunx / pnpm dlx
  • pip
  • python -m pip
  • uv
  • cargo add / install
  • gem install

Installs from your own registry (--registry, --index-url) aren't looked up. RubyGems gets the malware check only.

Questions

Does it check my package.json?

No, only packages named in the install command, such as npm install zod or pip install requests.

What does the lookup send?

Only the package name, to OSV and the package's registry.

A package I trust is flagged.

Click Allow on its entry in Muzzle's Activity.

Put Muzzle between your agents and the internet

Download for Mac

Free · Apple Silicon · macOS 12 or later