Skills Agentes

Find Security Vulnerabilities In Code

Revisión de seguridad de caja blanca con IA: lee el código fuente, razona sobre el flujo de datos y la autorización, y explota lo que encuentra con PoC.

Estrellas
58.3k

en todo el repo

Actividad
61

0–100, la ruta de este skill

Actualizado
hace 5 días

último commit aquí

Commits
2

últimos 90 días

Contexto
1k tok

151 tok en reposo

Paquete
1 archivo

4 KB

Instalar

Funciona con cualquier agente que lea SKILL.md

npx -y skills add usestrix/strix --skill find-security-vulnerabilities-in-code --agent claude-code

Se instala solo en este repositorio.

Este skill makes network requests.

Qué hace

  • Lee el código fuente para modelar rutas, sinks y comprobaciones de autorización, y luego intenta explotación real en un sandbox
  • Cubre inyección, XSS, SSRF, control de acceso roto e IDOR, deserialización insegura, secretos en código y fallos de lógica de negocio
  • Cada hallazgo incluye una prueba de concepto en vez de alertas 'potenciales' de un escáner estático
  • Genera un informe, archivos por vulnerabilidad y un SARIF exportable

Úsalo cuando

  • El usuario pide escanear, revisar o auditar su código, repo o pull request en busca de vulnerabilidades

No lo uses cuando

    Qué lo activa

    Di cualquiera de estas frases y el agente debería cargar este skill.

    • Escanea este repo en busca de vulnerabilidades de seguridad
    • Audita el código de autorización en src/auth con Strix

    SKILL.md

    En inglés

    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.

    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:

    1. Add a running instance of the app. -t ./ -t http://host.docker.internal:3000 lets 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.
    2. Scope the review. Point at the risky subtree and say what matters:
      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."
      
      Tenancy model, trust boundaries, and which inputs are attacker-controlled are things the agents cannot infer reliably — tell them.

    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.

    Reproducido de usestrix/strix bajo licencia Apache-2.0. Leer esta página en markdown.

    Archivos

    1 archivo en el paquete. Solo se lee SKILL.md al activarse — las referencias se cargan si el skill decide que las necesita.

    Antes de instalar

    Añadir una instancia en ejecución de la app mejora mucho los resultados al confirmar explotabilidad en vivo.

    Detalles

    Creador
    usestrix
    Categoría
    Seguridad
    Licencia
    Apache-2.0
    Recursos incluidos
    Solo SKILL.md
    Repositorio
    usestrix/strix
    Código fuente
    Ver SKILL.md

    Etiquetas

    Más de usestrix/strix

    Este repo incluye 9 skills. Si instalas uno, normalmente ya tienes los demás.

    Pon a prueba una API REST, GraphQL o gRPC con Strix: agentes autónomos enumeran endpoints y explotan el OWASP API Security Top 10 (2023) con una PoC funcional por cada hallazgo.

    Costo de contexto al activarse
    1.5k tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 5 días
    seguridad

    Prueba una aplicación contra el OWASP Top 10:2025 con Strix: agentes de IA que intentan exploits reales y reportan solo lo probado, con PoC.

    Costo de contexto al activarse
    1.5k tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 5 días
    seguridad

    Pentestea una app web, API, código, repo, URL, dominio o IP con Strix: agentes autónomos que explotan y demuestran vulnerabilidades con PoC, por CLI autoalojada o nube gestionada app.strix.ai.

    Costo de contexto al activarse
    2.3k tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 5 días
    seguridad

    Añade escaneo de seguridad al CI/CD con Strix: cada PR recibe un pentest con IA acotado al diff que bloquea código vulnerable antes de mergear.

    Costo de contexto al activarse
    2k tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 5 días
    seguridad

    Corrige vulnerabilidades encontradas por un pentest de Strix: clasifica por severidad, parchea la causa raíz y vuelve a escanear para probar el fix.

    Costo de contexto al activarse
    1.4k tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 5 días
    seguridad

    Ejecuta un pentest gestionado de una app web o API vía la API REST de app.strix.ai, sin Docker local, clave LLM ni instalación.

    Costo de contexto al activarse
    2.1k tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 5 días
    seguridad

    Skills relacionados

    Pon a prueba una API REST, GraphQL o gRPC con Strix: agentes autónomos enumeran endpoints y explotan el OWASP API Security Top 10 (2023) con una PoC funcional por cada hallazgo.

    Costo de contexto al activarse
    1.5k tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 5 días
    seguridad

    Punto de entrada para revisar la seguridad de toda una aplicación con Strix: decide qué test aplicar a cada activo (código, app, API, CI) y convierte los resultados en un plan de remediación priorizado.

    Costo de contexto al activarse
    1.1k tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 5 días
    seguridad

    Añade escaneo de seguridad al CI/CD con Strix: cada PR recibe un pentest con IA acotado al diff que bloquea código vulnerable antes de mergear.

    Costo de contexto al activarse
    2k tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 5 días
    seguridad