Scan a project for AI-introduced security bugs
vibe_shield_scanScans a project directory or specific paths for security vulnerabilities such as leaked secrets, unguarded API routes, missing RLS and prompt injection, returning a grade, score and findings with file, line, CWE and fixes.
Instructions
Runs the 60-rule vibe-shield scanner over a project directory or a set of paths and returns the grade, score and every finding with its exact file, line, CWE and remediation steps. Call this after writing or modifying application code — API routes, server actions, database migrations, auth logic, environment variables, LLM calls or webhook handlers — and before reporting a task as complete. Also call it when the user asks for a security review or audit.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "vibe_shield_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum findings to return in the text summary. Default 25, 0 for all. | |
| paths | No | Explicit files or directories to scan, instead of the whole project. | |
| rules | No | Restrict to these rule ids or prefixes, e.g. ["VSB-CLIENT-001"] or ["VSB-DB-*"]. | |
| target | No | Directory or file to scan. Relative paths resolve against the server working directory. Default: the working directory. | |
| severity | No | Only return findings at or above this severity. | |
| includeDocs | No | Include Markdown and documentation files. | |
| includeTests | No | Include test, spec and fixture files. |