find-security-vulnerabilities-in-code
Qué hace
Esta skill revisa el código fuente en busca de debilidades de seguridad e intenta explotar cada una que encuentra. Es para desarrolladores y revisores de seguridad que quieren una lista corta de problemas confirmados.
Cuándo usarla
- ✓Cuando alguien quiere una revisión de seguridad de un repositorio o servicio antes de publicarlo.
- ✓Cuando el código gestiona inicios de sesión, permisos o datos de usuarios y necesita revisión.
- ✓Cuando una larga lista de alertas de un escáner debe reducirse a problemas reales.
Link de la skill
https://github.com/usestrix/strix/blob/main/skills/find-security-vulnerabilities-in-code/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“¿Puedes revisar nuestro código del backend en busca de problemas de seguridad? Solo quiero los problemas que puedas confirmar que funcionan de verdad.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente lee el código para conocer sus rutas y comprobaciones de permisos, y luego intenta ataques reales en un entorno de pruebas aislado. Cada problema informado llega con una prueba de concepto que funciona.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Find security vulnerabilities in code
White-box security review with Strix: the agents read the source to build a model of routes, sinks, and authorization checks, then attempt real exploitation. Findings come with a proof-of-concept, so the output is a short list of proven issues rather than the hundreds of "potential" hits a pattern-matching scanner produces.
Install, LLM setup, all flags, and the managed-cloud path are in the penetration-testing-with-strix skill. For a run with no Docker and no LLM key, the same binary drives the managed platform: strix cloud login, then strix cloud scans start ... (details in managed-pentesting-with-strix).
Run it
# Local working tree
strix -n -t ./ --scan-mode standard --max-budget 15
# A GitHub repo directly
strix -n -t https://github.com/org/app --max-budget 15
# Monorepo: point at the service that matters, not the whole tree
strix -n -t ./services/checkout --max-budget 20
# Only what a branch changed (whole-repo review is wasteful on a large repo)
strix -n -t ./ --scope-mode diff --diff-base origin/main --max-budget 10
A local path is mounted into the sandbox writable, so the agents can modify it. Run against a clean checkout.
Two things sharply improve results:
- Add a running instance of the app.
-t ./ -t http://host.docker.internal:3000lets the agents confirm exploitability against live behavior instead of reasoning about it statically — this is the difference between "this looks unsafe" and a validated finding. If nothing is running, static-only findings should be described as unconfirmed. - Scope the review. Point at the risky subtree and say what matters:
Tenancy model, trust boundaries, and which inputs are attacker-controlled are things the agents cannot infer reliably — tell them.strix -n -t ./services/api --max-budget 15 \ --instruction "Focus on the authorization layer in src/auth and every route under src/routes/admin. Multi-tenant app: tenant id comes from the JWT. Flag any query that filters by object id without also filtering by tenant."
Reviewing a pull request instead of the whole repo
For diff-scoped review of a branch or PR (and blocking merges on findings), use ci-security-scanning-with-strix — it covers diff scoping, PR comments, and SARIF upload to GitHub code scanning. The managed platform can also review PRs directly via API (managed-pentesting-with-strix).
Read the results
In strix_runs/<run>/: penetration_test_report.md (start here), vulnerabilities/*.md (one per finding, with PoC and remediation), vulnerabilities.json / .csv, findings.sarif (upload to code scanning), run.json.
Before reporting to the user, open each finding and check the PoC actually demonstrates impact. Report file and line alongside the exploit so the fix is obvious.
Exit 0 means nothing exploitable was proven in what was analyzed — not that the codebase is clean. Check run.json status and cost against --max-budget, and note which paths went unreviewed if the run was capped.
Complementary tooling
This is exploit-validated review, not an exhaustive inventory. Keep a dependency scanner (SCA) and secret scanning in place for complete coverage of known-CVE dependencies and committed credentials; use this for the logic, authorization, and injection bugs those tools structurally cannot find.
Fix and verify
Hand results to fix-security-vulnerabilities-with-strix: patch the root cause (the shared authorization helper, not the one route), then re-run Strix to prove the exploit no longer works.
Preguntas frecuentes
¿Qué tipos de problemas busca?
La skill menciona la inyección, el cross-site scripting, la falsificación de peticiones del lado del servidor, el control de acceso roto y el IDOR.
¿Debo ejecutarlo sobre una copia limpia del código?
Sí. La skill indica que una carpeta local se monta con escritura, así que los agentes pueden cambiarla, y recomienda una copia limpia.
¿Puede revisar solo lo que cambió?
Sí. La skill describe un modo de diferencias que revisa solo lo que cambió una rama, lo que va bien con repositorios grandes.
Detalles
Descripción original del autor
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
repo: usestrix/strix
Popularidad
- Estrellas en GitHub
- 73 mil
- Posición en el ranking
- #3098
- Licencia
- Apache-2.0
- Actualizada
- 30/10/2026
Comentarios
- …
Más skills de este repositorio
api-security-testing
73 milEnseña a tu agente a hacer pruebas de seguridad de una API REST, GraphQL o gRPC con Strix, centrándose en fallos de autorización y otros riesgos del OWASP API Top 10.
application-security-testing
73 milAyuda a tu agente a planificar pruebas de seguridad para un producto completo, eligiendo la prueba adecuada para cada parte, ejecutándolas y ordenando las correcciones según el riesgo real.
ci-security-scanning-with-strix
73 milEnseña a tu agente a añadir un análisis de seguridad automático a las pull requests, para que el código arriesgado se marque antes de fusionarse.
fix-security-vulnerabilities-with-strix
73 milAyuda a tu agente a convertir los hallazgos de seguridad confirmados en correcciones de código específicas, y después a repetir las pruebas para demostrar que cada ataque ya no funciona.
Skills parecidas
reverse-engineer-anything
422 milAyuda a tu agente a revisar apps y paquetes ya publicados para explicar sus funciones, comparar versiones o guiar una reconstrucción, usando la herramienta REA.
1password
394 milAyuda a tu agente a instalar la CLI de 1Password, iniciar sesión y leer o inyectar secretos sin imprimir sus valores en el chat.
healthcheck
394 milAyuda a tu agente a auditar el ordenador o servidor que ejecuta OpenClaw en busca de riesgos de seguridad, como SSH, cortafuegos, actualizaciones y copias de seguridad, y después sugerir arreglos seguros.