-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Security Audit: Input Validation
Audit all input handling for proper validation and sanitization.
Check For
- User Input - Forms, query params, headers, cookies
- File Uploads - Type validation, size limits, path traversal
- API Inputs - JSON/XML parsing, schema validation
- Database Queries - Parameterized queries, ORM usage
- Command Execution - Shell injection, argument escaping
- Path Handling - Directory traversal, symlink attacks
- URL Handling - Open redirects, SSRF
- Regex - ReDoS vulnerabilities
- Numeric Inputs - Integer overflow, type coercion
- Encoding - UTF-8 validation, null bytes
Questions to Answer
- Where does untrusted input enter the system?
- Is input validated before use?
- Is validation allowlist or denylist based?
- Are error messages leaking information?
- Is there consistent validation across all entry points?
Output
Save to AUDIT-INPUT-VALIDATION.md
Include:
- Input entry points inventory
- Validation gaps found
- Injection vectors discovered
- Remediation recommendations with code examples