/nightvision:verify-fixfrom nightvision
Prove a NightVision finding is fixed by replaying it and rerunning only the check that found it against the same target, instead of a full scan. Use after changing code to fix a NightVision finding, when a user asks "is it fixed", "retest this", or "verify the fix", or as the last step of ship-check. Drives the NightVision MCP `start-scan` tool with `run_only_zap_checks` or `run_only_nuclei_folders`.
Ships in nightvision. 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.
A fix is not done until NightVision fails to reproduce it. This skill closes the loop on one finding (or a few from the same check) by retesting just that check against the target that found it.
Never tell the developer a finding is fixed on the strength of the code change alone. Say "fixed in code, not yet verified" until the retest below comes back clean.
This is the one place a scan is started with start-scan instead of the run-app-security-scan harness: the harness has just created the target and refreshed its spec from source, and the retest reuses both. When that no longer holds (step 2), go back to the harness.
get-issue-details..nightvision/manifest.json in the app's source directory has them: nightvision.target_name, nightvision.project_name, nightvision.app_auth, nightvision.force_private_scan, app.target_url, and the original scan.scan_id.Replay first. Send the finding's proof-of-concept request with curl against the running app and confirm the evidence is gone (the payload no longer reflects, the error no longer leaks, the query no longer changes the response). This takes seconds and catches a fix that did not load. If the evidence is still there, the fix is not working: go back to the code.
Decide how to retest.
curl -sI that the header or flag is now right, then let the next full scan confirm it; a narrowed scan adds nothing here.run-app-security-scan with project_path instead, so Source Intelligence refreshes the spec, and check the finding in that scan.Run the narrowed scan. Call list-check-categories and find the check whose name matches the finding. Then call start-scan with:
target_name and project from the manifest;auth or auth_id), or no_auth: true if it ran unauthenticated, and force_private_scan: true if the manifest records it;run_only_zap_checks: ["<check name>"] and no_nuclei: true;run_only_nuclei_folders: ["<folder>"] and no_zap: true.Each run_only_* parameter narrows only its own engine, so leaving out no_nuclei or no_zap runs the other engine in full. If no check name clearly matches the finding, do not guess: fall back to a full run-app-security-scan. Check start-scan's input schema first: an older NightVision MCP server ignores parameters it does not know rather than rejecting them, so if run_only_zap_checks or no_nuclei is missing from the schema, tell the developer to update the server and say the retest ran wider than one check.
Wait for it. If start-scan returns scan_id_pending: true instead of a scan ID (common for local and private apps), poll list-scans for the target until the new scan appears. Then wait-for-scan until it reaches a terminal status. Keep the MCP server running for local and private apps so the relay stays up. A narrowed scan still crawls the target, so it is shorter than a full scan, not instant.
Check the result.
get-scan-paths for the new scan, filtered to the path, must list it. If it does not (auth expired, the route moved, the crawl missed it), the fix is unverified, not verified.list-issues for the new scan, filtered to the path (filter), or get-issue-occurrences with the path, method and kind. The fix is verified when the endpoint was exercised and the finding no longer appears on that path and parameter. If it still appears, compare the new evidence with the old: a different payload getting through means the fix is partial (for example, one sink was parameterized and another was not).Record the retest in .nightvision/retest.json in the app's source directory, next to the manifest, so the record and the NightVision enforcement hook know a scan ran after the fix:
{"scan_id": "<retest scan id>", "original_scan_id": "<scan.scan_id from the manifest>", "finding": "<finding name>", "endpoint": "<METHOD path>", "result": "verified", "recorded_at": "<ISO 8601 time>"}
Use "result": "still_open" or "unverified" when that is the outcome. Overwrite the file on each retest; the NightVision scan history keeps every scan.
Report in one line per finding: Verified fixed: <finding> on <method path> (retest scan <scan_id>), Still open: <finding> on <method path> (retest scan <scan_id>) with the evidence, or Unverified: <finding> on <method path> with the reason.
app-security-scan runs the full scan. scan-triage explains findings and how to validate them with curl. ship-check uses this skill for every fix made before an app is called done.
What SKILL.md sets; muted values are Claude Code's defaults
nightvision@nvsecurity is listed by nvsecurity/claude-marketplace — review the source before installing
npx claudepluginhub nvsecurity/claude-marketplace --plugin nightvision14 skills in this plugin
/api-discoveryFormer name of the source-intelligence skill, kept so that invoking api-discovery still works. Use source-intelligence instead./app-security-scanDAST-first NightVision scan for an app you just built or changed. Use when a user, or a project or org agent-instructions rule, wants a local, private, staging, or internal web app/API security-scanned. Drives the NightVision MCP `run-app-security-scan` harness./authz-reviewReview an app's object-level and function-level access control (BOLA/IDOR, broken function-level authorization, mass assignment) route by route, then write a two-user test the developer can run against their own local or dev app. Use after adding or changing routes that take object IDs, tenant or user identifiers, or admin-only actions, when a user asks "can one user see another user's data", or as part of ship-check.Other plugins' skills for the same job