unbounded-consumption-auditor
v0.3.2Scans LLM/agent code for Unbounded Consumption / denial-of-wallet risks (OWASP LLM10:2025)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
scan_text
Scan LLM/agent application code for Unbounded Consumption ("denial of wallet") anti-patterns from OWASP LLM Top 10 2025's LLM10 category: LLM calls with no output token limit, hand-rolled HTTP calls to an LLM endpoint with no timeout, agent tool-calling or retry loops with no iteration cap, framework safety limits (LangChain max_iterations, openai-agents max_turns) explicitly disabled, and MCP tool handlers that make billable calls with no visible rate limiting.
| Parameter | Type | Description |
|---|---|---|
content * | string | The code content to scan |
label | string | Optional label shown in findings (e.g. filename) |
scan_file
Scan a single file for Unbounded Consumption / denial-of-wallet anti-patterns
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the file to scan |
scan_directory
Recursively scan a directory of LLM/agent application source for Unbounded Consumption / denial-of-wallet anti-patterns
| 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 |
maxFiles | integer | Maximum number of files to scan (default: 5000) |
list_patterns
List every Unbounded Consumption / denial-of-wallet pattern this auditor detects, grouped by category