penetration-testing-with-strix
できること
このスキルは、Strixを使ってウェブアプリ、API、リポジトリ、ホストのAIによるペネトレーションテストを実行します。テストが許されているシステムで、証明された脆弱性が必要な人向けです。
使う場面
- ✓自分が所有するウェブサイト、API、サーバーのペネトレーションテストが求められているとき。
- ✓セキュリティレビューで、アラートではなく悪用可能な問題の証明が必要なとき。
- ✓ローカルのオープンソースの実行とクラウドのどちらにするかを決めるとき。
スキルのリンク
https://github.com/usestrix/strix/blob/main/skills/penetration-testing-with-strix/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私たちのステージングのウェブサイトをペネトレーションテストして、実際に証明できる問題を教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、ローカルのオープンソースの実行とマネージドのクラウドのどちらにするかを選ぶ手伝いをし、その後、実際の攻撃を試すAIのテストを開始します。動く証明が付いた確認済みの問題だけを報告します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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 athttps://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
- Docker running — check with
docker info. The first scan pulls the sandbox image automatically. - Strix installed — check with
strix --version. Install if missing:curl -sSL https://strix.ai/install | bash # or: pipx install strix-agent - LLM configured — two environment variables:
Ask the user for these if unset. Never hardcode or commit keys.export STRIX_LLM="openrouter/z-ai/glm-5.3" # any LiteLLM model id (openai/..., anthropic/..., openrouter/...) export LLM_API_KEY="<provider api key>"
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 |
よくある質問
自分が所有するシステムだけをテストすべきですか?
はい。このスキルは、所有している、またはテストする権限のある対象だけをテストするよう述べています。
セットアップなしで実行できますか?
このスキルは、ローカルのDockerもAIのキーも不要な、マネージドなクラウドの選択肢を説明しています。
なぜ本番よりステージングを優先するのですか?
エージェントは実際の悪用のペイロードを送り、データを変更することがあるため、このスキルはステージングを勧めています。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 73k
- ランキング
- #3102
- ライセンス
- Apache-2.0
- 更新日
- 2026/10/30
コメント
- …
このリポジトリの他のスキル
api-security-testing
73kエージェントが、StrixでREST、GraphQL、gRPCのAPIのセキュリティテストを行う方法を示し、OWASP API Top 10の認可の欠陥などのリスクに焦点を当てます。
application-security-testing
73kエージェントが製品全体のセキュリティテストを計画し、各部分に適したテストを選んで実行し、修正を実際のリスクの順に並べるよう支援します。
ci-security-scanning-with-strix
73kエージェントがプルリクエストに自動のセキュリティスキャンを追加する方法を示し、マージの前に危険なコードにフラグを立てられるようにします。
find-security-vulnerabilities-in-code
73kエージェントがインジェクションや壊れたアクセス制御などのセキュリティの欠陥についてコードを確認し、テスト攻撃で実際に機能する問題を証明するよう支援します。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。