Auditing Account Recovery And Reset Trustのロゴ

Auditing Account Recovery And Reset Trust

組織
UnboundCompute
auditing-account-recovery-and-reset-trust

攻撃者によるアカウント乗っ取りを許す信頼上の問題がないか、パスワードリセットとアカウント復旧のフローを監査します。リセットトークンが推測可能、長期間有効、再利用可能、または発行対象のアカウントに紐付いていないケース、ログインより弱い要素で本人確認を行い多要素認証を迂回できる復旧経路、攻撃者が操作できるヘッダーからホスト名を取得するためトークンが漏えいするリセットリンク、未確認のメールアドレスや電話番号の変更を信頼してリセット先を切り替える復旧処理などを扱います。認証システムにおいて、認証情報のリセットやアクセス復旧がアカウントへの別の入り口となる領域を対象とします。アプリケーションにパスワードリセットやアカウント復旧機能があり、そのフローが認証経路となる場合に使用してください。攻撃者が開始する復旧リクエストがソース、乗っ取られるアカウントがシンクであり、それを可能にする脆弱なトークン、迂回された認証要素、または漏えいしたリセットリンクがバグです。

Add to TypingMind

概要

公開者UnboundCompute
リポジトリsecurity-agent-skills
スキル名auditing-account-recovery-and-reset-trust
スター
27
フォーク
8
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills.git /tmp/security-agent-skills
mkdir -p .claude/skills
cp -r /tmp/security-agent-skills/skills/auditing-account-recovery-and-reset-trust .claude/skills/auditing-account-recovery-and-reset-trust
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

関連するリクエストがあるとすぐに、モデルが自動的にAuditing Account Recovery And Reset Trustを読み込みます。

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

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

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

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

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

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

スキルの指示

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

Auditing account recovery and reset trust: the alternate door into every account

Every login has a back door built in on purpose: the password reset and account recovery flow. It exists so a locked-out user can get back in, which means it is, by design, a way to gain access to an account without the password. That makes it a prime takeover target, and it is frequently weaker than the front door it protects. The reset token may be guessable, long-lived, reusable, or not bound to the account, so an attacker can predict or replay it. The recovery path may verify a weaker factor than login and skip the multi-factor requirement, so recovery becomes the multi-factor bypass. The reset link's host may come from a request header an attacker controls, so the emailed token leaks to the attacker's domain. And recovery may trust an unverified email or phone change, redirecting the reset to the attacker. The audit treats recovery as an authentication path with the same rigor as login. You audit this by walking the flow and testing each trust it places.

When to use

  • An application offers password reset or account recovery as a way to regain access to an account.
  • Reset tokens may be weak, long-lived, reusable, or not bound to the requesting account.
  • Recovery may verify a weaker factor than login, bypass multi-factor, or leak the reset link off-domain.

Scope check

Test recovery flows only against accounts and applications you own or are authorized to assess, on non-production accounts. Exercising reset attempts real credential changes, so use test accounts you control and never reset or take over an account that is not yours. If you can't name the authorization, stop.

The loop

  1. Establish the intended recovery assurance first. Name what proof recovery should require and that it must be at least as strong as login, including any multi-factor requirement. This is the false-positive killer: a recovery flow with a high-entropy, single-use, short-lived, account-bound token, that enforces the same factors as login and builds the link from a server-fixed host, is correct. Name the intended assurance, then test each element.

  2. Assess the reset token strength and lifecycle. Examine the token: its entropy (guessable or unpredictable), lifetime (short or long-lived), reuse (single-use or replayable), and invalidation (consumed on use and on a new request). A token an attacker can guess, reuse, or use long after issuance is a takeover primitive regardless of the rest of the flow.

  3. Check token-to-account binding. Confirm the token is bound to the exact account it was issued for and cannot be used to reset a different account by changing an identifier in the request. A reset step that takes the account from a parameter while validating a token issued for another account lets an attacker reset someone else's credential with their own valid token.

  4. Check factor strength and multi-factor bypass. Compare the assurance recovery requires to login. If recovery verifies a weaker factor, or completes without the multi-factor step login enforces, then recovery is the way to bypass multi-factor entirely. Confirm recovery does not lower the bar below login and re-checks the second factor where login requires it.

  5. Check reset-link host and destination trust. Determine whether the reset link's host or base URL is built from a request header (such as the host header) an attacker can set, which sends the emailed token to the attacker's domain. Also confirm recovery does not trust an unverified email or phone change to redirect where the reset is delivered. The link and its destination must come from server-fixed configuration, not attacker input.

  6. Confirm and record. Confirm by taking over a test account you control through a real weakness, a guessed or replayed token, a token rebound to another test account, a multi-factor bypass via recovery, or a reset link leaked via a spoofed host, without touching any account that is not yours. Kill the lead if the token is high-entropy, single-use, short-lived, and account-bound, recovery enforces login-equivalent factors, and the reset link and destination come from server-fixed configuration. Record the recovery request, the account-takeover sink, and the weak token, bypassed factor, or leaked reset link.

