Authorization

From RedHatProductSecurity/prodsec-skills · View interactive version

Authorization is an AI agent skill from the GitHub repository RedHatProductSecurity/prodsec-skills. Enforce authorization checks for external data source access in AI systems. Use when designing, configuring, or reviewing access controls between AI components and external databases or data services.

How to use this skill

Skill file

Authorization for External Data Sources

Security Requirement

It MUST be verified that the principal accessing an external data source has permissions to access or modify the data. Authentication alone (knowing who the principal is) is not sufficient; authorization (what they can do) must also be enforced.

Authorization Scope

| Operation | Authorization Check |

|---|---|

| Read data | Does the principal have read permission for this specific data? |

| Write data | Does the principal have write permission? |

| Modify schema | Does the principal have administrative permissions? |

| Delete data | Does the principal have delete permission? |

| Bulk export | Does the principal have permission for bulk data access? |

Principle of Least Privilege

Each AI system component should have only the minimum data access permissions needed:

| Component | Typical Permissions |

|---|---|

| RAG ingestion pipeline | Read-only on source data |

| Inference engine | No direct data source access (goes through RAG) |

| Agent with data tools | Read-only unless write is explicitly required |

| Admin/maintenance jobs | Broader access, time-limited and audited |

Implementation Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.