richgo/auto-reviewer/api-design-input-validation
Claude Code and agent skill by richgo/auto-reviewer
- community
Checking that the SKILL.md file is still in the repository.
Missing Input Validation. Use this skill whenever diffs may introduce api-design issues on web, api, mobile, especially in all. Actively look for: API endpoints or functions that accept user input without validating type, format, range, or required fields — leading... and report findings with high severity expectations and actionable fixes.
Install
npx vskill@latest install richgo/auto-reviewer/api-design-input-validationSKILL.md
The same SKILL.md was published earlier as richgo/auto-reviewer/api-design-input-validation.
Missing Input Validation
Task Metadata
- Category:
api-design - Severity:
high - Platforms:
web, api, mobile - Languages:
all
Purpose
API endpoints or functions that accept user input without validating type, format, range, or required fields — leading to crashes, data corruption, or security vulnerabilities.
Detection Heuristics
- Request body fields used directly without schema validation
- Missing type checks on dynamic inputs
- No range/length validation on numeric/string fields
- Enum values not validated against allowed set
- File uploads without type/size validation
Eval Cases
Case 1: No validation on API input
Expected finding: High — No input validation. quantity could be negative, zero, non-numeric, or missing. Validate with schema (Zod, Joi) before processing.
Case 2: Unvalidated file upload
Expected finding: High — No file validation. Missing checks for file type, size limit, and filename sanitization. Also path traversal risk via file.filename.
Counter-Examples
Counter 1: Schema-validated input
Why it's correct: Zod schema validates types, ranges, and formats before processing.
Binary Eval Assertions
- [ ] Detects missing validation in eval case 1
- [ ] Detects unvalidated upload in eval case 2
- [ ] Does NOT flag counter-example 1
- [ ] Finding suggests schema validation approach
- [ ] Severity assigned as high
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/api-design-input-validation/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/richgo/auto-reviewer/api-design-input-validation)