security-suite

v0.8.3
io.github.GuardBee/security-suite Checked 6 hours ago Published 5 days ago

Every 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.

ParameterTypeDescription
path *stringFile or directory to scan
allowlistPathstringAllowlist file for Shadow MCP discover
discoverShadowbooleanAlso discover Shadow MCP on this host (MCP09)
maxFilesinteger
withContentbooleanAlso run MCP06 (prompt injection on content under the path)
withSupplyChainbooleanAlso 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).

ParameterTypeDescription
argsarray
commandstringstdio command to spawn
urlstringStreamable HTTP MCP URL

owasp_scan_catalog

Audit a tools/list JSON dump for toxic flows and tool-description poisoning (MCP03/MCP10).

ParameterTypeDescription
catalog *stringJSON string: { tools: [...] } or a bare tools array
labelstring

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

ParameterTypeDescription
content *stringThe text content to scan
entropybooleanAlso flag random-looking values assigned to secret-like names (default true)
labelstringOptional label shown in findings (e.g. filename)

secrets_scan_file

Scan a single file for exposed secrets and API keys

ParameterTypeDescription
path *stringAbsolute or relative path to the file to scan
entropybooleanAlso 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.

ParameterTypeDescription
path *stringAbsolute or relative path to the directory to scan
baselinestringPath to a baseline file: only findings not in it are reported
entropybooleanAlso flag random-looking values assigned to secret-like names (default true)
excludearraySkip files/dirs whose path contains one of these strings
includearrayOnly scan files whose path contains one of these strings (e.g. [".env", ".ts"])
maxFilesintegerMaximum 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.

ParameterTypeDescription
mode *stringstaged: lines added in the index; history: lines added by each commit
path *stringA directory inside the git repository
baselinestringPath to a baseline file: only findings not in it are reported
entropybooleanAlso flag random-looking values assigned to secret-like names (default true)
maxCommitsintegerHistory only: stop after this many commits
rangestringHistory 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.

ParameterTypeDescription
entropybooleanAlso 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.

ParameterTypeDescription
content *stringThe text content to scan
labelstringOptional 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

ParameterTypeDescription
path *stringAbsolute 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.

ParameterTypeDescription
path *stringAbsolute or relative path to the directory to scan
excludearraySkip files/dirs whose path contains one of these strings
includearrayOnly scan files whose path contains one of these strings (e.g. [".md", "knowledge-base/"])
maxFilesintegerMaximum 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.

ParameterTypeDescription
catalog *stringJSON array of tools, or { tools: [...] } from tools/list
labelstringOptional 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

ParameterTypeDescription
content *stringSource code to scan
labelstring

toxic_flow_scan_file

Scan a single source file for toxic flows

ParameterTypeDescription
path *string

toxic_flow_scan_directory

Recursively scan a directory of MCP server source for toxic flows across all registered tools

ParameterTypeDescription
path *string
excludearray
maxFilesinteger

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.

ParameterTypeDescription
content *stringRaw JSON config
labelstringOptional 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.

ParameterTypeDescription
path *stringPath 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.

ParameterTypeDescription
content *stringRaw SKILL.md text
labelstringOptional 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.

ParameterTypeDescription
path *stringDirectory to search
excludearraySkip paths containing one of these strings
maxFilesintegerMaximum 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.

ParameterTypeDescription
inventory *stringJSON: {"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.

ParameterTypeDescription
allowliststringJSON allowlist: {"names":["filesystem"],"packages":["@modelcontextprotocol/server-filesystem"],"hosts":["mcp.example.com"]} or line form name:/package:/host:
homestringOverride home directory used to resolve well-known config paths
includeContentAuditbooleanAlso 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.

ParameterTypeDescription
homestringOverride 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

ParameterTypeDescription
directory *stringPath to the directory containing package.json
exploitDatabooleanAdd CISA KEV (exploited in the wild) and FIRST EPSS data and order findings by it (default: true; sends CVE IDs only)
includeDevDepsbooleanInclude 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

ParameterTypeDescription
directory *stringPath to the directory containing requirements.txt or pyproject.toml
exploitDatabooleanAdd CISA KEV (exploited in the wild) and FIRST EPSS data and order findings by it (default: true; sends CVE IDs only)
includeDevDepsbooleanInclude dev groups from poetry.lock, uv.lock or Pipfile.lock (default: false)

deps_audit_package

Audit a single package by name, version, and ecosystem

ParameterTypeDescription
ecosystem *stringPackage ecosystem
name *stringPackage name
version *stringPackage version (e.g. 1.2.3)
exploitDatabooleanAdd 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)

ParameterTypeDescription
directory *stringPath to the project root directory
exploitDatabooleanAdd CISA KEV (exploited in the wild) and FIRST EPSS data and order findings by it (default: true; sends CVE IDs only)
includeDevDepsbooleanInclude dev dependencies (default: false)