odoo-security

Audit Odoo modules for access controls, sudo usage, and HTTP route security.

72|28|Updated Oct 24, 2025
One-click install
npx skills add https://github.com/ahmed-lakosha/odoo-plugins --skill odoo-security
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: odoo-security
Source: https://github.com/ahmed-lakosha/odoo-plugins/tree/main/odoo-security-plugin/odoo-security
Command: npx skills add https://github.com/ahmed-lakosha/odoo-plugins --skill odoo-security

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Odoo modules often suffer security gaps across authentication, authorization, and data access that are hard to detect with manual reviews. This Skill provides an end-to-end security audit that scans module definitions, routes, and sudo usage to surface misconfigurations and risky patterns.

Core Features & Use Cases

  • Automated model access rule validation (ir.model.access.csv completeness) across 14-19.
  • HTTP route security analysis (auth, CSRF, public exposure) with remediation guidance.
  • Sudo() usage detection and risk scoring, including loop and unscoped patterns.
  • Master orchestration with sub-auditors to produce JSON and human-readable reports.

Quick Start

Run the security_auditor against your Odoo module to generate a comprehensive security report with remediation guidance.

Frequently Asked Questions about odoo-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit Odoo module security for missing access controls and unsafe sudo usage?

You can audit Odoo module security by running an automated security scan that validates ir.model.access.csv completeness, detects unscoped sudo() patterns, and generates structured JSON reports with human-readable remediation guidance for versions 14-19.

How does HTTP route security analysis work for Odoo modules?

HTTP route security analysis identifies insecure authentication parameters, missing CSRF protection, and unintended public exposure in Odoo routes, then provides specific remediation guidance to lock down endpoint access.

Can I check multi-company and portal record security in Odoo 14-19 modules?

Yes, this security audit covers multi-company and portal contexts across Odoo 14-19, evaluating record-level security rules to ensure data access is properly isolated for different company scopes and portal users.

What is the best way to find risky sudo() loops in Odoo code?

The best way to find risky sudo() loops is using an automated auditor that detects unscoped sudo usage patterns, scores the risk level of each occurrence, and outputs structured remediation steps to secure the code.

Does the Odoo security audit require any external dependencies or setup?

No external dependencies are required to run the Odoo security audit; it operates using internal orchestrator scripts and sub-auditors to evaluate your module definitions and output comprehensive security reports.

What format do Odoo security audit reports come in?

Odoo security audit reports are produced in structured JSON format for programmatic integration alongside human-readable remediation guidance, detailing model access gaps, route vulnerabilities, and sudo risk scores.