agentleFS
VulnetixVulnetix/pix-ai-coding-assistant/skills/verify-fix/SKILL.md

verify-fix

Skill9 starsChanged 6 days agoApache-2.0View on GitHub

Post-fix verification — re-scan the repo, gate on `--exploits weaponized --severity high`, recheck the specific CVE against the new installed version, write the verdict to `.vulnetix/memory.yaml`. Use when confirming a fix landed, validating a version bump did not introduce regressions, or producing a clean-scan attestation for compliance.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run after fix (or any manual remediation) to confirm the vulnerability is gone and no regressions appeared.

    line 34
  2. Very specific:

    Read .vulnetix/capabilities.yaml and .vulnetix/memory.yaml.

    line 38
  3. Distinctive:

    If no recent change to the manifest, warn the user and proceed.

    line 47
  4. Very specific:

    If the manifest was edited but the lockfile not regenerated (npm install was skipped), the scan reports the OLD vulnerability even though …

    line 99

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Vulnetix Fix Verification Skill

Use when

  • You just applied a fix via fix and need PASS/FAIL confirmation.
  • Validating a peer-dep upgrade chain did not introduce new vulnerabilities.
  • Producing a clean-scan attestation for a compliance bundle.
  • Pre-release: confirming all triaged P1/P2 items are resolved.
  • Setting decision status from under_investigation to fixed with audit trail.

Don't use for

  • Initial scanning — use vulnetix scan or repo-impact.
  • Applying the fix — use fix first.
  • Multi-CVE upgrade verification — use @dep-upgrade-orchestrator agent.

Conventions

Follows skills/_lib/contract.md. In short: use the vulnetix_* MCP tools when the agent has them and the CLI otherwise — both shape their own output, so there is no jq step any more. Independent calls go out as concurrent Bash tool calls in one message. One trailing suggestion, not a playbook. See the contract for surface selection, output style and memory writes.

Run after fix (or any manual remediation) to confirm the vulnerability is gone and no regressions appeared.

Step 1: Load capabilities + memory

Read .vulnetix/capabilities.yaml and .vulnetix/memory.yaml. Find the entry for $ARGUMENTS. Capture: package, fixed_version, manifest path.

Step 2: Pre-flight

# Ensure the manifest changed since last scan
git diff --name-only HEAD~5 -- "<manifest_path>" 2>/dev/null

If no recent change to the manifest, warn the user and proceed.

Step 3: Run gated scan

vulnetix scan \
  --evaluate-sca \
  --severity high \
  --exploits weaponized \
  -o json

Capture exit code. Non-zero means a critical/high vuln with weaponized exploit signal still present.

Step 4: Targeted recheck of the specific CVE

vulnetix vdb fixes "$ARGUMENTS" -o json
vulnetix vdb vuln "$ARGUMENTS" -o json

Cross-check: does the new installed version fall outside the affected range?

Step 5: Render verdict

Fix verification: <PASS | FAIL>
Vuln: $ARGUMENTS
Package: <name>
Pre-fix version: <prev>
Post-fix version: <new>
Affected range: <range>
Within affected range now? <yes/no>
Scan gate (high+weaponized): <pass/fail>
Other regressions introduced: <count>  (list top 5 if any)

Step 6: Update memory

  • On PASS: set status: fixed, decision.choice: fix-applied, append event: fix-verified.
  • On FAIL: keep status: affected, append event: fix-verification-failed with reason.

Step 7: Follow-ups on FAIL

  • Suggest dep-resolve if version bump is blocked by a transitive constraint.
  • Suggest safe-harbor-resolver (agent) if multiple manifests conflict.

Edge cases & gotchas

  • The gated scan (scan --exploits weaponized --severity high) returns exit code 1 on findings — wrap with || true if you want to capture without aborting the surrounding shell.
  • Recheck calls vdb fixes and vdb vuln, or the vulnetix_remediation and vulnetix_vuln MCP tools. Both surfaces shape their own output, so a 2 MB advisory record arrives as the 10 KB a decision needs.
  • decision.choice: fix-applied is one of 8 closed-enum values — never write arbitrary strings; the dashboard skill renders them under "Unknown".
  • If the manifest was edited but the lockfile not regenerated (npm install was skipped), the scan reports the OLD vulnerability even though the manifest looks correct. Always run <pm> install before verify.
  • Cross-check: the affected range in the vuln response should EXCLUDE the post-fix version. If both old and new versions are in the range, the bump did not reach a safe version.
  • Memory write is single-consolidated at the end (with --disable-memory on inner CLI calls) — never run verify-fix concurrently from the same session.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.