| type | skill |
| name | Security Audit |
| description | Security review checklist for code and infrastructure |
| skillSlug | security-audit |
| phases | ["R","V"] |
| generated | "2026-02-08T00:00:00.000Z" |
| status | filled |
| scaffoldVersion | 2.0.0 |
Security Audit
When to Use
Use this skill when auditing security aspects of the Smart Farming application, especially before deploying changes that affect authentication, database access, user input handling, or external integrations.
Security Checklist
Authentication & Authorization
Database Security
Input Validation
Template Security
Infrastructure Security
Dependencies
Common Vulnerabilities to Check
- SQL Injection — Search for string formatting in SQL queries
- XSS — Check for
| safe filter usage in Jinja2 templates
- CSRF — Ensure Flask-WTF CSRF protection is active on all forms
- Sensitive Data Exposure — Check logs and error responses for secrets
- Insecure Direct Object Reference — Verify UUID-based resource access has authorization checks
- Broken Authentication — Ensure session handling is secure
Audit Report Template
## Security Audit Report
**Date**: YYYY-MM-DD
**Scope**: (files/features audited)
### Critical Issues
- (none / list)
### High Priority
- (findings)
### Medium Priority
- (findings)
### Recommendations
- (improvements)