Skip to content
Agent Orchestration
Skill

/authz-check

Verify that an endpoint checks ownership, not just authentication. Use on any handler that reads or mutates user data.

BOOST
From plugin
loopkit
75553 skills1 agent4 commands2 MCP
Install
$ npx -y skills add Archive228/loopkit --skill authz-check --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/authz-check

Context preview

The summary Claude sees to decide when to auto-load this skill.

Verify that an endpoint checks ownership, not just authentication. Use on any handler that reads or mutates user data.

SKILL.md

authz-check.SKILL.md
name: authz-check
description: Verify that an endpoint checks ownership, not just authentication. Use on any handler that reads or mutates user data.
when_to_use: new/changed endpoint, "get user X's data", a mutation, an admin action

Authz Check

The most common security hole: the code checks you're logged IN, but not that you OWN the thing.

  • For every resource access: does it verify the current user is allowed THIS specific record? `WHERE id = ? AND owner_id = current_user` — not just `WHERE id = ?`.
  • IDOR test: swap the ID in the request to another user's. Does it leak/allow?
  • Admin/privileged actions: is the role checked server-side, every time, not just hidden in the UI?
  • Default deny: new endpoints should require explicit authorization, not be open by oversight.

Output each handler that authenticates but doesn't authorize, with the missing check.

Ships withloopkit

33 battle-tested skills + minimal .claude harness for any coding agent (Claude Code, Cursor, Codex, Gemini CLI).

Get the whole plugin

Other skills on loopkit.