finding-fail-open-flaws

finding-fail-open-flaws is a skill for Claude Code from UnboundCompute/security-agent-skills. It costs 107 tokens per session (1,405 once invoked), scanned A, original, MIT.

A security review method for finding controls that grant access when something goes wrong instead of denying it. Examples include allowing access after a timeout, an error, an empty allowlist, or an unknown input.

In plain words
What is it for?
Use it to review login checks, permission checks, policy lookups, allowlists, and other access gates. It helps test what happens when dependencies fail, data is missing, or exceptions occur.
Why use it?
A check may look correct on its normal path while its failure path creates an access bypass. Examining these paths exposes authorization and authentication mistakes that ordinary success-case tests can miss.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the security-agent-skills plugin — 194 skills shipped together

Good fit Use it to review login checks, permission checks, policy lookups, allowlists, and other access gates. It helps test what happens when dependencies fail, data is missing, or exceptions occur.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unboundcompute/security-agent-skills/finding-fail-open-flaws
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add UnboundCompute/security-agent-skills --skill finding-fail-open-flaws
Clone the repo
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills

Made for: Claude Code.

Or install security-agent-skills, the plugin that ships this one along with the rest of its 194 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for finding-fail-open-flaws

README.md
[![agentmods](https://agentmods.dev/badge/skills/unboundcompute/security-agent-skills/finding-fail-open-flaws/github.svg)](https://agentmods.dev/skills/unboundcompute/security-agent-skills/finding-fail-open-flaws)
Your own site
<a href="https://agentmods.dev/skills/unboundcompute/security-agent-skills/finding-fail-open-flaws"><img src="https://agentmods.dev/badge/skills/unboundcompute/security-agent-skills/finding-fail-open-flaws/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for finding-fail-open-flaws

Your own site · 80×15
<a href="https://agentmods.dev/skills/unboundcompute/security-agent-skills/finding-fail-open-flaws"><img src="https://agentmods.dev/badge/skills/unboundcompute/security-agent-skills/finding-fail-open-flaws.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,405 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00107 $0.01405
Opus 5.5 $0.00043 $0.00562
Sonnet 5.5 $0.00021 $0.00281
Haiku 4.5 $0.00011 $0.00140

Measured 3mo ago against content hash 1585d68ba73d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

finding-fail-open-flaws scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/finding-fail-open-flaws/SKILL.md · 121 lines

How it starts

The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Finding fail-open flaws: prove the gate denies by default

A control fails open when its error, empty, or default path grants access instead of refusing it. The check looks present and even passes its happy-path tests, but on the branch that runs when something goes wrong, when a lookup errors, a list is empty, a value is missing, an exception is caught, it lets the request through. These flaws hide in the paths tests rarely cover, and they turn any upstream failure into an authorization bypass.

When to use

  • You are reviewing authentication, authorization, or any access gate.
  • A check "passes" and you have not confirmed why, or what it does on failure.
  • A control depends on an external service, a list, or an input that could be absent.

Scope check

Test gates in code you own or are authorized to test, inducing failures against your own environment. If you can't name the authorization, stop.

The loop

  1. Enumerate the gates and their failure branches. For each authentication or authorization check in scope, find not just the allow/deny decision but what happens when the check cannot be completed: the lookup throws, the policy service is unreachable, the input is null or unrecognized, the list is empty. Every gate has a failure branch; find it.

  2. Determine the default. For each gate, is the default deny (access requires an explicit, successful allow) or allow (access proceeds unless something explicitly denies)? Default-allow is the root fail-open shape: anything that prevents the deny from firing grants access. State the default for every gate.

  3. Test the error path. Force the check to fail (an unreachable dependency, a malformed input, an exception) and observe the outcome. If a caught exception, a timeout, or an error returns or falls through to allow, the gate fails open. A try/catch around a permission check that continues in the catch is the classic instance.

  4. Test the empty and wildcard cases. Does an empty allowlist match nothing (safe) or everything (fail-open)? Does a wildcard, a missing filter, or an unset scope collapse to allow-all? Check what the control does with no rules and with a catch-all rule; both are common allow-everything defaults.

Read the full file on GitHub · 121 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 121 lines · 107 tokens per session scan A 1585d68ba73d

Subscribe to this mod's changes

finding-fail-open-flaws is a skill published in the GitHub repository UnboundCompute/security-agent-skills (28 stars, last pushed 2mo ago), licensed MIT. It adds 107 tokens to every session and 1,405 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

finding-fail-open-flaws compared with skills from other repositories

finding-fail-open-flaws next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
finding-fail-open-flawsUnboundCompute/security-agent-skillsSkill282mo agoMITA107Claude Code
exploiting-linux-kernel-vulnerabilitiesxalgorix/xalgorixSkill1.6kyesterdayApache-2.0A96Claude Code, Codex
detecting-evasion-techniques-in-endpoint-logsxalgorix/xalgorixSkill1.6kyesterdayApache-2.0A97Claude Code, Codex
exploiting-format-string-vulnerabilitiesxalgorix/xalgorixSkill1.6kyesterdayApache-2.0A69Claude Code, Codex
exploiting-integer-overflow-vulnerabilitiesxalgorix/xalgorixSkill1.6kyesterdayApache-2.0A69Claude Code, Codex
detecting-fileless-attacks-on-endpointsxalgorix/xalgorixSkill1.6kyesterdayApache-2.0A86Claude Code, Codex
performing-exploit-verificationxalgorix/xalgorixSkill1.6kyesterdayApache-2.0B29Claude Code, Codex