security-suite
v0.8.3Every GuardBee MCP security tool in one server: OWASP MCP Top 10, secrets, supply chain, TLS/DNS
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
owasp_scan_path
Run a unified OWASP MCP Top 10 scan over a filesystem path — orchestrates secret, server, oauth, audit-gap, context-oversharing, toxic-flow, and tool-poisoning auditors; optional MCP04 supply-chain and MCP06 content injection. Returns A–F grade.
| Parameter | Type | Description |
|---|---|---|
path * | string | File or directory to scan |
allowlistPath | string | Allowlist file for Shadow MCP discover |
discoverShadow | boolean | Also discover Shadow MCP on this host (MCP09) |
maxFiles | integer | |
withContent | boolean | Also run MCP06 (prompt injection on content under the path) |
withSupplyChain | boolean | Also run MCP04 (OSV + slopsquat; needs network) |
owasp_scan_live
Connect to a live MCP server (stdio or HTTP), call tools/list, then grade toxic-flow + tool-poisoning (MCP03/MCP10).
| Parameter | Type | Description |
|---|---|---|
args | array | |
command | string | stdio command to spawn |
url | string | Streamable HTTP MCP URL |
owasp_scan_catalog
Audit a tools/list JSON dump for toxic flows and tool-description poisoning (MCP03/MCP10).
| Parameter | Type | Description |
|---|---|---|
catalog * | string | JSON string: { tools: [...] } or a bare tools array |
label | string |
list_owasp_coverage
List OWASP MCP Top 10 categories and which GuardBee scanners cover them in this meta-scan
secrets_scan_text
Scan a text string or code snippet for exposed secrets and API keys
| Parameter | Type | Description |
|---|---|---|
content * | string | The text content to scan |
entropy | boolean | Also flag random-looking values assigned to secret-like names (default true) |
label | string | Optional label shown in findings (e.g. filename) |
secrets_scan_file
Scan a single file for exposed secrets and API keys
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the file to scan |
entropy | boolean | Also flag random-looking values assigned to secret-like names (default true) |
secrets_scan_directory
Recursively scan a directory for exposed secrets and API keys. Automatically skips node_modules, .git, dist, and binary files.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the directory to scan |
baseline | string | Path to a baseline file: only findings not in it are reported |
entropy | boolean | Also flag random-looking values assigned to secret-like names (default true) |
exclude | array | Skip files/dirs whose path contains one of these strings |
include | array | Only scan files whose path contains one of these strings (e.g. [".env", ".ts"]) |
maxFiles | integer | Maximum number of files to scan (default: 5000) |
secrets_scan_git
Scan a git repository for secrets in what git says was added: the staged changes (before a commit) or every commit's added lines (history). History finds secrets that were deleted from the files but are still in the repository.
| Parameter | Type | Description |
|---|---|---|
mode * | string | staged: lines added in the index; history: lines added by each commit |
path * | string | A directory inside the git repository |
baseline | string | Path to a baseline file: only findings not in it are reported |
entropy | boolean | Also flag random-looking values assigned to secret-like names (default true) |
maxCommits | integer | History only: stop after this many commits |
range | string | History only: a revision range such as main..HEAD (default: all refs) |
secrets_scan_agent_history
Scan the transcripts coding agents keep on this machine (Claude Code, Codex, Gemini CLI, Continue) for secrets that were pasted into a chat or printed by a command. Such a secret was already sent to the model provider and should be rotated. Each secret is reported once with how often it appears.
| Parameter | Type | Description |
|---|---|---|
entropy | boolean | Also flag random-looking values assigned to secret-like names (default false here: transcripts hold a lot of code) |
secrets_list_patterns
List all secret patterns that the scanner can detect
injection_scan_text
Scan a text string — a RAG chunk, a scraped web page, a document, a tool result — for indirect prompt injection payloads (instruction-override phrases, spoofed chat-template roles, hidden/invisible text, content addressing 'the AI' directly, data-exfiltration attempts) before it reaches a model's context.
| Parameter | Type | Description |
|---|---|---|
content * | string | The text content to scan |
label | string | Optional label shown in findings (e.g. source URL or filename) |
injection_scan_file
Scan a single file (a knowledge-base document, an HTML page, extracted text) for indirect prompt injection payloads
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the file to scan |
injection_scan_directory
Recursively scan a directory — e.g. a RAG knowledge base or a corpus of scraped pages — for indirect prompt injection payloads. Automatically skips node_modules, .git, dist, and binary files.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the directory to scan |
exclude | array | Skip files/dirs whose path contains one of these strings |
include | array | Only scan files whose path contains one of these strings (e.g. [".md", "knowledge-base/"]) |
maxFiles | integer | Maximum number of files to scan (default: 5000) |
injection_list_patterns
List all indirect prompt injection patterns that the scanner can detect, grouped by category
toxic_flow_audit_catalog
Audit a tools/list-shaped JSON catalog for the lethal trifecta (toxic flow): untrusted content + sensitive/private data + exfiltration or destruction on the same MCP server. Returns an A–F grade.
| Parameter | Type | Description |
|---|---|---|
catalog * | string | JSON array of tools, or { tools: [...] } from tools/list |
label | string | Optional label for the server/catalog |
toxic_flow_scan_source
Scan TypeScript/JavaScript MCP server source for .registerTool(...) and .tool(...) registrations and audit them for toxic flows
| Parameter | Type | Description |
|---|---|---|
content * | string | Source code to scan |
label | string |
toxic_flow_scan_file
Scan a single source file for toxic flows
| Parameter | Type | Description |
|---|---|---|
path * | string |
toxic_flow_scan_directory
Recursively scan a directory of MCP server source for toxic flows across all registered tools
| Parameter | Type | Description |
|---|---|---|
path * | string | |
exclude | array | |
maxFiles | integer |
toxic_flow_explain_trifecta
Explain the lethal trifecta / toxic-flow model this auditor uses
mcp_config_scan_config_text
Scan an MCP client config JSON string (Cursor mcp.json, Claude Desktop, Windsurf, or VS Code) for unpinned packages, secrets, wildcard auto-approve, unauthenticated remote endpoints, and typosquats.
| Parameter | Type | Description |
|---|---|---|
content * | string | Raw JSON config |
label | string | Optional filename shown in findings |
mcp_config_scan_file
Scan one MCP client config file, or a SKILL.md agent skill when the file has that name.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the config file |
mcp_config_scan_skill_text
Scan one agent SKILL.md (YAML frontmatter plus body) for unrestricted allowed-tools, instruction override, credential file reads, and literal secrets. Name collisions across skills require a directory scan.
| Parameter | Type | Description |
|---|---|---|
content * | string | Raw SKILL.md text |
label | string | Optional filename shown in findings |
mcp_config_scan_directory
Find mcp.json, mcp_config.json, claude_desktop_config.json, and SKILL.md under a directory and audit each one. A directory scan also compares skill names. Does not start any MCP server.
| Parameter | Type | Description |
|---|---|---|
path * | string | Directory to search |
exclude | array | Skip paths containing one of these strings |
maxFiles | integer | Maximum files to consider (default: 5000) |
mcp_config_scan_inventory
Detect cross-server tool shadowing from an inventory of tool catalogs. Pass the tool names and descriptions already collected from each installed server. This tool does not connect to those servers.
| Parameter | Type | Description |
|---|---|---|
inventory * | string | JSON: {"servers":[{"name":"github","tools":[{"name":"create_issue","description":"..."}]}]} |
mcp_config_discover_shadow_mcp
OWASP MCP09:2025 — discover MCP client configs in well-known host paths (Cursor, Claude Desktop, Windsurf, VS Code, Claude Code) and flag servers that are not on an organization allowlist (Shadow MCP). Does not start any MCP server.
| Parameter | Type | Description |
|---|---|---|
allowlist | string | JSON allowlist: {"names":["filesystem"],"packages":["@modelcontextprotocol/server-filesystem"],"hosts":["mcp.example.com"]} or line form name:/package:/host: |
home | string | Override home directory used to resolve well-known config paths |
includeContentAudit | boolean | Also run the normal config content checks on each discovered file (default false) |
mcp_config_list_host_config_paths
List the well-known MCP client config paths this auditor checks during shadow (MCP09) discovery on the current OS.
| Parameter | Type | Description |
|---|---|---|
home | string | Override home directory |
mcp_config_list_patterns
List the MCP config, agent skill, shadow-MCP discovery, and cross-server shadowing checks, with their OWASP MCP Top 10 tags.
deps_audit_npm
Audit npm dependencies for known CVEs using the OSV database. Reads exact versions from package-lock.json, npm-shrinkwrap.json, pnpm-lock.yaml, yarn.lock (v1 and berry) or bun.lock, falling back to package.json ranges
| Parameter | Type | Description |
|---|---|---|
directory * | string | Path to the directory containing package.json |
exploitData | boolean | Add CISA KEV (exploited in the wild) and FIRST EPSS data and order findings by it (default: true; sends CVE IDs only) |
includeDevDeps | boolean | Include devDependencies in the audit (default: false) |
deps_audit_pip
Audit Python dependencies for known CVEs using the OSV database. Reads exact versions from uv.lock, poetry.lock or Pipfile.lock, falling back to requirements.txt / pyproject.toml
| Parameter | Type | Description |
|---|---|---|
directory * | string | Path to the directory containing requirements.txt or pyproject.toml |
exploitData | boolean | Add CISA KEV (exploited in the wild) and FIRST EPSS data and order findings by it (default: true; sends CVE IDs only) |
includeDevDeps | boolean | Include dev groups from poetry.lock, uv.lock or Pipfile.lock (default: false) |
deps_audit_package
Audit a single package by name, version, and ecosystem
| Parameter | Type | Description |
|---|---|---|
ecosystem * | string | Package ecosystem |
name * | string | Package name |
version * | string | Package version (e.g. 1.2.3) |
exploitData | boolean | Add CISA KEV (exploited in the wild) and FIRST EPSS data and order findings by it (default: true; sends CVE IDs only) |
deps_audit_directory
Auto-detect and audit every supported project in a directory: npm (package-lock, pnpm, yarn, bun), Python (uv, Poetry, Pipenv, requirements), Rust (Cargo.lock), Go (go.mod), Ruby (Gemfile.lock) and PHP (composer.lock)
| Parameter | Type | Description |
|---|---|---|
directory * | string | Path to the project root directory |
exploitData | boolean | Add CISA KEV (exploited in the wild) and FIRST EPSS data and order findings by it (default: true; sends CVE IDs only) |
includeDevDeps | boolean | Include dev dependencies (default: false) |