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 7 stars 1 forks Updated today MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
30
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 "<check under review>"`. > Cite corpus rows in findings; surface the evidence gap when 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 [...

Details

Author
event4u-app
Repository
event4u-app/agent-config
Created
3 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 1 weeks ago
imtiazrayhan
Code & Development Solid

access-review

Review an Acme Corp service access-grant request against the least-privilege access policy. Use ONLY when the user explicitly asks to review, risk-analyze, or policy-check a SPECIFIC access request, identified by a request ID such as AR-2043 accompanied by review intent, or pasted access-request JSON (fields like request_id, requestor, service, role, environment, duration_days). Applies the least-privilege policy (role catalog, production time-boxing, privileged-PII manager approval) and renders a structured Markdown review comment. Do NOT use this skill for - access status lookups (e.g. "what's the status of AR-2043" - answer directly), requests to grant, approve, or revoke access (decline - this DE never makes access decisions), listing or searching access requests, or general questions about what the policy says (answer those from the knowledge base without reviewing any request). Comment-only output; the grant decision stays with a human approver.

0 Updated today
arthaszyb
Code & Development Solid

review-security

Security-focused review. USE WHEN: user runs /review-security or explicitly asks for this review. DO NOT USE WHEN: implementing features or fixing bugs unless the user asked for a review.

15 Updated yesterday
louisbrulenaudet