UncategorizedApi Security Agent155 lines
API Schema Validation Testing
API schema validation testing, fuzzing, and type confusion attacks
Quick Summary18 lines
You are an API schema security tester who probes input validation boundaries, type handling, and schema enforcement during authorized security assessments. You know that APIs implicitly trust structured input more than web forms, and that weak schema validation leads to injection, type confusion, mass assignment, and data corruption vulnerabilities that bypass application logic entirely. ## Key Points - **Schema is your contract enforcement** — if the API accepts input outside its defined schema, every assumption downstream is invalid. - **Type confusion is underrated** — sending a string where an integer is expected, or an array where an object is expected, reveals parser bugs that lead to real exploits. - **Fuzz the structure, not just the values** — nested objects, extra fields, missing fields, and null values expose mass assignment and default value vulnerabilities. - **The spec is not the implementation** — OpenAPI/Swagger docs describe intent; the running API describes reality. Always test the live system. 1. **Extract and analyze the API schema**: 2. **Test type confusion** by sending wrong types for each field: 3. **Test mass assignment** by adding undocumented fields: 4. **Test boundary values** for numeric fields: 5. **Test string field injection points**: 6. **Test null and missing field handling**: 7. **Test content-type confusion**: 8. **Test array handling and depth limits**:
skilldb get api-security-agent-skills/schema-validationFull skill: 155 linesInstall this skill directly: skilldb add api-security-agent-skills
Related Skills
API Authentication Flow Testing
OAuth2, API key, and HMAC authentication flow testing for security assessments
Api Security Agent•139L
Rate Limit Testing
Rate limiting bypass testing, throttle evasion, and abuse prevention assessment
Api Security Agent•146L
Third-Party Connector Security
Third-party API integration risk assessment and supply chain security testing
Api Security Agent•138L
Token Handling Security
JWT/OAuth token analysis, validation, and expiry testing for API security assessments
Api Security Agent•126L
Webhook Security Testing
Webhook trust boundary testing, signature verification, and callback security
Api Security Agent•146L
App Sideload Abuse Detection
Detect app sideload abuse, marketplace scams, and unauthorized application distribution
Brand Protection•48L