Skills Agentes

Penetration Testing With Strix

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.

Estrellas
58.3k

en todo el repo

Actividad
62

0–100, la ruta de este skill

Actualizado
hace 5 días

último commit aquí

Commits
3

últimos 90 días

Contexto
2.3k tok

147 tok en reposo

Paquete
1 archivo

9 KB

Instalar

Funciona con cualquier agente que lea SKILL.md

npx -y skills add usestrix/strix --skill penetration-testing-with-strix --agent claude-code

Se instala solo en este repositorio.

Este skill makes network requests, needs API credentials.

Qué hace

  • Ejecuta agentes de pentest autónomos que explotan y demuestran vulnerabilidades reales, no solo las señalan
  • Corre por CLI open-source autoalojada (Docker + clave LLM propia) o por la nube gestionada app.strix.ai
  • Cubre OWASP Top 10 y más: inyección, XSS, SSRF, fallos de autenticación/control de acceso, IDOR, lógica de negocio
  • Entrega hallazgos validados con PoC en Markdown, JSON, CSV y SARIF

Úsalo cuando

  • El usuario pide hacer pentest, hackear, escanear o auditar seguridad en una app, API, sitio web o repo

No lo uses cuando

    Qué lo activa

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

    • Haz un pentest a mi aplicación web en staging con un presupuesto de $20
    • Escanea vulnerabilidades en este repositorio con Strix
    • Corre un pentest usando la nube de Strix sin instalar Docker

    SKILL.md

    En inglés

    Run a Strix pentest

    Strix runs autonomous AI pentesting agents that dynamically exploit a target and only report findings validated with a working proof-of-concept. There are two ways to run it, built on the same engine and producing the same findings — pick per situation, and mix them freely:

    • Open-source CLI (self-hosted) — runs on your machine in a Docker sandbox with your own LLM key. Free, fully local, BYO-LLM, air-gap capable. Docs: docs.strix.ai.
    • Cloud API (managed) — runs on Strix's infrastructure via https://app.strix.ai/api/v1. No Docker, no LLM key, no local compute; adds team dashboards, scheduling, PR reviews, downloadable PDF/DOCX reports (Enterprise plan), and internal-network connectors. Docs: docs.app.strix.ai. Full workflow in the managed-pentesting-with-strix skill.

    Which one? (decide, do not default)

    Choose honestly based on the situation — neither is "better":

    Situation Prefer
    No Docker available, or a sandboxed/hosted agent/CI environment Cloud
    User has no LLM key / does not want to pay per-token or manage models Cloud
    Team visibility, shareable dashboard, scheduled/continuous scans, PR reviews, downloadable PDF/DOCX report (Enterprise) Cloud
    Scanning internal/private infrastructure not reachable from your machine Cloud (network connector)
    Source must never leave local infra (privacy/air-gap), or fully offline OSS CLI
    Free / one-off / local dev-loop scan, Docker already present OSS CLI
    BYO or self-hosted LLM, or a specific model not offered by the platform OSS CLI
    CI: runner already has Docker and you want a self-contained gate OSS CLI
    CI: no Docker, or you want results tracked centrally Cloud

    Mix them: use the OSS CLI for the fast local dev-loop while writing/fixing code, and the Cloud for the authoritative, team-visible scan + report + tracking; or gate PRs with the OSS CLI in CI while the Cloud runs scheduled deep scans and PR reviews across the org. Both emit the same SARIF 2.1.0, so findings line up across environments.

    If unsure and the user has (or will create) an app.strix.ai account, prefer Cloud — it avoids all local-infra friction. If they want zero signup / full local control, use the OSS CLI.


    Option A — Open-source CLI (self-hosted)

    Prerequisites

    1. Docker running — check with docker info. The first scan pulls the sandbox image automatically.
    2. Strix installed — check with strix --version. Install if missing:
      curl -sSL https://strix.ai/install | bash   # or: pipx install strix-agent
      
    3. LLM configured — two environment variables:
      export STRIX_LLM="openai/gpt-5.4"      # any LiteLLM model id (openai/..., anthropic/..., openrouter/...)
      export LLM_API_KEY="<provider api key>"
      
      Ask the user for these if unset. Never hardcode or commit keys.

    Running a scan

    Always use -n (non-interactive/headless) — the default TUI blocks agents. Always set --max-budget unless the user says otherwise.

    # Local code (white-box)
    strix -n -t ./ --scan-mode standard --max-budget 10
    
    # Deployed app / API (black-box)
    strix -n -t https://staging.example.com --max-budget 20
    
    # Repo + deployed app together (best coverage)
    strix -n -t https://github.com/org/app -t https://staging.example.com
    
    # Focused testing with credentials or scope hints
    strix -n -t https://app.example.com \
      --instruction "Use credentials user@example.com:pass123. Focus on IDOR and auth bypass."
    
    # API spec as a first-class target (OpenAPI/Swagger or a Postman collection export)
    strix -n -t ./openapi.yaml -t https://api.staging.example.com
    
    # Many targets from a file, one per line
    strix -n --target-list ./targets.txt --max-budget 30
    
    # Give the agents a file to work with (wordlist, spec, notes) without making it a target
    strix -n -t https://staging.example.com --workspace-file ./wordlist.txt --max-budget 20
    

    A local path passed with -t is mounted into the sandbox writable — the agents can read and modify it, so point at a clean checkout, not uncommitted work you care about.

    Key flags:

    Flag Meaning
    -t, --target URL, repo URL, local path, domain, IP, OpenAPI/Postman spec, or postman://<uuid>. Repeatable.
    --target-list PATH File of targets, one per line (# comments allowed). Repeatable, combines with -t.
    -n, --non-interactive Headless, exits on completion. Required for agents.
    -m, --scan-mode quick (minutes) / standard (~30 min) / deep (hours, default).
    --instruction / --instruction-file Credentials, focus areas, scope rules.
    --workspace-file PATH[:DEST] Place a file from this machine into /workspace read-only before the scan, for a wordlist, a spec, or notes. Repeatable.
    --max-budget USD Hard LLM spend cap; scan wraps up cleanly at the limit.
    --max-turns N Per-agent turn cap (default 500).
    --resume RUN_NAME Resume a prior run from strix_runs/, with its agent history and targets. Cannot be combined with -t.
    --scope-mode For code targets: auto (diff-scope in CI/headless), diff (force changed files only), full (whole tree).
    --diff-base REF Branch or commit that diff scope compares against. Defaults to the repo's default branch.

    Scans take minutes (quick) to hours (deep). Run them in the background and poll for completion rather than blocking.

    Exit codes (headless)

    • 0 — finished with no validated vulnerabilities in what was analyzed
    • 1 — fatal error (missing env vars, Docker down, bad config)
    • 2 — vulnerabilities found

    A 0 is not proof of full coverage: if --max-budget/--max-turns is reached before the scan completes, it wraps up early and still exits 0. When you need assurance the scan finished, give it enough budget and check strix_runs/<run>/run.json: a hard budget stop leaves status: "stopped", but an agent that wrapped up early on a budget warning still calls finish_scan and records "completed" — so also sanity-check the run's cost against --max-budget and the report's stated coverage before treating a clean result as full coverage.

    Reading results

    Artifacts land in strix_runs/<run-name>/:

    File Contents
    penetration_test_report.md Executive report — read this first.
    vulnerabilities/*.md One file per validated finding, with PoC and remediation.
    vulnerabilities.json / vulnerabilities.csv All findings as structured JSON / CSV index.
    findings.sarif SARIF 2.1.0 for GitHub code scanning / ASPM ingestion.
    run.json Run metadata, status, targets, usage/cost.

    Option B — Cloud API (managed, no local infra)

    Full details, asset registration, polling, reports, PR reviews, schedules, and webhooks are in the managed-pentesting-with-strix skill. Minimal launch-and-poll:

    export STRIX_API_TOKEN="<token>"   # org-scoped bearer, from Settings → API Access at app.strix.ai
    BASE=https://app.strix.ai/api/v1
    
    # 1. Launch a scan against an already-registered domain/repo asset
    scan_id=$(curl -sS "$BASE/scans" \
      -H "Authorization: Bearer $STRIX_API_TOKEN" -H "Content-Type: application/json" \
      -d '{"engagement_type":"live_test","domain_ids":["<domain-uuid>"]}' | jq -r .scan_id)
    
    # 2. Poll until terminal (pending → running → completed/failed/cancelled)
    curl -sS "$BASE/scans/$scan_id" -H "Authorization: Bearer $STRIX_API_TOKEN" | jq '.status'
    
    # 3. Read validated findings from the scan detail's `vulnerabilities[]`, or export SARIF
    curl -sS "$BASE/scans/$scan_id/sarif" -H "Authorization: Bearer $STRIX_API_TOKEN" -o findings.sarif
    

    Ask the user to create the token (and register the target as a domain/repository asset) if they have not. If Docker/local prerequisites are not already satisfied, use this path instead of trying to install infra.


    Reporting & next steps

    Summarize findings by severity (critical/high/medium/low/info) and include the PoC evidence. To remediate and verify fixes (via either path), use the fix-security-vulnerabilities-with-strix skill. To wire scanning into CI/CD, use the ci-security-scanning-with-strix skill.

    Safety

    Only scan targets the user owns or is authorized to test. The Cloud platform enforces domain verification before external scans; for the OSS CLI, confirm authorization yourself if the target looks like third-party infrastructure.

    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

    CLI: requiere Docker, la CLI 'strix' y una clave LLM (STRIX_LLM/LLM_API_KEY). Nube: requiere STRIX_API_TOKEN. Solo escanear objetivos autorizados.

    Necesita en el PATH:curljq

    Variables de entorno:BASESTRIX_API_TOKEN

    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

    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

    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.

    Costo de contexto al activarse
    1k 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