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 MauroProtov0.2.3MITIn 1 marketplace
Context-aware Guard integration for Claude Code sessions in pnpm and GitHub repositories.
Claude hands work to one, or you mention it with @.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
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.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
Guard stays a CLI-first security tool. This plugin adds a Claude Code runtime that reacts to risky dependency, workflow, workspace, and policy events with focused scans and low-noise prompts.
guard CLI remains the deterministic engine for CI, JSON, SARIF, scan, diff, review-pr, policy lint, and headless automation.guard scan --scope ... calls instead of full scans on every event.guard agent audit.Install the marketplace and plugin:
claude plugins marketplace add MauroProto/guard
claude plugins install guard@guard
Reload plugins or restart Claude Code after installing.
Guard CLI still needs to be available on the machine:
go install github.com/MauroProto/guard/cmd/guard@latest
If Guard is not already on PATH, point the plugin at it explicitly:
export GUARD_BIN=/absolute/path/to/guard
For a one-off local session instead of a persistent install:
claude --plugin-dir /absolute/path/to/guard/plugins/claude-code/guard-security
Set the mode with GUARD_PLUGIN_MODE.
observebalanced (default)Stop warns on fresh blocking results from sensitive changes but does not block the final responsestrictStop on fresh blocking results and on critical pending review that has not been addressed yetThe plugin maintains a dynamic watch list per repo and recomputes it when the working directory changes:
pnpm-lock.yamlpnpm-workspace.yaml.guard/policy.yamlpackage.jsonpackage.json files discovered from pnpm-workspace.yamlCODEOWNERS, .github/CODEOWNERS, docs/CODEOWNERSgithub.workflowPaths or the default .github/workflowsSessionStartCwdChangedwatchPathsFileChangedwatchPathsPreToolUse for sensitive Bash commandsCommands covered in V1:
pnpm addpnpm uppnpm installpnpm removenpm installnpm updatenpm uninstallcorepack useclaude plugins marketplace addclaude plugins installclaude mcp addcodex plugins marketplace addcodex plugins installcodex mcp addcodex skills installnpx skills addgemini extensions installcurl ... | sh, wget ... | bash, or bash <(curl ...)This hook still does not run for generic Bash. It only intercepts dependency mutation commands, agent ecosystem install commands, and clear remote-bootstrap patterns.
PostToolUse on Write|EditdepsCODEOWNERS changes as workflows.guard/policy.yaml as policypnpm-workspace.yaml as workspacePostToolUse on sensitive Bash--changed-files when possible to stay focusedStopobservebalancedstrict when fresh blocking results or critical pending reviews remain activeBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub mauroproto/guard --plugin guardPlugins from other owners that cover similar ground