本文へ移動
cccskills
無料GitHub で公開

odoo-web-security

Security review and implementation guidance for Odoo website, portal, public controllers, JSON routes, QWeb output, and browser-facing assets. Use when exposing Odoo data over HTTP, adding portal/public pages or forms, using sudo, handling tokens, rendering HTML, or reviewing web attack surfaces.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md1.7 KB
  • references/SECURITY-CHECKLIST.md1.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Odoo Web Security

Use this skill at every Odoo web trust boundary. Compose it with odoo-website, odoo-code-review, and the version-specific Odoo skill.

Threat Model First

Identify the caller, authentication mode, record being accessed, mutation being performed, and data that crosses the browser boundary. Treat route parameters, query strings, form fields, JSON payloads, headers, cookies, and browser state as attacker-controlled.

Read SECURITY-CHECKLIST.md before editing or approving a web-facing change.

Non-Negotiable Checks

  • auth='public' is not a substitute for a publication policy.
  • Portal identity and record ownership must be checked server-side.
  • sudo() must be narrow, justified, and followed by an explicit visibility check.
  • Never authorize a record from its numeric ID, token shape, or hidden form field alone.
  • Use ORM security and record rules where possible; do not bypass them with raw SQL or broad elevation.
  • Escape output by default and review HTML sanitization separately from escaping.
  • Validate redirects, URLs, uploaded files, and external API destinations.
  • Preserve CSRF protection for state-changing browser requests according to the route type and target version.

Review Output

For each finding, state the attacker, entry point, missing control, affected data/action, and a concrete test that would fail before the fix.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

grill-me

無料

Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when the user wants to stress-test a plan, get grilled on their design, or mentions "grill me" outside an Odoo-specific context.

日本語の概要は準備中です。原文の説明を表示しています。

mart337i/odoo-skills532026年10月2日 更新

Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when the user wants to stress-test a plan against their project's language and documented decisions.

日本語の概要は準備中です。原文の説明を表示しています。

mart337i/odoo-skills532026年10月2日 更新

Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable.

日本語の概要は準備中です。原文の説明を表示しています。

mart337i/odoo-skills532026年10月2日 更新

odoo

無料

Odoo engineering workflows for addon development, codebase exploration, debugging, architecture/refactor review, manifest/docs sync, and routing to migration work. Use when the user mentions Odoo, addons, modules, manifests, models, XML views, security CSVs, record rules, Odoo shell, OWL/QWeb/assets, or when an Odoo codebase is detected.

日本語の概要は準備中です。原文の説明を表示しています。

mart337i/odoo-skills532026年10月2日 更新

odoo-17.0

無料

Odoo 17 development reference for Python models and ORM (search, domain, read_group, compute fields), XML/CSV data and views, OWL/JS client code, QWeb reports, security (ACL, record rules, groups), cron and server actions, migrations and module upgrades, tests, i18n, and performance. Use this skill whenever work involves Odoo 17 or custom addons, including traceback diagnosis, addons, manifests, XML errors, HTTP controllers, business rules, feature work, refactoring, or reviews.

日本語の概要は準備中です。原文の説明を表示しています。

mart337i/odoo-skills532026年10月2日 更新

odoo-18.0

無料

Odoo 18 development reference for Python models and ORM (search, domain, read_group, compute fields), XML/CSV data and views, OWL/JS client code, QWeb reports, security (ACL, record rules, groups), cron and server actions, migrations and module upgrades, tests, i18n, and performance. Use this skill whenever work involves Odoo 18 or custom addons, including traceback diagnosis, addons, manifests, XML errors, HTTP controllers, business rules, feature work, refactoring, or reviews.

日本語の概要は準備中です。原文の説明を表示しています。

mart337i/odoo-skills532026年10月2日 更新

mart337i のスキルをすべて見る

このスキルの問題を報告する