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 →
- Starts hereA request or outside content arrives
- Decided hereThe app or AI decides what to do
- This safeguard’s step: Acts hereThe change is madeTemporary access never expires
- Checked afterThe result is recorded and watched
- Stored throughoutRecords every step reads and writes
Other failures at this step
- AI-003A suggestion becomes a final decision
- AUT-001Automation exceeds its authority
- AUT-002A bulk change cannot be undone
- CHG-001A change bypasses approval
- CHG-003A setting bypasses change checks
- IDN-001Tools have too much access
- IDN-003Authority crosses tenant boundaries
- IDN-004Permissions are never enforced
- REL-001A timeout hides a partial success
- REL-002A retry repeats an irreversible action
- REL-003Retries make an outage worse
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.
- National Institute of Standards and Technology — Security and Privacy Controls for Information Systems and OrganizationsGUIDANCE_LEAST_AUTHORITY
- National Institute of Standards and Technology — Security and Privacy Controls for Information Systems and OrganizationsGUIDANCE_AUDITABILITY
- National Institute of Standards and Technology — Security and Privacy Controls for Information Systems and OrganizationsGUIDANCE_NIST_SP_800_53_5_2_0
Design guidance, not independently verified implementation or certification.