Hunt Coreのロゴ

Hunt Core

コミュニティ
Encod3d-Sec
hunt-core

すべてのhunt-*スキルに共通する手順です。スコープと認可の確認、2アカウントルール、実際の発見と誤検知を区別する確認ゲート、列挙の上限、停止条件、マーカーの扱い、Wiki優先のクエリと自己修復、FIND出力、Deadends、Wikiへの知見の集約を扱います。あらゆるhuntスキルと併せて常に読み込まれます。また、「これはスコープ内か」「これは本当のバグか」「どう確認すればいいか」「続けるべきか」「IDはいくつテストすべきか」「深刻度はどれくらいか」「どう報告すればいいか」「他人のデータを取得してしまった」といった質問にも直接反応します。すべてのhunt-*スキルはこのファイルを前提としています。これがないと、安全性と品質を保つためのレイヤーなしで動作します。

Add to TypingMind

概要

公開者Encod3d-Sec
リポジトリTORCH
スキル名hunt-core
スター
334
フォーク
48
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

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

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

スキルの指示

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

Hunt: Core

The discipline every hunt-* skill assumes. Class-specific technique lives in the hunt skills and the wiki; this file holds what is true regardless of which bug class you are chasing.

Owned here, never repeated in a hunt skill: the scope gate, two-account setup, confirmation gate, enumeration limits, stop conditions, marker discipline, wiki query/self-heal protocol, FIND output, Deadends, and distillation. A hunt skill that restates any of these will drift from this one; reference it instead.

Scope gate

Hunting means reading other people's data, escalating privileges, and creating accounts. Outside an authorized engagement all of it is a crime. Before any request leaves the machine:

  1. Authorization - a program with the target in scope, a signed agreement, your own lab, or a CTF. "Probably fine" is not authorization.
  2. Scope - exact hosts. *.target.com does not cover targetapp.io, an acquisition, or target.com.cdn.net. Read targets/<eng>/scope.md.
  3. Exclusions and forbidden techniques - check no_bruteforce, scanning caps, DoS, social engineering, and any per-program rule before the technique that would violate it.
  4. Two accounts, both yours - see below. Required for any authorization-class bug.
  5. Deadends - read targets/<eng>/Deadends.md and skip what is already exhausted.

Unconfirmed on any of these: ask. Do not infer scope from the fact that a host resolved. Discovery is not authorization. The scope-guard hook enforces the host check on Bash commands; it is a backstop, not the gate.

Two-account rule

Authorization findings are "account A reached account B's object." Without B you have two bad options: test against a real user, or report a guess. Both are worse than not reporting.

  • User A - resource owner. User B - attacker. Separate browser profiles so cookies never cross.
  • Record both internal IDs in targets/<eng>/identities.md as you discover them.
  • Cross-tenant work needs two tenants, not two users in one. Many apps isolate tenants correctly and users not at all.

Confirmation gate

Nothing becomes a FIND on the strength of a response body. The gate is per class; the hunt skill owns the specific "NOT confirmation / IS confirmation" list. Universal rules:

  1. Re-verify in a clean session. Fresh token, new profile, no cached state. If the effect vanishes, you changed your own screen.
  2. Exercise the capability. Not "the server accepted it" but perform the action only the new state permits.
  3. Rule out legitimate access. Before claiming cross-account access, confirm A is not supposed to see it: shared teams, sharing links, public objects, org-wide visibility. The most common false positive in authorization testing.
  4. Blind classes need an OOB HIT. No inference-only findings. The oob.md row must flip to HIT before a FIND is scaffolded.
  5. Reproduce from scratch against your own written steps.

Failed 1-3 is a Deadend, not a "probably real but hard to prove."

[[wiki/techniques/methodology/safe-probing-and-controls]] carries the other half of this gate: how to probe destructive or sensitive surface without touching a real record (use an identifier proven not to exist), and how to fire a control so a NEGATIVE result means something instead of being assumed.

When the hunt spans many hosts, sessions, or parallel agents, the coordination layer adds failure modes this gate does not cover: claims nobody re-checked, requests nobody counted, the same finding filed twice, and severity drifting upward as work is summarised. See [[wiki/techniques/methodology/multi-agent-campaign-orchestration]].

Enumeration limits

Prove the boundary is missing, not how much is behind it.

The server does not check any object. Demonstrating that takes two or three identifiers. A thousand-ID sweep does not raise severity; it collects real users' data and converts a critical finding into an incident report naming you.

  • Default: 5 identifiers. Enough to show a sequential pattern and a missing check.
  • Ceiling without explicit operator approval: 20.
  • Beyond that, and for any range sweep: stop and ask. State why the extra volume changes the finding. Usually it does not.
  • no_bruteforce in scope means range 0. No sweep, no ffuf over an ID list, no exception.
  • Never enumerate writes. Read at volume is a rate problem; write at volume is destruction.

