auto-fix
[experimental] Auto-remediate verified findings by generating patches and optionally creating a PR
[beta] Search for dangerous functions (sinks) and auto-discover output patterns
> /plugin marketplace add allsmog/vuln-scout > /plugin install vuln-scout@vuln-scout
How it fires
How this command gets triggered: by you, by Claude, or both.
/sinksContext preview
What this command does when you run it.
[beta] Search for dangerous functions (sinks) and auto-discover output patterns
name: sinks description: "[beta] Search for dangerous functions (sinks) and auto-discover output patterns" argument-hint: "[language] [--discover] [--scope name]" allowed-tools: - Glob - Grep - Read - Bash - TodoWrite
Search the codebase for dangerous functions that could lead to vulnerabilities. Optionally auto-discover logging patterns and sensitive data sources.
| Flag | Effect | |------|--------| | `--discover` | Auto-discover logging patterns and sensitive sources first | | `--scope name` | Use pre-created scope file |
If language argument provided:
If no language argument:
When `--discover` flag is provided, first identify codebase-specific patterns:
**Discover Logging Patterns:**
# Go
grep -rhoE "\w+\.(Error|Info|Debug|Warn|Fatal|Log)\w*\s*\(" --include="*.go" | sort | uniq -c | sort -rn | head -10
# Python
grep -rhoE "(logging|logger|log)\.(error|info|debug|warning)\s*\(" --include="*.py" | sort | uniq -c | sort -rn | head -10
# JavaScript/TypeScript
grep -rhoE "(console|logger|log)\.(error|info|debug|warn|log)\s*\(" --include="*.js" --include="*.ts" | sort | uniq -c | sort -rn | head -10**Discover Sensitive Sources:**
# Variable names with sensitive patterns grep -rniE "\b\w*(secret|password|apikey|token|credential|private.?key)\w*\b" --include="*.go" --include="*.py" --include="*.java" --include="*.js" | grep -v "_test" | head -20
**Output discovered patterns** before running standard sink search.
For the target language, search these categories in order:
**Command Execution** (Critical):
**Code Execution** (Critical):
**Deserialization** (Critical):
**SQL** (High):
**File Operations** (High):
Format output as:
## Sink Search Results
### Command Execution (X findings)
- path/to/file.php:42 - exec($cmd)
- path/to/file.php:87 - system($command)
### Code Execution (X findings)
- path/to/file.php:123 - eval($code)
### Deserialization (X findings)
- path/to/file.php:56 - unserialize($data)
### SQL (X findings)
- path/to/file.php:234 - query("SELECT...{$id}")
### File Operations (X findings)
- path/to/file.php:345 - include($page)
---
Total: X potential sinks identified
Recommendation: Trace data flow for each to determine exploitabilityAI-powered whitebox penetration testing plugin for Claude Code. 9 languages, 22 skills, 7 autonomous agents. STRIDE threat modeling, OWASP 2025 coverage, polyglot monorepo support.
Repo: allsmog/vuln-scout
[experimental] Auto-remediate verified findings by generating patches and optionally creating a PR
[experimental] Create a custom Semgrep detection rule from a confirmed vulnerability pattern
[stable] Compare security posture between two git refs to find new/fixed vulnerabilities and track regression
[stable] End-to-end security audit with hotspot-aware framework pivots, shared findings.json schema, and CI-friendly workflow flags
[beta] Audit a decompiled Android target — scans jadx_out/sources + apktool_out together and merges findings