/auditsentry:false-positive-feedback-loopfrom auditsentry
Manages user-dismissed audit findings by checking against .auditsentry.yml ignore list, inline ignore markers, and file path globs before reporting. Supports fingerprint-based dismissal tracking with code change detection and forced re-surfacing.
Ships in auditsentry. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
False positives are the #1 reason audit tools get abandoned. This skill governs the state-persistent mechanism for "user told me this is fine, don't report it again."
.auditsentry.yml ignore: sectionignore:
- id: REENT-001
path: "src/Vault.sol"
line: 142
fingerprint: "sha256:abc..."
reason: "Single trusted caller, reviewed 2025-Q4"
dismissed_at: "2026-05-12"
dismissed_by: "[email protected]"
// auditsentry-ignore: REENT-001 — single trusted caller
function trustedOp() external onlyOwner { ... }
Effective for next ~5 lines.
.auditsentryignore (file glob)# .auditsentryignore
test/**
script/**
mocks/**
Skip these paths entirely.
For each candidate finding F:
Compute sha256(file_path + ":" + line + ":" + vuln_class). This is the unique identifier for "this exact issue at this exact location in this code shape."
.auditsentry.yml ignore: → check freshness.line) have changed since dismissed_at (use git blame or content hash) → fingerprint invalidates, re-surface F with note "previously dismissed but code has changed".Scan within 5 lines above F's location for // auditsentry-ignore: <id>.
If F's file path matches .auditsentryignore → skip F.
If F survived all checks, include in the report. If it was previously dismissed but is now re-surfaced due to code change, note this:
[REENT-001 | High] Reentrancy in withdraw (re-surfaced)
Previously dismissed: 2025-Q3 (by [email protected], reason "single trusted caller")
Re-surfaced because: code around line 142 changed since dismissal
Every dismissed finding is still queryable via /report --include-dismissed. This:
/audit --no-ignore ignores the ignore list. Useful for fresh re-audits or external review.
/dismiss CRITICAL-xxx requires --force flag and --reason of ≥30 chars.A first-run audit produces 30 findings, of which 5 are real and 25 are false positives. Without a feedback loop, the user dismisses them by not running the tool again. With the loop, the user dismisses the 25 with reasons, and the next run produces 5 — the real ones. Trust compounds.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub iktok90-design/ai-smart-contract-auditor --plugin auditsentry45 skills in this plugin
/access-controlDetect missing or incorrect access control — missing modifiers, wrong role checks, privileged function exposure, public initializers, and role-escalation paths. Activate on any function that mutates state, transfers funds, mints tokens, sets admin parameters, upgrades implementations, or pauses/unpauses./approval-issuesDetect ERC-20 approval pitfalls — approve race (front-run), missing safeApprove, infinite approvals, approval-without-revoke, Permit2 misuse, max-approval to untrusted contracts. Activate on `approve`, `safeApprove`, `permit`, `forceApprove`, `Permit2`, `IERC20.allowance`./caching-and-incrementalAlways-on meta-skill — cache audit results per file by content hash so unchanged files aren't re-analyzed on subsequent runs. Activate on every /audit, /quick-scan, /audit-changes invocation.Other plugins' skills for the same job