
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_locationswithfix_before/fix_aftersuggestions when available).
- Cloud (app.strix.ai), pull findings with the CLI:
strix cloud vulns list --scan-id <scan-id> --json(orstrix cloud scans get <scan-id> --json | jq '.vulnerabilities', orstrix cloud vulns list --severity criticalorg-wide). Each finding carriesseverity, cwe, endpoint, method, impact, technical_analysis, poc_description, poc_script_codeand, for code findings,code_file/code_diff/code_before/code_after. After a fix is verified, mark it withstrix cloud vulns update <id> --status fixed. See the managed-pentesting-with-strix skill forstrix cloud loginand 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:
- Reproduce it with the PoC from the finding file when feasible.
- 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).
- Prefer the framework's built-in defense (ORM parameterization, template auto-escaping, CSRF middleware, centralized authz) over ad-hoc sanitization.
- Keep the diff minimal and apply the repo's existing patterns. Finding files often include
fix_before/fix_aftersnippets, use them as a starting point, not verbatim.
