AuthZ Security & Access Control

•
5
•

Enforces rigorous backend authorization patterns, resource ownership verification, and multi-tenant isolation for secure application development.

The authz-constraints skill provides a comprehensive framework for implementing secure authorization (AuthZ) systems within the Claude Code pipeline. It moves beyond simple role-based checks to enforce 'fail-close' defaults, mandatory backend validation, and centralized decision logic. By bridging the gap between coarse-grained roles and fine-grained resource ownership, this skill ensures that developers mitigate Horizontal Privilege Escalation (IDOR) and maintain strict multi-tenant boundaries. It is particularly useful when designing or refactoring permission models, handling sensitive data access, or building SaaS applications that require audited, traceable security policies.

主要功能

01Two-Level Verification (Role + Resource Ownership)
02Standardized AuthZ Auditing and Error Semantics
03Mandatory Multi-Tenant Data Isolation
04Centralized Policy Enforcer Pattern
05Fail-Close Default Deny Policy
065 GitHub stars

使用场景

01Implementing Role-Based Access Control (RBAC) or Attribute-Based Access Control (ABAC) in backend services.
02Preventing Insecure Direct Object References (IDOR) by validating resource ownership at the data layer.
03Architecting multi-tenant SaaS platforms with strict data boundaries.