agentsclimarketplace

Authz check

Skill Archive228/loopkit/skills/authz-check

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

Install
npx -y skills add Archive228/loopkit --skill authz-check

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

0.9 KB, as published. Nobody here has run it

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.

Keep looking

Skills are one crate of 626,474. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.