Every authorisation system eventually faces a call it cannot evaluate — the policy service is slow, a dependency is down, the request is malformed. In that moment your real policy is not the rules you wrote. It is the default you chose.
The short answer
Fail closed — refuse the call — for anything that spends, writes, sends or deletes, and for any call whose cost or authority cannot be established. Fail open, if anywhere, only for read-only, low-sensitivity actions with strict rate limits and a loud log entry, and even there prefer a cached or degraded answer to a fresh unchecked call. Make the choice per action class in written policy, rehearse the gateway-down scenario, and count fail-open events as incidents to review, not as uptime to celebrate.
Check your own setup as you read: run the free Spend Guard self-check or test a policy in the playground — five minutes, no signup, and the gaps it names map to the controls below.
Worked example: the outage that opened every door
During a 40-minute policy-service outage, a fictional ticketing platform, Lantern Desk, discovered its gateway defaulted to allow-with-logging 'for availability'. Its support agent kept working — and, unchecked, issued 212 refunds above its normal approval threshold, totalling $6,300, because the amount rule lived in the service that was down. The refunds were legitimate customers with real complaints, which made recovery worse: the company honoured most of them and absorbed the cost as the price of a default nobody remembered choosing.
Lantern Desk reclassified its actions. Refunds, sends and writes now fail closed: during an authorisation outage they queue with a customer-facing 'we are checking' state rather than executing. Reads fail open to a cached knowledge base with fresh-call rate limits, and every fail-open event pages the on-call. In the next outage — 25 minutes, three months later — the agent answered from cache, queued 14 actions, issued nothing, and the postmortem was one paragraph long.
The default is a policy decision, so make it deliberately
Fail-open defaults are usually inherited, not chosen: a framework's error handling, a load-balancer health check, a well-meant availability decision made by someone picturing read traffic. Audit what your stack actually does when the policy layer times out, errors, or returns something unparseable — test it, do not read it in documentation — and then re-decide per action class with the incident costs in view. Lantern Desk's $6,300 was not a bug in their rules; it was the correct execution of a default they had never examined.
Classify by consequence, not by convenience
The classification question is what an unchecked call can do. Money movement, external sends, writes and deletes fail closed — the cost of a wrong allow is money, data or trust, and it is usually irreversible. Pure reads of low-sensitivity data are the only serious fail-open candidates, and even they leak information at scale if unlimited, so they get rate limits and caching rather than a free pass. If an action class is hard to classify, that difficulty is itself information: it is probably two classes wearing one name, and should be split.
Failing closed must still fail gracefully
Fail closed does not mean fail rudely. A refused-for-outage action should queue with a clear state the user or customer can see, an agent response that explains a delay without inventing a reason, and an automatic retry of the authorisation when the policy layer recovers — with the original request intact, not a fresh guess. Teams fear fail-closed because they picture dead ends; the dead end is a design choice, not a property of the default.
Log and count every default event
Each time the default fires, that is an authorisation that did not happen, and it belongs in the decision log marked as such — allowed-by-default or denied-by-default, with the cause. Review the count weekly. A default that fires often means your policy layer's reliability is now a security property, and it should be engineered and budgeted like one, with the same seriousness as the rules it stands in for.
The outage game day
Once the defaults are set, prove them under a simulated policy-layer outage in staging — then, when the team is ready, in production during a quiet window with the on-call watching. Measure what actually happens per action class: which calls queue, which serve from cache, which page, and whether the decision log records the default events as designed. Every real stack has at least one surprise in this exercise — a health-check path that bypasses policy, a retry that converts a refusal into a loop. Finding it on game day is the entire point: the alternative is finding it, as Lantern Desk did, at $6,300 during the unplanned version.
Five actions to set failure defaults deliberately
- Test what your gateway actually does when the policy layer times out or errors — per action class, not from documentation.
- Set fail-closed as the default for spends, writes, sends and deletes, and for any call whose cost cannot be established.
- Allow fail-open, if at all, only for rate-limited, low-sensitivity reads, preferably served from cache.
- Design the fail-closed path to queue gracefully with an honest user-facing state and automatic re-authorisation on recovery.
- Log every default event with its cause and review the count weekly.
Source note and related guides
Figures in the worked example are illustrative, drawn from a fictional company created for this guide; the controls, failure patterns and procedures described are the gateway's documented behaviour — see the Agent Auth Gateway documentation and the policy patterns in allowlists vs denylists, spend caps and the agent kill switch. Reviewed by the Ingenious AI team, 2026-11-14.
Sources
- NIST AI Risk Management Framework (AI RMF 1.0), the voluntary framework for managing AI risk across design, development and use: nist.gov, 2023
- OWASP Top 10 for Large Language Model Applications, the OWASP GenAI Security Project's risk list for LLM and agent systems: owasp.org, 2025
- RFC 6749, The OAuth 2.0 Authorization Framework, the IETF standard behind scoped, expiring access tokens: rfc-editor.org, 2012