Where recovery trust leaks

  • A weak or long-lived token is guessable or replayable. Low entropy, long lifetime, or reuse turns the reset token into a takeover primitive.
  • An unbound token resets the wrong account. A token not bound to its account, plus an account identifier in the request, lets an attacker reset someone else's credential.
  • Recovery bypasses multi-factor. A recovery path that verifies a weaker factor than login, or skips the second factor, is the way around multi-factor.
  • A spoofable link host leaks the token. Building the reset link from an attacker-controllable header sends the emailed token to the attacker's domain.
  • Trusting an unverified contact change redirects the reset. Honoring an unverified email or phone update sends recovery to the attacker.

Worked example (a confirm and a kill)

Confirm. A password-reset email builds its link host from the request host header. Requesting a reset for a test account the tester controls while supplying an attacker-chosen host header produces a reset link pointing at the attacker's domain, so when followed the valid token is delivered to the attacker, who completes the reset. The same endpoint's token is also long-lived and reusable. Confirmed account takeover via host-header reset-link poisoning with a weak token, critical, remediation = build the reset link from server-fixed configuration only, issue a high-entropy single-use token that expires quickly and is invalidated on use, and bind the token to the requesting account.

Kill. The reset token is high-entropy, single-use, short-lived, invalidated on use and on any new request, and bound to the exact account it was issued for; recovery enforces the same factors as login including multi-factor; and the reset link host and delivery destination come from server-fixed configuration, ignoring request headers and any unverified contact change. A guessed, replayed, rebound, or off-domain reset attempt fails. Killed, kill_reason = "strong single-use account-bound token with short expiry, login-equivalent factors enforced, and server-fixed link and destination; no recovery request takes over an account."

Rationalizations to reject

  • "The token is random." → Confirm its entropy, single use, short expiry, and invalidation; a random-looking token that is long-lived or reusable is still a takeover primitive.
  • "Reset requires the email." → If recovery skips the multi-factor step login enforces, it is the multi-factor bypass; recovery must be at least as strong as login.
  • "The link points to our site." → Confirm the host is server-fixed, not from a request header; a spoofable host sends the token to the attacker.
  • "The token identifies the account." → Confirm it is bound so it cannot reset a different account named in the request; an unbound token plus an identifier is a cross-account reset.
  • "They updated their email." → Confirm the change was verified before recovery trusts it; an unverified contact change redirects the reset to the attacker.

Executing this in practice

You need the reset token's entropy, lifetime, reuse, and invalidation, its binding to the account, the factors recovery requires versus login, and how the reset link host and delivery destination are determined. Walk the flow on test accounts you control, testing token guessing and replay, cross-account rebinding, multi-factor bypass, and host-header link poisoning. Reading the recovery code shows the intended assurance; taking over a test account through a weakness shows whether it holds.

Related

  • auditing-session-lifecycle-and-fixation - recovery grants a session; its lifecycle and fixation properties are the next boundary after the reset completes.
  • auditing-saml-and-oidc-federation-trust - federated login and account recovery are two doors to the same account; a weak recovery undercuts strong federation.
  • hunting-broken-object-level-authorization - the cross-account reset here is an object-authorization failure on the reset endpoint; the two skills meet at the account identifier.
  • auditing-webauthn-and-passkey-flows - passkeys strengthen the front door; confirm recovery does not offer a weaker path around them.
  • FINDING-SCHEMA.md - source = the attacker-driven recovery request, sink = the account it takes over, evidence = the weak token, bypassed factor, or leaked reset link.

よくある質問

AIスキル「Auditing Account Recovery And Reset Trust」では何ができますか?

攻撃者によるアカウント乗っ取りを許す信頼上の問題がないか、パスワードリセットとアカウント復旧のフローを監査します。リセットトークンが推測可能、長期間有効、再利用可能、または発行対象のアカウントに紐付いていないケース、ログインより弱い要素で本人確認を行い多要素認証を迂回できる復旧経路、攻撃者が操作できるヘッダーからホスト名を取得するためトークンが漏えいするリセットリンク、未確認のメールアドレスや電話番号の変更を信頼してリセット先を切り替える復旧処理などを扱います。認証システムにおいて、認証情報のリセットやアクセス復旧がアカウントへの別の入り口となる領域を対象とします。アプリケーションにパスワードリセットやアカウント復旧機能があり、そのフローが認証経路となる場合に使用してください。攻撃者が開始する復旧リクエストがソース、乗っ取られるアカウントがシンクであり、それを可能にする脆弱なトークン、迂回された認証要素、または漏えいしたリセットリンクがバグです。

TypingMindでAuditing Account Recovery And Reset Trustを使うメリットは何ですか?

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

TypingMindにAuditing Account Recovery And Reset Trustをインストールするにはどうすればよいですか?

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

Auditing Account Recovery And Reset Trustを使えるAIモデルはどれですか?

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

Auditing Account Recovery And Reset Trustで使えるAIモデルの数に制限はありますか?

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

AIスキル「Auditing Account Recovery And Reset Trust」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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