Skip to content
Skillpedia
Security73k Β· #3102

penetration-testing-with-strix

What it does

This skill runs AI penetration tests with Strix on a web app, API, repository or host. It is for people who need proven security weaknesses found in systems they are allowed to test.

When to use it

  • βœ“When someone asks for a penetration test of a website, API or server they own.
  • βœ“When a security review needs proof of exploitable issues rather than alerts.
  • βœ“When someone must decide between running a security test locally or in the cloud.

Skill link

https://github.com/usestrix/strix/blob/main/skills/penetration-testing-with-strix/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/usestrix/strix/blob/main/skills/penetration-testing-with-strix/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œCan you pentest our staging website and tell me which issues you can actually prove?”

5 new skills a week. 1 minute to read.

How it works

The agent helps choose between a local open-source run and the managed cloud, then starts an AI test that tries real attacks. Only issues confirmed with a working proof are reported.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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.
  • Managed cloud β€” runs on Strix's infrastructure, driven from the same CLI (strix cloud ...) or the REST API at 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="openrouter/z-ai/glm-5.3"      # 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 pe
FAQ

Should I only test systems I own?

Yes. The skill says to test only assets you own or are authorized to test.

Can I run it without any setup?

The skill describes a managed cloud option that needs no local Docker and no AI key.

Why prefer staging over production?

The agents send real exploit payloads and can change data, so the skill recommends staging.

Details

Original description by the author

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/access-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.

repo: usestrix/strix

Popularity

GitHub stars
73k
Ranking position
#3102
License
Apache-2.0
Updated
10/30/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills