Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By koda-ai-studiov0.115.5Apache-2.0In 1 marketplace
Stops Claude from installing known-malicious or typosquatted npm and PyPI packages before the command runs. The hook runs before every Bash call and sends package names and pinned versions to api.osv.dev unless osv_lookup is turned off.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
On a malicious or typosquat matchon_match
block stops the install and tells Claude why; warn lets it run and shows the finding.
One of block, warn
stringdefault block
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Look up packages on OSVosv_lookup
Send the package name, ecosystem and version (nothing else) to api.osv.dev. Off keeps every check offline.
booleandefault true
A Claude Code plugin with one PreToolUse hook on the Bash tool. Before Claude
runs a command, the hook reads the command text, finds the named registry
packages it would install, and checks them. It blocks known-malicious
packages and typosquatted npm and PyPI names, warns about known advisories for
an exact pinned version, pipe-to-shell installs and custom registries, and
prints nothing for clean installs or for commands that install nothing.
/plugin marketplace add koda-ai-studio/agent-bom
/plugin install agent-bom-guard@agent-bom
It pairs with the agent-bom plugin, which scans what is already installed; the guard covers the moment a new package arrives.
| Result | When |
|---|---|
Block (deny, Claude is told why) | The package is a confirmed-malicious entry in agent-bom's bundled blocklist and the version is in the affected range (or unpinned); OSV reports it as malware (an OpenSSF MAL- report, or a GitHub advisory tagged CWE-506 such as crossenv or [email protected]) and the install is pinned to an affected version or no clean release exists; or the name looks like a typosquat of a popular package, for example reqeusts imitating requests. The reason names the package it imitates. |
| Warn (the command runs) | An exact pinned version, such as [email protected] or requests==2.19.0, has known advisories on OSV; the message lists the IDs by severity. Also used for requirement files (pip install -r), which this hook does not open, for a malicious-listed name pinned outside the affected range, for an unpinned install of a package that once shipped a malicious release but has clean ones (npm install event-stream), when api.osv.dev cannot be reached, and when a download is piped straight into a shell or interpreter (curl … | sh, wget -qO- … | sudo bash), which runs a script nobody read and no version pins. Also when an install names a custom registry (--index-url, -i, --extra-index-url, --registry); the message gives the registry host only, never a user name or token in the URL. |
| Silent | Clean installs, and every command that does not install a named registry package: npm test, npm install with no names, pip install -e ., echo "pip install x", local paths, URLs and git sources. |
Ordinary advisories never block on their own, and an unpinned install ignores them,
because it resolves to the newest release, which is usually fixed. Malware reports are
checked whether or not the install is pinned. The hook never
returns allow, so it never skips your own permission prompt.
Recognised installers: npm, pnpm, yarn, bun, npx, pip, pip3, python -m pip, uv
(uv add, uv pip install, uv tool run), uvx, pipx, poetry, cargo and go get or
go install. Commands joined with &&, ||, ;, pipes or new lines are each
checked, as are sudo, env, VAR=value prefixes and bash -c '...'.
Set these with /config or when you enable the plugin (Claude Code 2.1.271 or
later, which supports option lists).
| Option | Default | Effect |
|---|---|---|
on_match | block | block stops a malicious or typosquat install. warn lets it run and shows the finding to you and Claude. |
osv_lookup | true | false makes every check offline: only the bundled blocklist and typosquat reference are used, and nothing is sent anywhere. |
agent-bom guard runs on your machine and has no account, server or telemetry.
It stores nothing and writes no files. With osv_lookup on, the only data that
leaves your machine is the name, ecosystem and pinned version of a package an
install command names, sent to api.osv.dev; with it off, every check is
offline. That name goes to api.osv.dev even when the install names a custom
registry, so a private package name reaches the public service unless osv_lookup
is off. Command text, paths, file contents, environment variables and credentials
are never sent.
7-day copy clicks
npx claudepluginhub koda-ai-studio/agent-bom --plugin agent-bom-guardBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground