context-oversharing-auditor

v0.4.1
io.github.GuardBee/context-oversharing-auditor Checked 3 hours ago Published 1 month ago

OWASP MCP10 context oversharing: session dumps, unscoped memory, shared context, prompt leaks

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

scan_text

Scan agent/MCP source for OWASP MCP10:2025 context oversharing — full conversation dumps, unscoped memory tools, shared global session stores, system-prompt leaks via tools, cross-session tool-result bleed, and unfiltered vector queries.

ParameterTypeDescription
content *stringThe code content to scan
labelstringOptional label shown in findings (e.g. filename)

scan_file

Scan a single file for OWASP MCP10 context-oversharing issues

ParameterTypeDescription
path *stringAbsolute or relative path to the file to scan

scan_directory

Recursively scan a directory for OWASP MCP10 context-oversharing issues

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
maxFilesintegerMaximum number of files to scan (default: 5000)

list_patterns

List every OWASP MCP10 context-oversharing check this auditor runs