Control Packs · IDN-002 · v1.0.0

Lend access.
Make sure it ends.

Grant elevated access for a task. Approve it. Let it expire on its own.

Temporary Privilege Expiry

In review

See it in an app

Where this goes wrong in an app.

Pick the kind of app closest to yours. Amber marks where the problem happens. Blue marks where your decision applies.

In the failure map

Which step of a system this protects.

Most systems built with AI agents follow these steps. This safeguard covers the highlighted one. See the map for your own system →

  1. Starts hereA request or outside content arrives
  2. Decided hereThe app or AI decides what to do
  3. This safeguard’s step: Acts hereThe change is madeTemporary access never expires
  4. Checked afterThe result is recorded and watched
  • Stored throughoutRecords every step reads and writes

Reference and context

Pack reference · v1.0.0

What this safeguard addresses

Use scoped, time-limited privileged grants with approval, expiry, revocation, and failure visibility.

  • Temporary authority becomes persistentA privileged integration retains access after the task, incident, or approval window that justified it has ended.
Matching rule
{
  "all": [
    {
      "characteristic": "PRIVILEGED_ACTION",
      "equals": true
    },
    {
      "characteristic": "EXTERNAL_DEPENDENCY",
      "equals": true
    }
  ]
}

Decisions you need to make

Leave a decision open when its value is unknown. Confirm a suggested value only if it matches your intended design.

  • Which privileged operations require temporary approval and automatic expiry?The system must not assume that an external integration needs permanent authority.IDN-002-Q1 · scope

Requirements for the coding agent

  • IDN-002-R1Separate privileged operations, require explicit approval, expire grants automatically, and record grant and revocation outcomes.

Tests and evidence to keep

  • PRIVILEGE_EXPIRY_TESTVerify approval, allowed operation, denied operation, expiry, revocation, and dependency failure behavior.
  • configuration_or_policy
  • implementation_location
  • test_result
  • telemetry_definition

Passing a published example shows that example's behavior. A coding agent's implementation report remains a claim until its evidence is independently checked.

Related guidance

  • AC-2 · Account ManagementNIST_SP_800_53_5_2_0 · partially addressesApproval, expiry, grant, and revocation events address a defined privileged-access lifecycle; they do not cover all account management.
  • AC-6 · Least PrivilegeNIST_SP_800_53_5_2_0 · partially addressesTemporary, purpose-bound privileged access limits authority; it does not establish complete least privilege.
  • AU-12 · Audit Record GenerationNIST_SP_800_53_5_2_0 · partially addressesGrant and revocation events provide focused audit generation for privilege changes; they do not cover all audit records.

These references cover related topics. They do not mean this pack satisfies a framework, certifies your project, or has government endorsement.

Review your project

Design guidance, not independently verified implementation or certification.