← All domains

SecurityView domain

APRF-11

Authorization

Enforce who/what may invoke which models, tools, data, and actions.

Purpose

Enforce fine-grained authorization over models, prompts, corpora, tools, and actions so authenticated actors only receive the capabilities they are entitled to.

Engineering philosophy

Authentication without authorization is incomplete. Authorization decisions must be made outside the model and must apply to retrieved data and tool effects, not only to the HTTP route.

Why it matters

Confused-deputy and over-permissioned agents are primary causes of data breaches in AI systems. A model that can see everything can leak everything.

Common failures

  • Authorization checked at UI only; API and agent paths bypass it
  • Retrieval without document-level ACLs
  • Tools inheriting broad service roles
  • Tenant isolation bugs in multi-tenant AI products

Mandatory checks

Gate controls. Each check is pass/fail via artifact + pass condition. Expected from the annotated capability level when the system meets the minimum criticality tier.

  • AUTHZ-M1L3 · DefinedTier 2 · Productionautomated

    Authorization shall be enforced server-side for AI features, tools, and retrieval

    Artifact
    Authz middleware/policy tests for AI feature, tool, and retrieval entry points
    Pass condition
    Automated tests cover 100% of production AI feature, tool, and retrieval entry points; unauthenticated or unauthorized callers are denied at 100% in the suite
  • AUTHZ-M2L3 · DefinedTier 2 · Productionautomated

    Multi-tenant isolation shall be tested for AI data and memory paths

    Artifact
    Cross-tenant attack test suite results for AI data stores and memory APIs
    Pass condition
    0 successful unauthorized cross-tenant reads/writes across ≥10 automated attack cases on AI data and memory paths
  • AUTHZ-M3L3 · DefinedTier 2 · Productionhybrid

    Least-privilege roles shall be defined for agents and automation identities

    Artifact
    Role matrix for every production agent/automation identity + IAM/policy export
    Pass condition
    100% of production agent/automation identities appear in the role matrix with non-admin default roles; quarterly (or ≤90-day) access review recorded with 0 unexplained privilege escalations
  • AUTHZ-M4L5 · OptimizingTier 3 · Mission Criticalmanual

    Attribute-based controls shall govern access to sensitive document classes

    Artifact
    ABAC/policy config + sample allow/deny decisions for sensitive classes
    Pass condition
    PASS if sensitive document classes are enumerated and policy denies unauthorized class access in tests; inventory matches production classes

Evidence required

  • Authorization model documentation
  • Tenant isolation test results
  • Role matrices for agents and tools

Severity & risk

Severity
critical
Impact if violated
Risk level
critical
Typical residual risk (impact × likelihood)

Engineering best practices

  • Propagate user context into tool calls; avoid confused deputy
  • Deny by default for new tools and corpora
  • Re-check authorization at each hop in multi-agent workflows
  • Separate read and write capabilities aggressively

Automatic validations

  • Automated cross-tenant access attempt tests
  • CI policy checks for IAM/tool scopes
  • Runtime denials logged and alertable

Manual validations

  • Security review of new high-impact tools
  • Periodic privilege creep audits

Examples

  • A sales agent can query CRM records for the caller's accounts only
  • An internal coding agent cannot access production secrets vaults

References

Crosswalks

  • Secure & Resilient Secure and Resilient

    NIST AI Risk Management Framework · aligns-with

  • LLM06 Excessive Agency

    OWASP Top 10 for Large Language Model Applications · supports

  • CC6 Logical and Physical Access

    SOC 2 Trust Services Criteria · evidence-for

  • Security Security

    AWS Well-Architected Framework · aligns-with

Future evolution

Portable authorization tokens that travel with agent tasks across organizational boundaries.