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 Secure-Vectorv5.4.2Apache-2.0In 1 marketplace
Blocks or allows MCP and built-in tool calls against deny rules synced to a local SecureVector app, and logs each call to a tamper-evident audit. Needs that app running on 127.0.0.1:8741; if it is unreachable, calls proceed unchecked.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
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
tool-call-audit, policy-enforcement, deny-rules, audit-log, guardrails, mcp-security, audit, mcp
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Real-time policy enforcement and tamper-evident audit for MCP tool calls invoked from a Claude Code session.
This plugin is a third-party integration for Claude Code. It is built by SecureVector and is not affiliated with or endorsed by Anthropic.
Every MCP tool call (mcp__<server>__<tool>) that the host issues passes through two hooks installed by this plugin:
| Hook | What happens |
|---|---|
| PreToolUse | Looks up the call against cloud-pushed deny rules synced to the local SecureVector app. Returns permissionDecision: "deny" (with policy reason), "ask", or "allow". Fails open — if the local app is unreachable, the call proceeds. |
| PostToolUse | Posts a fire-and-forget audit row to the local SecureVector app with runtime_kind: "claude-code", the resolved policy decision, and a redacted snippet of the arguments. Persisted in a tamper-evident hash chain. |
Both MCP and built-in tools (Bash, Edit, Read, Write, MultiEdit, Glob, Grep, LS, LSP, PowerShell, WebFetch, WebSearch, Task, Agent, Skill, Monitor, NotebookEdit, NotebookRead, TodoWrite, TodoRead, ExitPlanMode, EnterPlanMode, EnterWorktree, ExitWorktree) are enforced and audited. Unknown tool names short-circuit to allow (fail-open).
.claude-plugin/plugin.json manifestshttp://127.0.0.1:8741 (or override via SV_BASE_URL env var)Two equivalent paths:
# Option A: via the SecureVector app UI
# Open http://127.0.0.1:8741 → Integrations → Claude Code → Install Plugin
# Option B: via CLI (runs the same handler in-process)
securevector-app --install-plugin claude-code
Then, in your Claude Code session: /reload-plugins.
If ~/.claude/plugins/ doesn't exist yet (Claude Code hasn't been launched on this machine), auto-install can't run; the install endpoint returns auto_installed: false and the Integrations page shows two paste-in commands to run inside your Claude Code session as fallback:
/plugin marketplace add ~/.securevector/staging/claude-code-plugin
/plugin install securevector-guard
Uninstall: securevector-app --uninstall-plugin claude-code.
Confirm SecureVector is running:
curl -fsS http://127.0.0.1:8741/health
From a Claude Code session, invoke any MCP tool. The call should succeed and within a few seconds appear in the SecureVector Tool Activity tab with runtime_kind=claude-code.
To verify deny enforcement, push a cloud-managed deny rule for an MCP tool you control, then call that tool — the host should return a denial with the policy reason in the transcript.
| Symptom | Likely cause | Fix |
|---|---|---|
| Calls pass even with a deny rule active | SecureVector app not running, OR hook handler can't reach it | Confirm curl http://127.0.0.1:8741/health; check SECUREVECTOR_URL if non-default port |
| Hook calls feel slow | Local app unreachable; 100ms timeout firing on every call | Restart the SecureVector app — the timeout is fail-open by design |
| No audit rows appearing | PostToolUse hook not registered | Run /plugin list to confirm securevector-guard is installed and enabled |
Built-in tools (Bash, Edit) not enforced | A cloud rule targets a name outside the governable built-in list, OR the rule wasn't pushed | Push a synced rule with tool_id equal to the exact PascalCase tool name (e.g. tool_id: "Bash", tool_id: "MultiEdit") — see the governable built-in list |
A cloud-pushed synced rule's tool_id must match one of these names exactly (PascalCase, case-sensitive) for built-in enforcement to fire. MCP tools are matched by <server>:<tool> or bare <tool> form.
| Category | Names |
|---|---|
| File ops | Read, Edit, Write, MultiEdit, NotebookEdit, NotebookRead |
| Search / navigation | Glob, Grep, LS, LSP |
| Shell | Bash, PowerShell |
| Web | WebFetch, WebSearch |
| Agents / planning | Task, Agent, ExitPlanMode, EnterPlanMode |
| Worktrees | EnterWorktree, ExitWorktree |
| Skills / background | Skill, Monitor |
| Todos | TodoWrite, TodoRead |
The canonical list lives in lib/normalize.js as the BUILTIN_TOOLS Set. Names outside this list short-circuit to allow without contacting the local app (fail-open).
Built 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 secure-vector/securevector-ai-threat-monitor --plugin securevector-guardPlugins from other owners that cover similar ground