An internal red-team simulation found that a developer’s staging environment allowed unusually broad IAM permissions. Users reported that uploads sometimes succeeded even after a manual approval step was revoked. The system logs show the approval service cached an authorization decision in memory and reused it for subsequent requests until the process restarted. Which control change most directly prevents repeated access after approval is revoked?
Answer
Bind authorization decisions to a short-lived, request-scoped token or invalidate cache immediately on revocation events
Explanation
If authorization decisions are cached across requests, revocations won’t take effect promptly; request-scoped checks or immediate cache invalidation ensures access is denied after revocation.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A security engineer must choose an approach to vulnerability management for third-party libraries used by many services. What is the strongest strategy to reduce risk over time while balancing operational constraints?
View question →
You have two encryption-related requirements: (1) data must remain confidential in storage, and (2) access must be auditable with separation of duties for key operations. Which design most closely meets both?
View question →
During a log review, you see repeated authentication failures followed by a successful login from a new ASN, then unusual API calls with a service account. Which action best preserves integrity for subsequent investigation?
View question →
A threat actor gains partial access to your CI/CD pipeline. Logs show builds executed with cached credentials from an earlier job. Which remediation best addresses the underlying control failure?
View question →
In a Kubernetes environment, you discover a pod running as root in a namespace with broad permissions. Which change most effectively reduces blast radius while preserving least privilege?
View question →
A company uses a WAF in front of an application. An attacker successfully bypasses it by exploiting an application-layer logic flaw after passing validation. What is the most appropriate security posture response?
View question →