Pentestのロゴ

Pentest

コミュニティ人気
AKCodez
pentest

Security testing and OSINT toolkit wrapping 183+ tools from Z4nzu/hackingtool (nmap, sherlock, amass, subfinder, nuclei, httpx, holehe, maigret, trufflehog, sqlmap, impacket, netexec, and more). Use whenever the user asks to recon a target, scan a network, enumerate subdomains, investigate a username or email, test a web app, check for leaked secrets, or any other pentest / OSINT task. Runs locally on any OS via native Bash, WSL, or purpose-built Docker images — the skill picks the right backend automatically.

概要

公開者AKCodez
リポジトリhackingtool-plugin
スキル名pentest
スター
1.1K
フォーク
240
同梱ファイル
2
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    AKCodezがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルPentestをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/AKCodez/hackingtool-plugin/tree/main/plugins/hackingtool/skills/pentest
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AKCodez/hackingtool-plugin.git /tmp/hackingtool-plugin
mkdir -p .claude/skills
cp -r /tmp/hackingtool-plugin/plugins/hackingtool/skills/pentest .claude/skills/pentest
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでPentestを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にPentestを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Pentestは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Pentest / OSINT Skill

You have real Bash, real filesystem, real process execution, and a fleet of pentest tools one wrapper call away. Use the wrappers — manual curl loops are a fallback, not a default.

Step 0 — Preflight (run first, every session)

bash
python ${CLAUDE_PLUGIN_ROOT}/scripts/ht_preflight.py

Read the verdict and act:

  • ready → state the backend in one sentence (e.g. "Running native on macOS" / "Running via Docker on Windows" / "Running native in WSL Ubuntu") and start work.
  • partial → tell the user what's missing (use recommendations); offer to proceed with reduced coverage.
  • blocked → stop. Surface the recommendations and wait. Do not substitute manual curl / Invoke-WebRequest probes for a missing tool — that misleads the user about coverage.

Re-run preflight if the user installs something, starts Docker, or switches into WSL.

Tool-first defaults

When the ask is "audit / scan / find vulns", reach for:

AskDefault chain
Subdomain enumerationsubfinder -all → httpx -title -tech-detect
Web vuln scannuclei -severity medium,high,critical
Port scannmap -sV -sC (or naabu for fast SYN sweep)
Directory / API discoveryffuf -w wordlist -u https://target/FUZZ
Secret huntingtrufflehog filesystem . or gitleaks detect
Username / email investigationholehe → sherlock → maigret
TLS auditnuclei -tags ssl,tls
Domain OSINTamass intel → theharvester

Anti-patterns: for-looping curl across many paths instead of ffuf / nuclei; hand-parsing TLS output instead of nuclei -tags ssl; saying "I don't have nuclei" when preflight returned ready (you have it via Docker).

The execution model

Every tool runs through ht_run.py, which:

  1. Reads ht_env.py to pick a backend — native on Linux/macOS, WSL on Windows with a real distro, Docker anywhere with Docker Desktop.
  2. Looks up a purpose-built Docker image for the tool if one exists (instrumentisto/nmap, projectdiscovery/nuclei, caffix/amass, 20+ more). Falls back to kalilinux/kali-rolling.
  3. Executes the command. Auto-retries with sudo -n on permission-denied (native/WSL).
  4. Returns JSON: status, stdout, stderr, returncode, command.

Only one pre-block: tools flagged interactive. Bypass with --force + --command if you have non-interactive args.

Bundled scripts

All at ${CLAUDE_PLUGIN_ROOT}/scripts/. Emit JSON.

ScriptPurpose
ht_preflight.pyRun first. Capability check + setup recommendations.
ht_search.pyQuery the tool index (--q, --category, --tag, --capability, --os).
ht_env.pyLow-level env detect. (Preflight wraps this.)
ht_run.pyExecute. --command "..." to override, --args "..." to append, --network-host for LAN, --privileged for raw sockets, --force to bypass the interactive block.

Golden path

  1. Preflight — handle verdict per Step 0.
  2. Read the ask — map to a workflow (reference/workflows.md) and apply the defaults table.
  3. Find tool ids — ht_search.py --q "<keyword>". Don't guess; ids are namespaced (e.g. web_attack.Nuclei).
  4. Execute — ht_run.py <tool_id> --args "...", or --command "<full>" for tools where runnable=False. Add --network-host for LAN, --privileged for raw sockets.
  5. Parse status: ok → summarize highlights; error → report stderr, decide whether to retry; fallback → see reference/runtime-fallbacks.md; timeout → raise --timeout or chunk the scan.
  6. Compose — subfinder → httpx → nuclei, holehe → sherlock → maigret. Feed outputs forward.

Docker image overrides

ht_run.py maps common tools to purpose-built images (faster pulls, proper ENTRYPOINTs):

ToolImage
NMAPinstrumentisto/nmap
Nucleiprojectdiscovery/nuclei
Subfinder / Httpx / Katanaprojectdiscovery/*
Amasscaffix/amass
TheHarvestersecsi/theharvester
Holehe / Maigret / SpiderFootofficial images
TruffleHog / Gitleaksofficial images
Sqlmappaoloo/sqlmap
Impacket / NetExecrflathers/impacket, byt3bl33d3r/netexec

Override with --docker-image my/image for one-offs.

Ad-hoc commands

Bash directly is fine for spot-checks: a single curl -I, arp -a, dig @8.8.8.8 example.com. Reach for ht_run.py whenever:

  • The tool is in the index and you want auto image/backend selection.
  • You're chaining multiple tools and want uniform JSON output.
  • The task is enumeration / scanning / fuzzing at any scale (≥5 requests against a target).

If you're about to write a for loop hitting many paths with curl, stop — use ffuf / nuclei / gobuster instead.

References

  • ${CLAUDE_PLUGIN_ROOT}/skills/pentest/reference/workflows.md — named playbooks
  • ${CLAUDE_PLUGIN_ROOT}/skills/pentest/reference/runtime-fallbacks.md — templates per fallback reason

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Pentest」では何ができますか?

Security testing and OSINT toolkit wrapping 183+ tools from Z4nzu/hackingtool (nmap, sherlock, amass, subfinder, nuclei, httpx, holehe, maigret, trufflehog, sqlmap, impacket, netexec, and more). Use whenever the user asks to recon a target, scan a network, enumerate subdomains, investigate a username or email, test a web app, check for leaked secrets, or any other pentest / OSINT task. Runs locally on any OS via native Bash, WSL, or purpose-built Docker images — the skill picks the right backend automatically.

TypingMindでPentestを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Pentestはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにPentestをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/AKCodez/hackingtool-plugin/tree/main/plugins/hackingtool/skills/pentestを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Pentestを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Pentestは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもPentestを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Pentest」は無料ですか?

AKCodezがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