dismiss

dismiss is a command for coding agents from omermaksutii/RugProof. It costs 19 tokens per session (526 once invoked), scanned A, original, MIT.

A command for recording that a security finding is a false alarm or an accepted risk, so it can be ignored in later checks.

In plain words
What is it for?
Use it to add a project-level or inline ignore note for a finding, including its reason and code location.
Why use it?
It prevents the same reviewed issue from appearing in every audit while requiring a new review if the related code changes.

Command

Part of the rugproof plugin — 35 commands, 23 agents shipped together

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.

agentmods
npx agentmods add commands/omermaksutii/rugproof/dismiss
Clone the repo
git clone --depth 1 https://github.com/omermaksutii/RugProof

Or install rugproof, the plugin that ships this one along with the rest of its 35 commands, 23 agents.

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 dismiss

README.md
[![agentmods](https://agentmods.dev/badge/commands/omermaksutii/rugproof/dismiss.svg)](https://agentmods.dev/commands/omermaksutii/rugproof/dismiss)
Your own site
<a href="https://agentmods.dev/commands/omermaksutii/rugproof/dismiss"><img src="https://agentmods.dev/badge/commands/omermaksutii/rugproof/dismiss.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 526 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00019 $0.00526
Opus 5 $0.00010 $0.00263
Sonnet 5 $0.00004 $0.00105
Haiku 4.5 $0.00002 $0.00053

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

Security

Grade A, and why

dismiss 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 5d 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.

commands/dismiss.md · 66 lines

What it actually says

/dismiss — false-positive feedback loop

Build a per-project ignore list. Future runs of /audit and /quick-scan skip dismissed findings.

Procedure

Step 1 — Resolve the finding

Pull $ARGUMENTS[0] from the latest audit. If not found, error out and tell the user to provide a current finding ID.

Step 2 — Capture the dismissal

Append to .rugproof.yml ignore: section:

ignore:
  - id: REENT-001
    path: "src/Vault.sol"
    line: 142
    reason: "Single trusted caller, reviewed 2025-Q4 by 0x...@..."
    dismissed_at: "2026-05-12"
    dismissed_by: "<git config user.email>"
    fingerprint: "<sha256 of file:line:vuln-class>"

The fingerprint is what future runs match against — so renames don't accidentally un-dismiss the finding (file moves are handled), and code changes around the dismissed line invalidate the dismissal (forcing re-review when the code changes meaningfully).

Step 3 — Inline option

Also offer to add an inline suppression marker:

// rugproof-ignore: REENT-001 — single trusted caller, reviewed 2025-Q4
function trustedOp() external onlyOwner { ... }

Inline is preferred for finding-specific code review trails.

Step 4 — Output

✓ Dismissed REENT-001 (Reentrancy in withdraw())
  Reason:       Single trusted caller, reviewed 2025-Q4
  Recorded in:  .rugproof.yml
  Fingerprint:  sha256:abc...

Note: if the code around src/Vault.sol:142 changes, the dismissal will auto-expire.

Why this matters

False positives are the #1 reason audit tools get abandoned. Letting users teach the tool — with reasons recorded for review trail — converts annoyance into trust.

Notes

  • Always require a reason. No silent dismissals.
  • Audit trail: dismissed findings still appear in /report --include-dismissed.
  • Don't allow dismissal of Critical findings without an extra --force flag and a more detailed reason.
  • Track who dismissed (via git config) for accountability.
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. 5d ago First seen · 66 lines · 19 tokens per session scan A 9ffe643bcaf5

Subscribe to this mod's changes

dismiss is a command published in the GitHub repository omermaksutii/RugProof (9 stars, last pushed 1mo ago), licensed MIT. It adds 19 tokens to every session and 526 once invoked, about $0.0001 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-31.