Command Palette

Search for a command to run...

Back to skills
skill № 95248

code-finding-verification

False-positive elimination using five-check verification, devil's advocate review, and evidence-weighted adjudication

FreeNo executable scripts
VigilOSSby VigilOSS★ 35 GitHub stars

Install code-finding-verification in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Code Finding Verification

Together with agent/shared-constraints-code.md §5, this skill owns the code verification contract: independently re-read the current sealed path, charge PASS and KILL the same evidence cost, apply the net-new capability ceiling, and preserve genuine uncertainty for adjudication. The web hunting rules are not required. agent/agents/code-vuln-verifier.md owns report-readiness, re-banding, honest_bounds, and the closing verbs; the shared specialist core owns approval and receipt discipline.

When to Activate

Phase 3 of the code pipeline, on every finding from vulnerability and variant analysis before it is reported. Inputs: the findings with stored source identity and evidence, the current Code Source Identity and structural-index manifest, and the threat-model envelope when current: true with matching generation/digest; pattern references, variant context, and clipped summaries are supplemental. Never trust hunter annotations without reading the source.

Tools

Read, rg, Glob, and ctags beneath the sealed snapshot_path; Git provenance only from the repo envelope. Name the lookups you ran in each memo (audit_metadata.cross_ref_usage when recorded). Before building native source or using sanitizers, load agent/skills/code-fuzz-campaign/SKILL.md Generation-Bound Build Workspace and Source-build and allocator preflight, and record the toolchain and allocator settings with the receipt. Keep a diagnostic allocator configuration separate from the production configuration that supports the impact claim: a crash under one does not prove behavior under the other.

Methodology — Five-Check Protocol

Every check returns PASS, KILL, DOWNGRADE, or ESCALATE. PASS and KILL carry the same evidence cost: PASS cites supporting evidence at the hunter's rigor bar, KILL cites counter-evidence at the same bar. DOWNGRADE applies when counter-evidence reduces exploitability without eliminating the bug. ESCALATE routes to evidence adjudication when the evidence fits neither PASS nor KILL — absence of counter-evidence is not PASS evidence, and plausibility of counter-evidence is not KILL evidence.

Finish reproduction and evidence documentation on the same finding before the terminal verdict. Once cited code settles a check, move on; when source cannot settle it, record the specific ambiguity and escalate instead of re-arguing it.

Check 1: Target-Kind Product Reachability

Apply agent/shared-constraints-code.md §5 per surface kind: verify the shipped surface first, then attacker control separately, because an application-only caller search silently kills valid library, CLI, and plugin defects. Check the threat model's product surface against sealed build targets, export manifests, installed headers, registration code, and docs; its trusted-inputs set is advisory and never a KILL alone, so read the writer. Record control, asset, and unproved consumer preconditions separately.

  • PASS: entry evidence and concrete path for the applicable surface, not just a symbol name.
  • DOWNGRADE: path and defect proved; the claimed attacker role, asset, or blast radius is not.
  • KILL: hardcoded data defeats the claimed application path (adjudicate any independent public-API invariant claim separately); no applicable shipped entry; a trigger that violates documented preconditions or needs impossible state; a test-only helper. A harness calling the supported API is evidence, not the entry.
  • ESCALATE: an indirect call, runtime-registered callback, or plugin-dispatched sink that source cannot close.

Check 2: Upstream Guards

Read three to five caller levels up the application, CLI, or plugin path yourself; for a library, read the API implementation and documented preconditions down to the sink (an absent consumer is not a guard). Guards hide in request validation, protocol framing, gateway or middleware limits, configuration caps, and macro wrappers.

  • KILL: a complete guard on all paths, cited ("validate_request() at request.c:85").
  • DOWNGRADE: a partial guard — never KILL on one; an unguarded path remains.
  • PASS: the callers or API code examined (file:line) with no effective guard, or a present check shown not to constrain the trigger.
  • ESCALATE: completeness depends on a conditional macro, an unverified caller invariant, or a compile-time predicate over unverified config.

Check 3: Build Configuration

Is the code compiled into the default production build? Check #if/#ifdef, #[cfg(...)], //go:build, build-system feature flags, platform directories, and each guarding symbol's default. A test-only call site does not make an internal helper reachable, while a harness can reproduce a defect in an API the release build exports.

  • PASS: the build-file, defconfig, or release-profile line, or the search showing no gate.
  • KILL: debug- or test-only (#ifdef DEBUG, #[cfg(test)], `FUZZING_BUILD_MODE_UNSAFE_FOR_PROD
Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the code-finding-verification skill do?

False-positive elimination using five-check verification, devil's advocate review, and evidence-weighted adjudication

How do I install the code-finding-verification skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the code-finding-verification skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare code-finding-verification with