guardvibe

security MCP Server

Security infrastructure your AI can't be — deterministic, daily CVE intel past your model's training cutoff, whole-repo-aware, author-independent, and shift-left: secure_prompt secures the prompt before code generation. The security MCP for vibe coding: 442 rules, 38 tools, CLI + doctor for Next.js, Supabase, Clerk, Stripe, Prisma, Hono & MCP.

Install Ready
securitysecurity
4 views2 stars0 forksv3.20.0Apache-2.0

Why This Matters

Discovered via unknown and last synced 3mo ago.

Install Ready
Source
unknown
Stars
2
Last synced
3mo ago
Install
Instructions detected

Install

1. Install the package

npx -y guardvibe

2. Add to claude_desktop_config.json

{
  "mcpServers": {
    "guardvibe": {
      "command": "npx",
      "args": [
        "guardvibe"
      ]
    }
  }
}

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows)

80
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (80)

Native

Not supported

generate_policy

Detect project stack and generate tailored security policies (CSP, CORS, RLS)

explain_remediation

Get detailed remediation guidance with exploit scenarios and fix strategies

auth_coverage

**Auth coverage map** — enumerate routes, parse middleware matchers, detect auth guards, report coverage %

12

Raw queries, client exposure, service role leaks, NoSQL injection, Drizzle identifier injection (CVE-2026-39356)

description

string

string

`"high"`

Tool

What it does

analyze_dataflow

Track tainted data flows from user input to dangerous sinks

guardvibe_doctor

**Host security audit** — CVE-2025-59536, CVE-2026-21852, MCP config, env scanner

verify_remediation

**Remediation verification** — compares before/after audit, flags skipped sections

9

Webhook signatures, key exposure, price manipulation

Field

Type

fixCode

string

Capability

GuardVibe

scan_staged

Pre-commit scan of git-staged files — **diff-aware** (blocks only newly-staged lines; `diff_aware:false` for whole files)

audit_config

Audit project configuration files for cross-file security misconfigurations

repo_security_posture

Assess overall repository security posture and map sensitive areas

security_workflow

Get recommended tool workflow for your current task (writing, pre-commit, PR review, etc.)

16

Malicious install scripts, lockfile integrity, dependency confusion, typosquat detection

Firebase

7

Terraform

6

owasp

string

plugins

`string[]`

Extensive

Extensive

scan_secrets

Detect leaked secrets, API keys, tokens

scan_file

Real-time single-file scan — designed for post-edit hooks

10

AsyncStorage secrets, deep links, ATS, hardcoded URLs

27

Known vulnerable versions in package.json — incl. Axios supply-chain backdoor, Clerk middleware bypass (GHSA-vqx2), Next.js RSC DoS (CVE-2026-23869), Hono CRLF (CVE-2026-29086)

pattern

RegExp

Yes

Yes

policy_check

Check project against compliance policies defined in .guardviberc

security_stats

Cumulative security dashboard — scans, fixes, grade trend over time

remediation_plan

**Remediation plan** — generates section-by-section fix checklist after audit

21

ReDoS, CRLF injection, race conditions, XXE, brute force, audit logging

SQL

4

high

medium

fix

string

Built-in

Paid tier

check_dependencies

Check individual packages against OSV

scan_changed_files

Scan only git-changed files — for PRs and incremental CI; **diff-aware** (only newly-added lines; `diff_aware:false` for whole files)

full_audit

**Single source of truth** — runs ALL checks in one call, returns PASS/FAIL/WARN verdict + score + coverage % + deterministic result hash

40

Zod, tRPC, Hono, GraphQL, Uploadthing, Turso, Convex, OAuth, CSP, webhooks, AI SDK, React Server Action validation (React2Shell)

5

AWS, GCP, MongoDB, Convex, Sentry, Twilio

json

sarif

languages

string[]

scan_directory

Scan a project directory from disk

fix_code

**Auto-fix suggestions** with concrete patches for AI agents

scan_config_change

Compare config file versions to detect security downgrades

verify_fix

Verify a security fix was applied correctly — returns fixed/still_vulnerable/new_issues

17

Server Actions, secret exposure, auth bypass, CSP, redirects

7

Secrets interpolation, unpinned actions, write-all permissions

severity

string

number

`512000`

check_code

Analyze a code snippet for security issues

export_sarif

SARIF v2.1.0 export for CI/CD integration

analyze_cross_file_dataflow

**Cross-file taint analysis** — track tainted data across module boundaries

audit_mcp_config

Audit MCP server configurations for hook injection, file:// abuse, sensitive paths

Category

Rules

11

API key leaks, PII tracking, email injection

Go

6

id

string

compliance

string[]

check_project

Scan multiple files with security scoring (A-F)

get_security_docs

Security best practices and guides

check_command

Analyze shell commands for security risks before execution

scan_host_config

Scan shell profiles, .env files for base URL hijack and credential sniffing

38

SQL injection, XSS, CSRF, command injection, CORS, SSRF, hardcoded secrets

15

Webhooks, CSP, .env safety, AI key exposure, cookie handling

Dockerfile

7

name

string

check_package_health

Typosquat detection, maintenance status, adoption metrics

scan_secrets_history

Scan git history for leaked secrets (active and removed)

31

Known vulnerable versions in package.json — incl. Vite dev-server cmd injection (CVE-2024-52011), React Router 7 cluster (CVE-2026-33245/42211/42342), DOMPurify XSS (CVE-2026-47423), Better Auth bypass (CVE-2026-45337), Axios supply-chain backdoor

scan_dependencies

Check all dependencies for known CVEs (OSV) — annotates each vulnerable package with **reachability** (is it actually imported in your source?)

compliance_report

Map security findings to compliance controls (SOC2, PCI-DSS, HIPAA, GDPR, ISO27001, EU AI Act)

secure_this

**Close the loop** — scan, apply only the fixes that verifiably land (each re-scanned, rolled back on regression), return the verified code + a definition-of-done gate

review_pr

Review PR diff for security issues with severity gating

deep_scan

**LLM-powered deep analysis** — IDOR, business logic, race conditions, auth bypass. Defaults to Claude Haiku 4.5 (~cents/scan). Pass `model: 'sonnet'` for deeper analysis. CLI: `npx guardvibe deep-scan <file> --focus idor`

secure_prompt

**Prompt-level security (shift left)** — analyze a coding prompt BEFORE code is written; deterministic triage (NO_MOD/LIGHT_MOD/HEAVY_MOD), stack + attack-surface detection, severity-ranked GuardVibe requirements embedded via a rewrite directive