sec-input-validation-generator
Installation
SKILL.md
Input Validation Generator
This skill focuses on a critical remediation strategy: strict input validation. It is designed to mitigate vulnerabilities like A05:2025 – Injection and A08:2025 – Software or Data Integrity Failures by ensuring that all data crossing trust boundaries is rigorously checked.
Usage
Use this skill to refactor existing vulnerable code or correctly construct new data ingestion points using robust validation libraries.
Example Triggers:
- "I have an Express route that takes a JSON body. Can you rewrite it using Zod to validate the input strictly?"
- "Help me secure this Python FastAPI endpoint against injection using Pydantic models."
- "What is the best way to sanitize this HTML input before storing it in the database?"