Skills

Fix Strix Findings

Patches root causes of pentest findings and reruns Strix to prove each fix holds.

Install

npx skills add usestrix/strix --skill fix-security-vulnerabilities-with-strix -g -a claude-code -y
Repository
usestrix/strix73.2k
Category
Security
Updated
5d ago
License
Apache-2.0
Context cost
Lightabout 1,326 tokens
Runs scripts
No, instructions only

What it does

Fix security vulnerabilities found by a Strix pentest (open-source CLI or app.strix.ai cloud), triage by severity, patch the root cause rather than the symptom, and re-run Strix to prove each fix actually closes the exploit. Handles injection, XSS, SSRF, broken access control, IDOR, and other validated findings. Use after a Strix scan reports findings, or when the user asks to remediate, patch, or fix security issues from a strix_runs report, vulnerabilities.json, findings.sarif, or a cloud scan.

Fix Strix findings and verify

Turn validated Strix findings into minimal, correct fixes, and prove they work by re-scanning.

1. Triage

Get the findings from wherever the scan ran:

  • OSS CLI, artifacts in strix_runs/<run-name>/:
    • vulnerabilities/*.md, one finding per file: description, severity, PoC steps or script, affected code locations, remediation guidance.
    • vulnerabilities.json, the same findings as JSON (ids, severity, CWE/CVE, code_locations with fix_before/fix_after suggestions when available).
  • Cloud (app.strix.ai), pull findings with the CLI: strix cloud vulns list --scan-id <scan-id> --json (or strix cloud scans get <scan-id> --json | jq '.vulnerabilities', or strix cloud vulns list --severity critical org-wide). Each finding carries severity, cwe, endpoint, method, impact, technical_analysis, poc_description, poc_script_code and, for code findings, code_file/code_diff/code_before/code_after. After a fix is verified, mark it with strix cloud vulns update <id> --status fixed. See the managed-pentesting-with-strix skill for strix cloud login and scopes.

Order work by severity: critical → high → medium → low. Every Strix finding was validated with a working proof-of-concept, so do not dismiss findings as false positives without re-testing the PoC yourself.

2. Fix

For each finding:

  1. Reproduce it with the PoC from the finding file when feasible.
  2. Fix the root cause, not the specific payload (parameterize every query instead of blocking one string, and enforce authorization in the handler instead of hiding the endpoint).
  3. Prefer the framework's built-in defense (ORM parameterization, template auto-escaping, CSRF middleware, centralized authz) over ad-hoc sanitization.
  4. Keep the diff minimal and apply the repo's existing patterns. Finding files often include fix_before/fix_after snippets, use them as a starting point, not verbatim.
Read the whole SKILL.md on GitHub

More in Security