[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M785PW8EPMNN5SH43RVGHFFE":3,"skill-same:01M785PW8EPMNN5SH43RVGHFFE":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":14,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M785PW8EPMNN5SH43RVGHFFE","fix-security-vulnerabilities-with-strix",null,"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.","freeforall1932-design\u002Fskills-repo","freeforall1932-design","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F300004558?v=4","01M7857WA4YZEAY92CZK81AS79","free for all","01M7857WAYPXNBAZFGX3FYT8FD",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Ffreeforall1932-design\u002Fskills-repo\u002Fblob\u002Fmain\u002Fone-skill\u002Fupstream\u002Fstrix\u002Fskills\u002Ffix-security-vulnerabilities-with-strix\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: fix-security-vulnerabilities-with-strix\ndescription: 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.\nlicense: Apache-2.0\nmetadata:\n  author: usestrix\n  homepage: https:\u002F\u002Fdocs.strix.ai\n---\n\n# Fix Strix findings and verify\n\nTurn validated Strix findings into minimal, correct fixes — and prove they work by re-scanning.\n\n## 1. Triage\n\nGet the findings from wherever the scan ran:\n\n- **OSS CLI** — artifacts in `strix_runs\u002F\u003Crun-name>\u002F`:\n  - `vulnerabilities\u002F*.md` — one finding per file: description, severity, PoC steps or script, affected code locations, remediation guidance.\n  - `vulnerabilities.json` — the same findings as JSON (ids, severity, CWE\u002FCVE, `code_locations` with `fix_before`\u002F`fix_after` suggestions when available).\n- **Cloud (app.strix.ai)** — pull findings with the CLI: `strix cloud vulns list --scan-id \u003Cscan-id> --json` (or `strix cloud scans get \u003Cscan-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`\u002F`code_diff`\u002F`code_before`\u002F`code_after`. After a fix is verified, mark it with `strix cloud vulns update \u003Cid> --status fixed`. See the **managed-pentesting-with-strix** skill for `strix cloud login` and scopes.\n\nOrder 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.\n\n## 2. Fix\n\nFor each finding:\n\n1. Reproduce it with the PoC from the finding file when feasible.\n2. 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).\n3. Prefer the framework's built-in defense (ORM parameterization, template auto-escaping, CSRF middleware, centralized authz) over ad-hoc sanitization.\n4. Keep the diff minimal and apply the repo's existing patterns. Finding files often include `fix_before`\u002F`fix_after` snippets — use them as a starting point, not verbatim.\n\nCommon finding classes and expected fixes: injection → parameterization\u002Fescaping at the sink; IDOR\u002Fbroken access control → object-level authorization checks; SSRF → allowlist + block internal ranges; XSS → context-aware output encoding + CSP; secrets exposure → rotate the secret AND remove it from code\u002Fhistory; auth issues → fix the server-side check (never client-side).\n\n## 3. Verify by re-running Strix\n\nAfter fixing, re-scan scoped to the fixed area and confirm the finding is gone. Verify in whichever environment you scanned (or both):\n\n**OSS CLI:**\n```bash\n# Re-test just the changed files (fast). Resolve the repo's real default\n# branch instead of assuming origin\u002Fmain (many repos use master\u002Fdevelop).\n# Avoid the current branch's own upstream as the base — its merge base with\n# HEAD would be HEAD, giving an empty diff and a falsely clean result.\nDIFF_BASE=$(git symbolic-ref --quiet --short refs\u002Fremotes\u002Forigin\u002FHEAD 2>\u002Fdev\u002Fnull)\n# origin\u002FHEAD can be a dangling symbolic ref — keep it only if its target exists.\ngit rev-parse --verify --quiet \"$DIFF_BASE\" >\u002Fdev\u002Fnull 2>&1 || DIFF_BASE=\"\"\nif [ -z \"$DIFF_BASE\" ]; then\n  for b in origin\u002Fmain origin\u002Fmaster origin\u002Fdevelop; do\n    git rev-parse --verify --quiet \"$b\" >\u002Fdev\u002Fnull && DIFF_BASE=\"$b\" && break\n  done\nfi\n# No silent fallback: a guess like HEAD~1 would cover only the last commit of a\n# multi-commit fix branch. If no base resolves, ask the user for the base branch\n# (or use the focused --instruction verification below, which needs no diff base).\n[ -n \"$DIFF_BASE\" ] || { echo \"Set DIFF_BASE to the branch your fix will merge into.\" >&2; exit 1; }\nstrix -n -t .\u002F --scan-mode quick --scope-mode diff --diff-base \"$DIFF_BASE\" --max-budget 5\n\n# Or re-test with the original finding as focus (no diff base needed)\nstrix -n -t .\u002F --instruction \"Verify the SQL injection in app\u002Fapi\u002Fsearch.py is fixed. Original PoC: \u003Cpoc>\" --max-budget 5\n```\nExit codes: `2` = findings remain (read the new `strix_runs\u002F\u003Crun>\u002Fvulnerabilities\u002F` and iterate); `0` = clean **for what was analyzed**. Before trusting a `0`, confirm the run wasn't cut short — check `run.json` for a completed status and compare its `llm_usage.cost` with `--max-budget`: a hard budget stop leaves `status: \"stopped\"`, but a run that wrapped up on a budget warning records `\"completed\"` with partial coverage. Give verification enough budget to finish, and prefer re-running the specific PoC as the ground-truth signal.\n\n**Cloud:** rerun with the same config and re-poll, then confirm the finding no longer appears:\n```bash\nnew_id=$(curl -sS \"$BASE\u002Fscans\u002F$scan_id\u002Frerun\" \"${auth[@]}\" -X POST | jq -r .scan_id)\n# poll GET \u002Fscans\u002F$new_id until completed, then check its vulnerabilities[]\n```\nOr, if the cloud scan came from a repo\u002FPR, trigger a fresh PR review on the fix branch (`POST \u002Fpr-reviews\u002Fstart`). The platform also retests a single finding directly: `POST \u002Fapi\u002Fv1\u002Fvulnerabilities\u002F{vulnerabilityId}\u002Fretest`.\n\n- Also re-run the PoC manually when it is a simple request\u002Fscript — fastest signal.\n- Run the project's own test suite to make sure the fix does not break behavior.\n\n## 4. Report\n\nSummarize per finding: severity, root cause, fix applied (file:line), verification result (re-scan clean \u002F PoC no longer reproduces). Never include live secrets in the report; if a secret leaked, state that rotation is required.\n","# Fix Strix findings and verify\n\nTurn validated Strix findings into minimal, correct fixes — and prove they work by re-scanning.\n\n## 1. Triage\n\nGet the findings from wherever the scan ran:\n\n- **OSS CLI** — artifacts in `strix_runs\u002F\u003Crun-name>\u002F`:\n  - `vulnerabilities\u002F*.md` — one finding per file: description, severity, PoC steps or script, affected code locations, remediation guidance.\n  - `vulnerabilities.json` — the same findings as JSON (ids, severity, CWE\u002FCVE, `code_locations` with `fix_before`\u002F`fix_after` suggestions when available).\n- **Cloud (app.strix.ai)** — pull findings with the CLI: `strix cloud vulns list --scan-id \u003Cscan-id> --json` (or `strix cloud scans get \u003Cscan-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`\u002F`code_diff`\u002F`code_before`\u002F`code_after`. After a fix is verified, mark it with `strix cloud vulns update \u003Cid> --status fixed`. See the **managed-pentesting-with-strix** skill for `strix cloud login` and scopes.\n\nOrder 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.\n\n## 2. Fix\n\nFor each finding:\n\n1. Reproduce it with the PoC from the finding file when feasible.\n2. 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).\n3. Prefer the framework's built-in defense (ORM parameterization, template auto-escaping, CSRF middleware, centralized authz) over ad-hoc sanitization.\n4. Keep the diff minimal and apply the repo's existing patterns. Finding files often include `fix_before`\u002F`fix_after` snippets — use them as a starting point, not verbatim.\n\nCommon finding classes and expected fixes: injection → parameterization\u002Fescaping at the sink; IDOR\u002Fbroken access control → object-level authorization checks; SSRF → allowlist + block internal ranges; XSS → context-aware output encoding + CSP; secrets exposure → rotate the secret AND remove it from code\u002Fhistory; auth issues → fix the server-side check (never client-side).\n\n## 3. Verify by re-running Strix\n\nAfter fixing, re-scan scoped to the fixed area and confirm the finding is gone. Verify in whichever environment you scanned (or both):\n\n**OSS CLI:**\n```bash\n# Re-test just the changed files (fast). Resolve the repo's real default\n# branch instead of assuming origin\u002Fmain (many repos use master\u002Fdevelop).\n# Avoid the current branch's own upstream as the base — its merge base with\n# HEAD would be HEAD, giving an empty diff and a falsely clean result.\nDIFF_BASE=$(git symbolic-ref --quiet --short refs\u002Fremotes\u002Forigin\u002FHEAD 2>\u002Fdev\u002Fnull)\n# origin\u002FHEAD can be a dangling symbolic ref — keep it only if its target exists.\ngit rev-parse --verify --quiet \"$DIFF_BASE\" >\u002Fdev\u002Fnull 2>&1 || DIFF_BASE=\"\"\nif [ -z \"$DIFF_BASE\" ]; then\n  for b in origin\u002Fmain origin\u002Fmaster origin\u002Fdevelop; do\n    git rev-parse --verify --quiet \"$b\" >\u002Fdev\u002Fnull && DIFF_BASE=\"$b\" && break\n  done\nfi\n# No silent fallback: a guess like HEAD~1 would cover only the last commit of a\n# multi-commit fix branch. If no base resolves, ask the user for the base branch\n# (or use the focused --instruction verification below, which needs no diff base).\n[ -n \"$DIFF_BASE\" ] || { echo \"Set DIFF_BASE to the branch your fix will merge into.\" >&2; exit 1; }\nstrix -n -t .\u002F --scan-mode quick --scope-mode diff --diff-base \"$DIFF_BASE\" --max-budget 5\n\n# Or re-test with the original finding as focus (no diff base needed)\nstrix -n -t .\u002F --instruction \"Verify the SQL injection in app\u002Fapi\u002Fsearch.py is fixed. Original PoC: \u003Cpoc>\" --max-budget 5\n```\nExit codes: `2` = findings remain (read the new `strix_runs\u002F\u003Crun>\u002Fvulnerabilities\u002F` and iterate); `0` = clean **for what was analyzed**. Before trusting a `0`, confirm the run wasn't cut short — check `run.json` for a completed status and compare its `llm_usage.cost` with `--max-budget`: a hard budget stop leaves `status: \"stopped\"`, but a run that wrapped up on a budget warning records `\"completed\"` with partial coverage. Give verification enough budget to finish, and prefer re-running the specific PoC as the ground-truth signal.\n\n**Cloud:** rerun with the same config and re-poll, then confirm the finding no longer appears:\n```bash\nnew_id=$(curl -sS \"$BASE\u002Fscans\u002F$scan_id\u002Frerun\" \"${auth[@]}\" -X POST | jq -r .scan_id)\n# poll GET \u002Fscans\u002F$new_id until completed, then check its vulnerabilities[]\n```\nOr, if the cloud scan came from a repo\u002FPR, trigger a fresh PR review on the fix branch (`POST \u002Fpr-reviews\u002Fstart`). The platform also retests a single finding directly: `POST \u002Fapi\u002Fv1\u002Fvulnerabilities\u002F{vulnerabilityId}\u002Fretest`.\n\n- Also re-run the PoC manually when it is a simple request\u002Fscript — fastest signal.\n- Run the project's own test suite to make sure the fix does not break behavior.\n\n## 4. Report\n\nSummarize per finding: severity, root cause, fix applied (file:line), verification result (re-scan clean \u002F PoC no longer reproduces). Never include live secrets in the report; if a secret leaked, state that rotation is required.\n",{"name":5,"license":15,"metadata":24,"description":7},{"author":25,"homepage":26},"usestrix","https:\u002F\u002Fdocs.strix.ai","main","fd69413366e5700923cdaf27e816a6342375913e","one-skill\u002Fupstream\u002Fstrix\u002Fskills\u002Ffix-security-vulnerabilities-with-strix","https:\u002F\u002Fgithub.com\u002Ffreeforall1932-design\u002Fskills-repo","https:\u002F\u002Fgithub.com\u002Ffreeforall1932-design","shipping product noone need or known for myself feel free to use it if useful","2026-11-02 13:54:04",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add freeforall1932-design\u002Fskills-repo --skill fix-security-vulnerabilities-with-strix",{"tool":40,"command":41},"bunx","bunx skills add freeforall1932-design\u002Fskills-repo --skill fix-security-vulnerabilities-with-strix",{"tool":43,"command":44},"pnpm","pnpm dlx skills add freeforall1932-design\u002Fskills-repo --skill fix-security-vulnerabilities-with-strix","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffreeforall1932-design\u002Fskills-repo\u002Fblob\u002Fmain\u002Fone-skill\u002Fupstream\u002Fstrix\u002Fskills\u002Ffix-security-vulnerabilities-with-strix\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M785QNETYHDCDXFE8AV3KFH9","web-app-penetration-testing","Pentest a web app or website end to end — black-box testing of a live URL, staging environment, or local dev server that finds and exploits real vulnerabilities (auth bypass, broken access control, IDOR, injection, XSS, SSRF, business logic) and proves each one with a working proof-of-concept instead of a signature match. Runs with Strix, either the self-hosted open-source CLI or the managed app.strix.ai cloud. Use when the user asks to pentest, hack, security-test, or audit their web app, website, web application, or staging site.","https:\u002F\u002Fgithub.com\u002Ffreeforall1932-design\u002Fskills-repo\u002Fblob\u002Fmain\u002Fone-skill\u002Fupstream\u002Fstrix\u002Fskills\u002Fweb-app-penetration-testing\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M785QFE2RMXMRHPHE0R7M3YW","penetration-testing-with-strix","Pentest a web app, API, codebase, repository, URL, domain, or IP with Strix — autonomous AI penetration testing that exploits and proves vulnerabilities (OWASP Top 10 and beyond — injection, XSS, SSRF, auth\u002Faccess-control flaws, IDOR, business logic) instead of just flagging them. Runs self-hosted with the open-source CLI or via the managed app.strix.ai cloud, and returns validated findings with proof-of-concept exploits (Markdown, JSON, CSV, SARIF). Use when the user asks to pentest, hack, security-scan, security-audit, or find vulnerabilities in an app, API, website, or repo.","https:\u002F\u002Fgithub.com\u002Ffreeforall1932-design\u002Fskills-repo\u002Fblob\u002Fmain\u002Fone-skill\u002Fupstream\u002Fstrix\u002Fskills\u002Fpenetration-testing-with-strix\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M785Q8Y2VM6W3KJ5QK5P6VF6","owasp-top-10-testing","Test an application against the OWASP Top 10 with Strix — autonomous AI agents that attempt real exploits for each category of the current OWASP Top 10:2025 (broken access control including SSRF, security misconfiguration, software supply chain failures, cryptographic failures, injection, insecure design, authentication failures, integrity failures, logging and alerting failures, mishandling of exceptional conditions) and report only what they could actually prove, mapped back to the category with a proof-of-concept. Also covers the OWASP API Security Top 10 (2023). Use when the user asks for an OWASP Top 10 assessment, OWASP compliance testing, or a security review mapped to OWASP categories.","https:\u002F\u002Fgithub.com\u002Ffreeforall1932-design\u002Fskills-repo\u002Fblob\u002Fmain\u002Fone-skill\u002Fupstream\u002Fstrix\u002Fskills\u002Fowasp-top-10-testing\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M785Q24K39ZEYMXENVAYKPME","managed-pentesting-with-strix","Run a managed pentest of a web app, API, repository, or local workspace on the app.strix.ai platform with the `strix cloud` CLI or REST API — no local Docker or LLM key needed. Safely review and upload local source, register assets, launch and poll scans, triage vulnerabilities, export SARIF, download compliance reports, start PR reviews, buy credits, and set up schedules or webhooks. Use for managed, continuous, scheduled, team-tracked, or sandboxed-agent security testing.","https:\u002F\u002Fgithub.com\u002Ffreeforall1932-design\u002Fskills-repo\u002Fblob\u002Fmain\u002Fone-skill\u002Fupstream\u002Fstrix\u002Fskills\u002Fmanaged-pentesting-with-strix\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M785PP7C1N489KVZYX002FEM","find-security-vulnerabilities-in-code","Find security vulnerabilities in a codebase or repository with Strix — a white-box AI security review that reads your source, reasons about the actual data flow and authorization model, then exploits what it finds in a live sandbox so every reported issue has a working proof-of-concept instead of a noisy static-analysis alert. Covers injection, XSS, SSRF, broken access control and IDOR, insecure deserialization, secrets in code, unsafe dependencies, and business-logic flaws. Use when the user asks to security-scan, security-review, or audit their code, repo, or pull request for vulnerabilities.","https:\u002F\u002Fgithub.com\u002Ffreeforall1932-design\u002Fskills-repo\u002Fblob\u002Fmain\u002Fone-skill\u002Fupstream\u002Fstrix\u002Fskills\u002Ffind-security-vulnerabilities-in-code\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M785PF3ZZSH3H7WVRM642XP2","ci-security-scanning-with-strix","Add security scanning to CI\u002FCD with Strix — GitHub Actions, GitLab CI, or any pipeline — so every pull request gets a diff-scoped AI pentest that blocks vulnerable code before it merges, with results as PR comments and SARIF uploaded to code scanning. Covers both the self-hosted open-source CLI (runs in your runner) and the managed app.strix.ai platform (GitHub\u002FGitLab app or API, no runner infra). Use when the user asks to add security scanning, SAST\u002FDAST, pentesting, vulnerability checks, or automated security review to their CI pipeline, pre-merge gate, or PR workflow.","https:\u002F\u002Fgithub.com\u002Ffreeforall1932-design\u002Fskills-repo\u002Fblob\u002Fmain\u002Fone-skill\u002Fupstream\u002Fstrix\u002Fskills\u002Fci-security-scanning-with-strix\u002FSKILL.md",[],[]]