authorization-security

Analyze RBAC authorization controls and output ASVS-aligned findings.

1|Updated Aug 29, 2025
One-click install
npx skills add https://github.com/CyberSecAI/genai-sec-agents --skill authorization-security-cybersecai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: authorization-security
Source: https://github.com/CyberSecAI/genai-sec-agents/tree/main/.claude/skills/authorization-security
Command: npx skills add https://github.com/CyberSecAI/genai-sec-agents --skill authorization-security-cybersecai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams validate authorization design by identifying RBAC gaps, over-permission scenarios, and IDOR risks, reducing security debt and potential breaches.

Core Features & Use Cases

  • RBAC design review: Verify role definitions, permissions, and role hierarchies align with least privilege.
  • Access-control enforcement checks: Ensure authorization is consistently applied across resources and endpoints.
  • IDOR prevention guidance: Validate object ownership checks and authorization boundaries.
  • ASVS-aligned findings: Return structured findings with rule IDs and recommended secure patterns.
  • Use Case: During a design review or code audit, run this skill to surface authorization flaws and generate remediation guidance.

Quick Start

Load the skill using /authorization-security and prompt it with a brief description of your RBAC model or an endpoint to review.

Frequently Asked Questions about authorization-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check for IDOR vulnerabilities and RBAC weaknesses in web APIs?

To check for IDOR vulnerabilities and RBAC weaknesses, analyze your authorization controls to identify object ownership gaps and over-permission scenarios. This process validates access-control enforcement across endpoints and returns ASVS-aligned findings with secure authorization patterns.

What is the best way to review RBAC design for least privilege compliance?

Reviewing RBAC design for least privilege involves verifying role definitions, permissions, and role hierarchies. Validating these elements ensures your authorization boundaries align with security standards and highlights over-permission scenarios that violate least privilege principles.

How do I generate ASVS-aligned findings during an access-control audit?

You generate ASVS-aligned findings during an access-control audit by analyzing runtime access checks and permission modeling. This yields structured outputs containing specific rule IDs and recommended secure authorization patterns for remediation.

Does this authorization analysis work for both design reviews and runtime access checks?

Yes, authorization analysis applies to both RBAC design reviews and runtime access checks across web applications and APIs. It consistently surfaces permission modeling flaws and IDOR risks regardless of the review stage.

Why does RBAC fail to prevent IDOR risks in API endpoints?

RBAC fails to prevent IDOR risks when authorization is inconsistently applied across resources and object ownership checks are missing. Identifying these gaps requires analyzing access-control enforcement boundaries to ensure direct object references are validated.

When do I need to run an authorization security review on my application?

You need to run an authorization security review during design reviews or code audits to surface authorization flaws. This proactively identifies RBAC gaps and IDOR risks, reducing security debt and potential breaches before deployment.