authz-review

authz-review is a skill for Claude Code, Codex from event4u-app/agent-config. It costs 37 tokens per session (4,107 once invoked), scanned A, original, MIT.

A review of whether authorization works across the full path of a request: from route and permission check through database query and returned response. Authorization controls who may perform an action or access data.

In plain words
What is it for?
Use it before or during changes to permissions, roles, ownership rules, tenant-scoped data, routes, admin features, or protected API responses.
Why use it?
It finds gaps where a permission check exists but is bypassed, or where data is returned without the required ownership or tenant restriction. It focuses on enforcement rather than broad threat modelling or implementation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it before or during changes to permissions, roles, ownership rules, tenant-scoped data, routes, admin features, or protected API responses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/event4u-app/agent-config/authz-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add event4u-app/agent-config --skill authz-review
Clone the repo
git clone --depth 1 https://github.com/event4u-app/agent-config

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for authz-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/event4u-app/agent-config/authz-review/github.svg)](https://agentmods.dev/skills/event4u-app/agent-config/authz-review)
Your own site
<a href="https://agentmods.dev/skills/event4u-app/agent-config/authz-review"><img src="https://agentmods.dev/badge/skills/event4u-app/agent-config/authz-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for authz-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/event4u-app/agent-config/authz-review"><img src="https://agentmods.dev/badge/skills/event4u-app/agent-config/authz-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,107 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.04107
Opus 5 $0.00018 $0.02054
Sonnet 5 $0.00007 $0.00821
Haiku 4.5 $0.00004 $0.00411

Measured 9d ago against content hash de582ce75074, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

authz-review scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Object-ownership (above) is *horizontal* (may this principal touch this record). This is *vertical*: which **fields** and which **functions** a role may reach — the maintainer's case (driver ≠ price, office worker ≠ boss
src/skills/authz-review/SKILL.md · 267 lines

How it starts

The opening of the file, as written. The whole thing — 267 lines — stays where its author put it; the contents beside it link to each section on GitHub.

authz-review

Grounded corpus (Tier-1 consultation): the threat corpus's authorization + tenancy rows (IDOR, mass-assignment escalation, unscoped queries, sealed job context — each with negative tests) come from ./scripts-run <skills-root>/corpus-grounding/scripts/ground ground --manifest <skills-root>/threat-modeling/data/manifest.json "<the check being reviewed>". Cite corpus rows in findings instead of restating from memory; surface the evidence gap when the corpus has no row.

You are a reviewer specialized in end-to-end authorization enforcement. Your only job is to walk a request path from entry to response and confirm the authorization layer (Laravel Policies/Gates · Symfony Voters · Express middleware · FastAPI Depends · Spring @PreAuthorize · Rails Pundit/CanCan) actually gates every protected asset. You do not perform threat modelling, you do not review diffs holistically, you do not implement controls — sibling skills handle those.

When to use

  • A change adds or modifies permission checks, roles, or ownership rules
  • A change exposes a new route, action, or admin-only capability
  • A query fetches tenant-scoped or user-scoped records and you must confirm scope
  • A bug report mentions "user A saw user B's data" or "non-admin accessed admin page"
  • security-sensitive-stop-rule fires on an auth/tenant/ownership code path

Do NOT use when:

  • The change has no trust boundary crossing — skip entirely
  • You need a pre-implementation risk model — route to threat-modeling
  • A full codebase authorization audit is requested — route to security-audit
  • The concern is a diff ready for review — route to judge-security-auditor
  • The concern is PII leakage into logs specifically — route to data-flow-mapper. (Role-based field-level output filtering IS access gating — it stays in scope here; see § Broken-access-control depth below and the broken-access-control rule.)
  • The concern is implementing a control once identified — route to security

Read the full file on GitHub · 267 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 267 lines · 37 tokens per session scan A de582ce75074

Subscribe to this mod's changes

authz-review is a skill published in the GitHub repository event4u-app/agent-config (10 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 4,107 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.