web-app-penetration-testing
できること
このスキルは、ステージングのサイトやローカルの開発サーバーなど、稼働中のウェブアプリのブラックボックスのセキュリティテストを実行します。テストが許可されているウェブアプリをテストする人向けです。
使う場面
- ✓稼働中のウェブサイトやステージング環境のセキュリティテストが求められているとき。
- ✓ウェブアプリにログインがあり、アクセス制御の欠陥を確認する必要があるとき。
- ✓クロスサイトスクリプティングやインジェクションなどの問題の証明が必要なとき。
スキルのリンク
https://github.com/usestrix/strix/blob/main/skills/web-app-penetration-testing/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私たちのステージングサイトにはユーザーのアカウントがあります。アクセス制御の問題がないかテストし、見つかったものの証明を示してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、まず対象範囲とテスト用のアカウントを確認します。その後、サイトに対してAIの攻撃テストを実行します。動く例で証明できた問題だけを報告します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Pentest a web application
Black-box (and optionally source-assisted) penetration testing of a running web app with Strix's autonomous agents. Every reported finding is validated with a working exploit, so there are no signature-based false positives to triage.
Install, LLM setup, all CLI flags, and the managed-cloud alternative are covered in the penetration-testing-with-strix skill — read it if the target is not a running web app, or if strix --version fails. 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). This skill is the web-app-specific workflow.
1. Confirm authorization and scope
Before running anything, establish:
- The target is the user's (or they are explicitly authorized to test it). Never pentest a third-party site on a hunch.
- Which environment. Prefer staging over production; agents send real exploit payloads and will create/modify data.
- Out-of-scope paths — payment flows, mass-email endpoints, admin destructive actions, third-party SSO providers.
- Credentials. Most real vulnerabilities live behind login. Without a test account, the agents only ever see the marketing surface.
Ask for anything missing rather than guessing.
2. Run the scan
strix -n -t https://staging.example.com --max-budget 20 \
--instruction "Test account: qa@example.com / <password>. In scope: /app/*, /api/*. Do not touch /billing or send email. Focus on access control between the two seeded orgs."
Notes that matter for web apps specifically:
- Give it credentials via
--instruction(or--instruction-filefor anything long), including how to log in if the flow is unusual (magic link, SSO, MFA-exempt test user). - Two accounts beat one. Multi-tenant IDOR and broken-access-control bugs — consistently the highest-impact class in web apps — can only be proven when the agent can attempt cross-account access.
- Add the repo for white-box depth when you have the source:
-t https://github.com/org/app -t https://staging.example.com(or a local path). Source access materially improves coverage of business-logic and authorization flaws. - Localhost works. Point at
http://host.docker.internal:3000(Docker Desktop) so the sandbox can reach a dev server on the host. --scan-mode quickfor a fast dev-loop pass,standard(~30 min) for a normal review,deepfor pre-release assurance. Always set--max-budget.
For a hosted run with no Docker/LLM key, or when the user wants a shareable dashboard and an auditor-ready PDF, use the cloud path in managed-pentesting-with-strix instead — same engine, same findings.
3. Review results
Read strix_runs/<run>/penetration_test_report.md first, then per-finding files in vulnerabilities/. Each contains the PoC — re-run it yourself to confirm before reporting to the user.
Exit codes: 0 no validated vulns in what was analyzed, 2 vulnerabilities found, 1 fatal error. A 0 is not proof of full coverage — if the budget or turn cap was hit the scan wraps up early, so check run.json status and cost against --max-budget before calling the app clean.
4. Fix and verify
Hand findings to the fix-security-vulnerabilities-with-strix skill: patch the root cause, then re-run Strix against the same target to prove the exploit no longer works. Re-testing is the only reliable confirmation a fix landed.
To keep the app tested on every change rather than once, wire Strix into CI with ci-security-scanning-with-strix.
よくある質問
テスト用のアカウントが重要なのはなぜですか?
このスキルによると、影響の大きいバグの多くはログインの後ろにあるため、アカウントがないとテストは公開ページしか見られないからです。
どの環境をテストすべきですか?
このスキルは、テストがデータを作成または変更しうるため、本番よりステージングを勧めています。
どの領域を除外すべきですか?
このスキルは、決済の流れ、大量メールのエンドポイント、破壊的な管理操作、サードパーティのサインインのプロバイダーを例として挙げています。
詳細
作者による元の説明
Pentest a web app or website end to end — black-box testing of a live URL, staging environment, or local dev server that finds and exploits real vulnerabilities (auth bypass, broken access control, IDOR, injection, XSS, SSRF, business logic) and proves each one with a working proof-of-concept instead of a signature match. Runs with Strix, either the self-hosted open-source CLI or the managed app.strix.ai cloud. Use when the user asks to pentest, hack, security-test, or audit their web app, website, web application, or staging site.
repo: usestrix/strix
人気
- GitHubのスター
- 73k
- ランキング
- #3103
- ライセンス
- 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、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。