rbac-design

Design RBAC/ABAC authorization models against NIST RBAC and SP 800-162.

44|128|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/UnitOneAI/SecuritySkills --skill rbac-design-unitoneai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rbac-design
Source: https://github.com/UnitOneAI/SecuritySkills/tree/main/skills/identity/rbac-design
Command: npx skills add https://github.com/UnitOneAI/SecuritySkills --skill rbac-design-unitoneai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents authorization design flaws that lead to privilege creep, role explosion, and weak separation of duties by guiding RBAC/ABAC decisions using NIST RBAC and NIST SP 800-162 as the evaluation backbone.

Core Features & Use Cases

  • Framework-grounded authorization architecture guidance: Produces RBAC model-level and ABAC policy structure recommendations mapped to NIST references.
  • Design-time assessment of RBAC maturity: Identifies common failure modes across RBAC model selection, hierarchy design, constraints (SoD/cardinality/prerequisites), and permission boundaries.
  • ABAC patterning and role rationalization: Helps plan attribute-driven policies and role mining outcomes to reduce sprawl while preserving governance.

Quick Start

Use the rbac-design skill to design or refactor your role hierarchy and constraints for RBAC/ABAC authorization by reviewing the provided target-file-or-directory.

Frequently Asked Questions about rbac-design

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

FAQPage Schema
How do I design an RBAC role hierarchy to prevent privilege creep?

Designing an RBAC role hierarchy to prevent privilege creep requires mapping role inheritance and constraints against NIST RBAC standards. This process evaluates permission boundaries and cardinality limits to isolate sensitive access and eliminate role sprawl.

What is the best way to refactor role explosion in authorization models?

Refactoring role explosion involves performing role mining to rationalize overlapping permissions and applying attribute-based policy patterns. This reduces sprawl by shifting dynamic access control logic to ABAC structures aligned with NIST SP 800-162.

When do I need ABAC policy architecture instead of RBAC?

You need ABAC policy architecture instead of RBAC when access decisions require evaluating dynamic user, resource, or environmental attributes rather than static organizational roles. ABAC uses PDP, PEP, and PIP components to enforce fine-grained, context-aware authorization boundaries.

How do I validate segregation of duties constraints in an authorization model?

Validating segregation of duties constraints requires defining mutually exclusive roles and enforcing prerequisite permissions within your RBAC model. This ensures no single user can execute conflicting critical transactions, satisfying NIST RBAC2 constraint requirements.

Does this approach support mapping ABAC components to NIST SP 800-162?

Yes, this approach supports mapping ABAC components to NIST SP 800-162 by aligning Policy Decision Points, Policy Enforcement Points, and Policy Information Points. It validates attribute-driven policy patterns against the framework to ensure injection-resistant authorization artifacts.

Can I use this for planning attribute-based policy patterns from scratch?

Yes, you can use this for planning attribute-based policy patterns from scratch. It generates design-time recommendations for PDP, PEP, and PIP architecture alignment, ensuring your foundational ABAC policies meet NIST SP 800-162 governance requirements.