For scale evidence, cite a total field, a pagination header, or a result count. "The response reports 41,180 records; none beyond my two test accounts were retrieved" proves scale without retrieving anything.

Scope of these limits. They govern OBJECT and RECORD enumeration (guessing identifiers to pull other users' data). They do NOT cap legitimate service discovery: an SSRF internal port sweep or a network map is bounded by the engagement RoE (no_dos, scan-rate caps), not by the 5-to-20 object ceiling. Thread it and honor the cap; do not clamp a port sweep to 20.

Stop conditions

Stop and report rather than continuing when:

  • You received real user data. An ID you guessed belonged to someone real, a cache served another session, a beacon fired in a live employee context. Do not re-request to confirm, do not save it, do not use anything in it. Report immediately, state what you received and that you destroyed it, and note it in the FIND rather than hiding it.
  • The next step is destructive or persistent - deleting objects, modifying another tenant's config, planting content that outlives the session.
  • You have a traffic-affecting primitive - desync, cache poisoning, connection-pool effects. The mechanism is the finding.
  • The last step needs volume beyond the limits above.
  • You already have the severity ceiling. More escalation, more risk, no more payout.
  • You left scope. Even one hop. Especially one hop.

Stopping is not failure. "Confirmed and did not exploit" is worth more than a forfeited payout.

Wrong-vector tells (switch the vector, do not tune the tooling). A vector is exhausted the moment it starts fighting you; grinding harder is the sunk-cost trap. Two mechanical signals mean the current vector is the wrong door, not that your tooling needs another pass:

  • The target starves under your own exploit loop (repeated 000 / connection-timeout / empty-reply while you hammer one endpoint). A vector that DoSes a lab box is almost never the intended one. Stop, let it drain, and enumerate a DIFFERENT class (source-read: LFI / alias-traversal / .git / backup; a second service or vhost's own app; OOB creds) before returning.
  • Two verified hashes in a row fail the primary wordlist. The passwords are not wordlist material - they are delivered out-of-band (an email/note/KeePass, a config, a second service). Stop cracking and re-enumerate for where the creds are HANDED OUT; do not extract a third hash. (Engineering around a hostile channel - per-char verify-fix, min-of-2 sampling, gentler pacing - is the tell you are on the wrong vector, not a reason to keep going.)

When a wrong-vector tell fires and the next door is not obvious, call Skill(redteamlead) before grinding further - it reads the engagement state + evidence + wiki and returns ranked directions with an explicit STOP. That is exactly what it is for ("I'm stuck / which vector / should I keep hammering this"); one RTL call at the first sign a vector is fighting back beats hours of sunk-cost grind.

Marker discipline

Any class where you inject a value and look for it later (xss, ssti, sqli error strings, crlf, log injection, open redirect): use a unique 8+ char alphanumeric canary (e.g. x4hd2k9pq), never test/marker/evil/payload. Check the baseline response for the canary BEFORE claiming reflection; a value already present is not proof you put it there.

Wiki lookup (reference-map first, qmd on a hint)

qmd_query is powerful but ~15-30s per call, so it is a TARGETED deepen, not a pre-attack ritual. Three tiers, in order:

  1. Reference map FIRST (instant Read). Your hunt skill's ## Wiki section names the class's domain MOC + primary page + a few anchors. Read those directly, and one-hop from the MOC for a sibling technique. This answers the anticipated case with zero qmd latency.
  2. qmd_query ONLY on a concrete hint the map does not cover - a specific sink/function (an SSRF-reaching requests.get(user_input)), an observed escape (a <script> context that could be XSS), a fingerprinted version/CVE, or a service the MOC does not list: qmd_query "<the specific thing>" via wiki-search MCP. It auto-surfaces pages added since the skill was written. Do NOT blanket-qmd every action (too slow); do NOT hand-roll from memory when a targeted qmd would answer (that is the opposite failure). Fire it when you have the hint, then act.
  3. Self-heal only if neither the map nor a targeted qmd has it: stub wiki/techniques/<area>/<slug>.md (frontmatter + ## Observed during <engagement>) so the gap fills.

Payload arsenals live in wiki/payloads/. If the MCP is down, bash scripts/wiki-query.sh "<terms>" wraps the same qmd index (-k for an exact CVE/string).

Hunt approaches (which skill for the signal)

hunt-core is the hub: route from the observed signal to the class skill, load it, then use that skill's ## Wiki map. The recon-capture fingerprint router auto-suggests many of these from tool output; this table is the manual reference when it does not fire or you are reasoning about approach.

Signal / surfaceSkill
reflected/stored input, <script> / onerror / javascript: / a DOM sinkSkill(hunt-xss)
a param/body reaching a DB; an error / boolean / time oracleSkill(hunt-sqli)
a URL/host param, a fetch/preview/import sink, ?url=Skill(hunt-ssrf)
an object id, /users/{id}, two-account cross-accessSkill(hunt-idor)
template {{ }} render, XXE (SVG/DOCX/SAML), GraphQLSkill(hunt-injection)
a command sink, template-injection-to-exec, a version+CVESkill(hunt-rce)
a serialized blob (rO0 / AAEAAAD / O:), viewstate, a signed cookieSkill(hunt-deserialization)
login / reset / session / JWT, a legacy-protocol endpointSkill(hunt-auth)
OAuth / SAML redirect_uri or assertionSkill(hunt-federation)
file upload / avatar / document importSkill(hunt-upload)
REST/GraphQL/gRPC, BOLA / BFLA / mass-assignmentSkill(hunt-api)
checkout / price / coupon / workflow logic, a raceSkill(hunt-bizlogic)
CL.TE / TE.CL / HTTP-2 downgrade desyncSkill(hunt-smuggling)
an unkeyed header/param reaching a cacheSkill(hunt-cache)
exposed .git / .env / keys, secrets in a JS bundleSkill(hunt-secrets)
LLM prompt-injection / excessive agencySkill(hunt-llm)
MCP tool-poisoning / indirect injectionSkill(hunt-mcp)
AD: kerberoast / AS-REP / ADCS / DCSync / delegation (dotted-FQDN domain / a DC)Skill(hunt-ad)
Windows LOCAL privesc: service misconfig / autologon reg / SeImpersonate-Potato / scheduled-task / DLL hijack (standalone/workgroup box, or a local shell on a member)Skill(hunt-windows)
AWS/Azure/GCP metadata or IAMSkill(hunt-cloud)
Microsoft 365 / Entra tenantSkill(hunt-m365)
CI/CD pipeline (Actions / runners / OIDC)Skill(hunt-cicd)
macOS TCC / SIP / keychain / XPCSkill(hunt-macos)
SSL-VPN appliance (Fortinet/Citrix/Ivanti/Cisco/PAN)Skill(hunt-vpn)
Modbus / S7 / EtherNet-IP / PLC / HMISkill(hunt-ics)

Process skills (not vuln classes): Skill(ctf-box) boot-to-root, Skill(wiki-recon) external recon, Skill(arsenal) / Skill(wiki-arsenal) tool+payload lookup, Skill(triage) -> Skill(evidence) finding validation, Skill(coverage) untested-class gaps, Skill(next-move) prioritize, Skill(hunt-burp) drive Burp.

FIND output

On confirmation:

Create Vulns/Research/FIND-XXX-SEVERITY-<class>-<host>[-<resource>].md
Add row to Vuln-index.md

Severity is rated on demonstrated impact, not theoretical maximum. Preconditions lower it (victim interaction, an unguessable identifier you cannot show leaking, a race you win one time in twenty). Scale raises it, when you can show the identifier is enumerable without enumerating. State impact in the program's terms (customer data, account security, financial exposure), not in vulnerability classes.

On exhaustion:

Append to Deadends.md: - [ ] <class> on <host> <param/endpoint> -- <why it failed>

The reason matters more than the entry. 403 on cross-account, authorization enforced stops you retesting; a bare entry does not.

Distillation

When a confirmed finding is a reusable technique rather than a target quirk, stage it:

python3 scripts/wiki-stage.py --kind technique --slug <slug> --target-page <area>/<page>.md

GENERIC only - no client host, no real identifier, no customer data. Promote later via scripts/wiki-promote.py. Run scripts/check-leaks.sh before any push. Engagement data lives under targets/ and is git-ignored.

よくある質問

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

すべてのhunt-*スキルに共通する手順です。スコープと認可の確認、2アカウントルール、実際の発見と誤検知を区別する確認ゲート、列挙の上限、停止条件、マーカーの扱い、Wiki優先のクエリと自己修復、FIND出力、Deadends、Wikiへの知見の集約を扱います。あらゆるhuntスキルと併せて常に読み込まれます。また、「これはスコープ内か」「これは本当のバグか」「どう確認すればいいか」「続けるべきか」「IDはいくつテストすべきか」「深刻度はどれくらいか」「どう報告すればいいか」「他人のデータを取得してしまった」といった質問にも直接反応します。すべてのhunt-*スキルはこのファイルを前提としています。これがないと、安全性と品質を保つためのレイヤーなしで動作します。

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

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

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

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

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

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

Hunt Coreで使えるAIモデルの数に制限はありますか?

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

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

はい。Encod3d-SecがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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