本文へスキップ
Skillpedia
セキュリティ73k · #3102

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がスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/usestrix/strix/blob/main/skills/penetration-testing-with-strix/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

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 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
よくある質問

自分が所有するシステムだけをテストすべきですか?

はい。このスキルは、所有している、またはテストする権限のある対象だけをテストするよう述べています。

セットアップなしで実行できますか?

このスキルは、ローカルの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

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル