/appsec:fuzzfrom appsec
Generates intelligent, context-aware fuzz test inputs by analyzing input parsing code. Produces boundary values, injection payloads, and format-specific attacks for security testing.
Ships in appsec. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate intelligent, context-aware fuzz test inputs by analyzing input parsing code. Produces boundary values, type confusion inputs, encoding edge cases, format-specific attacks, and injection payloads tailored to the specific parser and data types in scope. Output is structured JSON test case sets ready for integration with test harnesses.
Read ../../shared/schemas/flags.md for the full flag specification.
| Flag | Fuzz Behavior |
|---|---|
--scope | Identifies which input handlers to generate fuzz inputs for. Default changed. |
--depth quick | Standard boundary values and common injection strings only. |
--depth standard | Context-aware inputs based on code analysis of the parser. |
--depth deep | Standard + format-specific attacks, encoding mutations, and chained payloads. |
--depth expert | Deep + adversarial inputs designed to bypass specific validation logic found in code. |
--severity | Generate inputs targeting vulnerabilities at or above this severity. |
--format | Default json. Use text for human-readable listing. |
Locate input parsing and processing code in scope:
argparse, commander, cobra, clap.For each handler, identify:
Read the code to understand what the parser expects and what it guards against:
For each input field, generate boundary value test cases:
| Input Type | Boundary Values |
|---|---|
| String | Empty "", single char "a", max length, max length + 1, unicode BOM, null bytes "\x00" |
| Number | 0, -1, MAX_INT, MIN_INT, MAX_INT+1, NaN, Infinity, -Infinity, float precision edge cases |
| Array | Empty [], single element, very large array (10000+), nested arrays, mixed types |
| Object | Empty {}, deeply nested (100+ levels), circular reference attempt, prototype keys |
| Boolean | true, false, 0, 1, "", "false", null, undefined |
| Date | Epoch 0, negative timestamp, far future, invalid dates (Feb 30), timezone edge cases |
| File | Empty file, 0-byte, huge file, wrong extension, polyglot file, symlink |
Inputs designed to exploit type coercion and type assumption bugs:
Generate inputs that send the wrong type: string where number expected, array where string expected, object with toString override, deeply nested arrays, null where required, boolean where string expected, numeric string where number expected, and prototype/constructor pollution objects (__proto__, constructor.prototype).
Inputs exploiting encoding and character set handling:
%2527), mixed encoding, overlong UTF-8.&), numeric (&), hex (&), surrogate pairs.\r\n, \r, \n, \x0b, \x0c, \x85, \u2028, \u2029.I/i dotless variants, German ß/SS.Based on how the input is used downstream (identified in Step 1), generate targeted payloads:
| Sink Context | Payload Category |
|---|---|
| SQL query | SQL injection: UNION, boolean blind, time blind, stacked queries, comment-based |
| Shell command | Command injection: semicolons, pipes, backticks, $(), newlines |
| HTML output | XSS: script tags, event handlers, SVG/MathML, template injection |
| File path | Path traversal: ../, null bytes, long paths, reserved names (CON, NUL) |
| URL construction | SSRF: localhost variants, IPv6, DNS rebinding, scheme confusion |
| Regex input | ReDoS: catastrophic backtracking patterns, exponential quantifiers |
| XML parser | XXE: external entity, parameter entity, SSRF via DTD |
| LDAP query | LDAP injection: wildcards, boolean operators, null bytes |
| Header value | Header injection: CRLF, response splitting |
| JSON parser | JSON interoperability: duplicate keys, large numbers, deep nesting |
At --depth deep and above, generate inputs targeting specific file/data formats:
!!python/object).=CMD()), field separator in values, newlines in quoted fields.Organize all generated inputs into structured JSON test case sets:
{
"target": {
"file": "src/api/users.ts",
"function": "createUser",
"input_field": "email",
"expected_type": "string",
"downstream_use": ["sql_query", "html_email"]
},
"generated_at": "2026-02-14T10:30:00Z",
"total_cases": 85,
"test_cases": [
{
"id": "FUZZ-001",
"category": "boundary",
"label": "empty_string",
"input": "",
"expected_behavior": "validation_error",
"targets_cwe": "CWE-20"
},
{
"id": "FUZZ-002",
"category": "injection_sql",
"label": "union_select",
"input": "[email protected]' UNION SELECT * FROM users--",
"expected_behavior": "parameterized_query_prevents_injection",
"targets_cwe": "CWE-89"
}
]
}
Write test case files to .appsec/fuzz/ organized by target.
Fuzz inputs are not findings themselves but may reference CWEs they target.
Finding ID prefix: FUZZ (e.g., FUZZ-001) for test case identification.
metadata.tool: "fuzz"If fuzz testing reveals an actual vulnerability (input causes unexpected behavior), emit a finding using ../../shared/schemas/findings.md.
--depth flag. Quick depth should produce 10-20 inputs. Expert depth can produce hundreds.What SKILL.md sets; muted values are Claude Code's defaults
62 skills in this plugin
/access-controlThis skill should be used when the user asks to "check for access control issues", "analyze authorization", "find IDOR vulnerabilities", "audit CORS configuration", "check for privilege escalation", or mentions "access control", "authorization", "IDOR", "CORS", "JWT tampering", or "directory traversal" in a security context. Maps to OWASP Top 10 2021 A01: Broken Access Control.
/apiThis skill should be used when the user asks to "check API security", "audit REST API", "find BOLA vulnerabilities", "check for mass assignment", "analyze API rate limiting", "detect excessive data exposure", or mentions "API security", "BOLA", "IDOR", "mass assignment", "rate limiting", "broken function-level authorization", "excessive data exposure", or "OWASP API Top 10" in a security context.
/attack-surfaceThis skill should be used when the user asks to "map attack surface", "list entry points", "inventory API endpoints", "find all inputs", "enumerate routes", "discover exposed endpoints", or "map external interfaces". Also triggers when the user asks about exposed APIs, form handlers, file upload endpoints, WebSocket handlers, CLI argument parsers, or wants to understand where external data enters the system.
/authThis skill should be used when the user asks to "check for authentication issues", "analyze auth", "find credential vulnerabilities", "review login security", "check session management", or mentions "authentication", "passwords", "MFA", "sessions", or "brute force" in a security context. Maps to OWASP Top 10 2021 A07: Identification and Authentication Failures.
/business-logicThis skill should be used when the user asks to "check business logic security", "find logic flaws", "audit workflow security", "check for coupon abuse", "detect negative amount exploits", "analyze state machine security", or mentions "business logic", "workflow bypass", "negative amount", "coupon abuse", "self-referral", "state manipulation", or "time-based exploit" in a security context.
/configThis skill should be used when the user asks to "configure security", "appsec settings", "security preferences", or invokes /appsec:config. Manages security tool preferences and thresholds.
npx claudepluginhub florianbuetow/claude-code --plugin appsecOther plugins' skills for the same job