authz-review

Solid

Use when reviewing authorization end-to-end — route → gate → policy → query scope → response filter — before changes to permissions, tenants, ownership, or admin flows.

AI & Automation 10 stars 1 forks Updated today MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
35
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 *...

Details

Author
event4u-app
Repository
event4u-app/agent-config
Created
5 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

auth-flow-reviewer

Read-only review of authentication AND authorization flows — session/token model, cookie flags, CSRF, token rotation, password-reset/email-verification, OAuth redirect/state, and per-route object-level access checks — for exploitable gaps. Use before shipping login/session/token code, when adding a protected route or sharing-by-URL feature, or during a security pass. Reports findings by severity with location, impact, and the concrete fix; never edits code.

1 Updated today
imtiazrayhan
API & Backend Listed

laravel-authorization-review

Use when reviewing authorization / access control in a Laravel project — find IDOR / broken object-level authorization (BOLA), audit which routes are unprotected, check policy / gate coverage, or sanity-check a new endpoint in a PR. Walks the authorization chain of every HTTP route (middleware → authorize/policy/gate → query scoping → API Resource output), anchors every finding to real `php artisan route:list --json` output plus a cited `file:line`, classifies by confidence, and produces a per-route coverage map. Read-only / advise-only — never edits code.

7 Updated 1 weeks ago
pekral
AI & Automation Listed

security-review

Security review of a codebase or a target you are authorized to test: OWASP Top 10, secrets, auth, input validation, supply chain, infra hygiene. Use for a security audit, vulnerability or CVE check, pentest-style review, hardening, secret-leak hunts, or is-this-secure questions.

0 Updated 1 weeks ago
alex-macra