fail-closed-verification

fail-closed-verification is a cursor rule for Cursor from dfirtnt/Huntable-CTI-Studio. It costs 609 tokens per session, scanned A, original, MIT.

A verification rule that requires work to be checked by direct observation before it is called complete.

In plain words
What is it for?
Use it when testing changes, checking system behavior, or validating operations that might send messages, run migrations, or alter stored data. It requires risks to be identified and approval requested before potentially unsafe checks.
Why use it?
It prevents guesses from being presented as facts and reduces the risk of silently changing live data, settings, or production systems.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when testing changes, checking system behavior, or validating operations that might send messages, run migrations, or alter stored data. It requires risks to be identified and approval requested before potentially unsafe checks.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/dfirtnt/huntable-cti-studio/fail-closed-verification
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.

Clone the repo
git clone --depth 1 https://github.com/dfirtnt/Huntable-CTI-Studio

Made for: Cursor.

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 fail-closed-verification

README.md
[![agentmods](https://agentmods.dev/badge/rules/dfirtnt/huntable-cti-studio/fail-closed-verification/github.svg)](https://agentmods.dev/rules/dfirtnt/huntable-cti-studio/fail-closed-verification)
Your own site
<a href="https://agentmods.dev/rules/dfirtnt/huntable-cti-studio/fail-closed-verification"><img src="https://agentmods.dev/badge/rules/dfirtnt/huntable-cti-studio/fail-closed-verification/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 fail-closed-verification

Your own site · 80×15
<a href="https://agentmods.dev/rules/dfirtnt/huntable-cti-studio/fail-closed-verification"><img src="https://agentmods.dev/badge/rules/dfirtnt/huntable-cti-studio/fail-closed-verification.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 609 This file is loaded in full into every session.
When invoked 609 The same file — it is already loaded in full.
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.00609 $0.00609
Opus 5 $0.00304 $0.00304
Sonnet 5 $0.00122 $0.00122
Haiku 4.5 $0.00061 $0.00061

Measured 9d ago against content hash 55ee41197fd6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

fail-closed-verification 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 9d 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.

.cursor/rules/fail-closed-verification.mdc · 79 lines

How it starts

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

FAIL-CLOSED VERIFICATION PROTOCOL (MANDATORY)

Core Principle: Nothing is considered complete unless directly observed and validated. Inference, assumption, or expectation is not verification.


1. ZERO-SPECULATION POLICY

  • NEVER say: "It should work", "This likely fixes it", or similar.
  • NEVER ask the user to test something you can test yourself.
  • If something cannot be verified, explicitly state it is unverified.

2. MUTABLE DATA & LIVE CONFIG PROTECTION (CRITICAL)

Before performing ANY verification step that could:

  • Modify database records, user data, or system state
  • Update environment variables or application configuration
  • Trigger irreversible workflows or impact live/production systems
  • Send emails, notifications, payments, or external API calls
  • Execute migrations or destructive operations

You MUST:

  1. Explicitly identify the risk.
  2. Describe what data/config may change.
  3. Request user approval before proceeding.
  4. Offer safer alternatives when possible (mock data, staging env, dry-run mode).

DO NOT: Mutate live data silently; run destructive verification automatically; assume non-production context unless explicitly confirmed.

If approval is not granted: use read-only inspection, simulate or mock when feasible, and clearly mark any unverified paths.


3. REQUIRED VERIFICATION CHECKPOINTS

For ANY change, all applicable checkpoints must pass:

  • [A – Reproduction] If fixing a bug, reproduce first; capture exact failing behavior (UI, console, network, logs).
  • [B – Implementation] Apply the fix.
  • [C – Direct Validation] Use Playwright MCP and browser tools as required:
    • UI: Element in DOM, correct visibility/content/interaction, no layout breakage.
    • Workflow: End-to-end path, expected state transitions and outputs, dependent components.
    • Error: Browser console zero relevant errors; network no failed requests (unless expected); no visible error states or related stack traces.

Read the full file on GitHub · 79 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. 9d ago First seen · 79 lines · 609 tokens per session scan A 55ee41197fd6

Subscribe to this mod's changes

fail-closed-verification is a cursor rule published in the GitHub repository dfirtnt/Huntable-CTI-Studio (11 stars, last pushed yesterday), licensed MIT. It adds 609 tokens to every session, about $0.0030 per session on Opus 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-08-30.