ClaudeCodeMod

All shelves / Mods / Safety

installguard

By griches

installguard is a Claude Code safety mod by griches.

Holds a package install the registry flags, such as a made-up name, a lookalike, or an hours-old release, and asks you, with a report pane beside the question.

DrawsHolds a command

Install

The marketplace name is installguard.

In Claude Code
/plugin marketplace add griches/installguard
/plugin install installguard@installguard
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.1.11
License
MIT
Repo stars
3
Last change
2026-10-09

What it can reach

  • Draws in the session
  • Holds a command
  • Sees tool calls
  • Reaches the network or an outside service

Claude Code 2.1.295 or later. Run /reload-plugins in a session that is already open. From a shell: claude plugin marketplace add griches/installguard, then claude plugin install installguard@installguard. It reads npm, PyPI, crates.io, and RubyGems installs from the command line, so a package pulled in as a dependency is not looked up. In claude -p or CI, a flagged command is refused, not run.

The marketplace, installguard, holds only this plugin. Holding an install before it runs is why this page files it under safety. slopsquat-guard, by Singh-AP, holds a package install and checks the name against its registry. blast-radius, by Anthropic, holds a shell command such as rm -rf or a force push and shows what it would touch. This one also flags a release hours or days old, a little-used package, and a download piped into a shell, and the /installguard pane puts the package you asked for beside the one you may mean. It asks only the public registries, sending the package's name and version, and the author says it calls no model.

Demo

The author's recording: Claude runs npm install expresss, and installguard holds it with Claude Code's question, Typosquat?, saying it looks like express at 141M downloads a week and is little used at 693 a week, with Cancel, Run it once, Run it and always allow, or type something, while the pane beside it shows the report and You may mean express; then the pane reads flagged, cancelled.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command
  • tool.callAround a tool call, where it can hold oneBash
  • ui.renderDraws into the sessionPane

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
griches
Category
Safety
Marketplace
installguard
Repo
griches/installguard
Version
0.1.11
License
MIT
Repo stars
3
Last change
2026-10-09
Language
TypeScript
Files
22

Other mods in Safety

flywheel-modHarperZ9Holds a commandHolds a risky shell or file-edit call when the Flywheel monitor flags it, shows held and passed counts above the prompt, and writes a receipt for each turn.push-gateIvanLutsenkoHolds a commandAsks before every git push the model runs, with the repository, branch, upstream, commit count, and a force-push warning, and runs the confirmed push itself.devtoolsNMenzelHolds a commandHolds a tool call at a breakpoint you set for Continue, Step, or Reject, with a dashboard pane of every call and Error Lens on why a call failed.agentic-flowruvnetHolds a commandRefuses an agentic_flow_agent call whose task matches a destructive or exfiltration pattern or passes an API key, and adds a status-line entry for the guard.agentdbruvnetHolds a commandRefuses a write to AgentDB memory that holds a key, token, password, or private key, and refuses its destructive admin tools unless you turn them on.cc-askpassGoneToneOpens a password pane when a command Claude runs asks for sudo, ssh, or git credentials, so the password goes to the program and never reaches the model.secret-envtoy-craneHolds a commandOpens a pane for typing an API key into a .env file, shows [hidden] wherever the value appears in tool results, and denies Write and Edit on that key's line.mod-blast-radiusv-amorimHolds a commandHolds a risky Bash command on a card until you choose Run or Cancel, shows what it would change first, and reads your own rules from a JSON file.mod-collision-guardv-amorimHolds a commandPauses a file edit when another open session just edited that file, and asks you to proceed, move to a worktree, cancel, or type an instruction for Claude.secret-guardvumichienHolds a commandHides secret values from your env files and secret-shaped text in tool results, tells Claude to use $NAME instead, and refuses commands that print them.blast-radiusAnthropicHolds a commandHolds a shell command such as rm -rf, a force push, a hard reset, or a migration, shows what it would touch, then asks you to proceed or cancel.merge-gatehamzaferHolds a commandHolds gh pr merge until CI is green and a Codex review has run once, and draws that pull request's status above the prompt.
All 73 in Safety