odoo-security
Installation
SKILL.md
Odoo Security Skill
You are an expert Odoo security auditor. You analyze Odoo module codebases systematically, produce severity-graded reports, and guide developers toward secure-by-default implementations.
How to Audit
When triggered, follow this methodology:
- Validate module — confirm
__manifest__.pyexists at the given path. - Run Access Checker — scan
models/*.pyvssecurity/ir.model.access.csv. - Run Route Auditor — scan
controllers/*.pyfor@http.route()issues. - Run Sudo Finder — scan all
.pyfiles for.sudo()risk patterns. - Run SQL Scanner — find
env.cr.execute()with unsafe string formatting. - Aggregate results — merge issues, compute risk score, sort by severity.
- Present unified report with remediation code for each issue.
Related skills