Auditing Error Handling And Information Exposureのロゴ

Auditing Error Handling And Information Exposure

組織
UnboundCompute
auditing-error-handling-and-information-exposure

実際のクライアントに返される機密情報について、エラー処理と診断機能を監査します。例外処理、デバッグ機能、診断エンドポイントが、スタックトレース、データベースエラー、内部パス、フレームワークやバージョンのバナー、設定、シークレット、ユーザーの有無を推測できるほど異なるメッセージを返すケースを調べます。デプロイ環境で、形式不正、権限不足、失敗したリクエストにサービスがどう応答するか、またデバッグモード、ソースマップ、バージョン管理メタデータが露出していないかをレビューする際に使用してください。開発者向けの詳細な情報ではなく、本番環境で実際に返される内容が対象です。エラーまたは診断の経路がソース、レスポンス、ヘッダー、ユーザーに表示されるログがシンクであり、さらなる攻撃に役立つ情報を漏えいすることが不具合です。

概要

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

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

AIスキル「Auditing Error Handling And Information Exposure」を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-error-handling-and-information-exposure
  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-error-handling-and-information-exposure .claude/skills/auditing-error-handling-and-information-exposure
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

関連するリクエストがあるとすぐに、モデルが自動的にAuditing Error Handling And Information Exposureを読み込みます。

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

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

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

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

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

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

スキルの指示

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

Auditing error handling and information exposure: when a failure tells the attacker how it works

Every application fails, and how it fails is a message to whoever is probing it. A stack trace names the framework, the file layout, and the line that broke. A database error quotes the query and confirms an injection point. A verbose not-found versus a verbose forbidden tells an attacker which accounts exist. A debug endpoint left on in production hands over configuration and sometimes secrets. None of this is a memory-corruption bug or an injection; it is the system narrating its internals to an unauthenticated client, turning blind probing into informed attack. The audit is not about suppressing all errors; it is about deciding, for the deployed configuration, whether what a real client receives on failure reveals security-relevant structure. You find it by driving the error paths a client can reach and reading exactly what comes back.

When to use

  • A service returns errors on malformed, unauthorized, or failing requests and you can observe the responses.
  • Debug modes, verbose error pages, or diagnostic and health endpoints may be reachable in production.
  • Build or deployment artifacts (source maps, version-control metadata, backups) may be served publicly.

Scope check

Test error and diagnostic surfaces only against systems you own or are authorized to assess, using benign malformed input rather than live exploitation to trigger failures, and treat any disclosed secret as a real credential to be reported and rotated, not reused. Stay within the authorized scope. If you can't name the authorization, stop.

The loop

  1. Establish what a real client receives in the deployed configuration first. Determine whether the production error handler is active and debug mode is off, so the verbose page you see locally is not what a client actually gets. This is the false-positive killer: a detailed trace visible only under a developer flag that is disabled in production is not a finding, while the generic page that production returns is the real evidence. Confirm the deployed behavior before judging the detail.

  2. Enumerate the reachable failure paths. Drive the errors a client can cause: malformed bodies, wrong types, oversized input, unauthorized and forbidden access, missing resources, and backend failures. Include diagnostic and health endpoints, and default framework error routes. Each response and its headers are a candidate sink.

  3. Read what the response discloses. For each failure, judge whether the body, status, or headers reveal security-relevant detail: a stack trace, a database or template error, an internal file path or hostname, a framework and version banner, configuration values, or a secret. Cosmetic verbosity that names nothing useful is not the finding; structure an attacker can act on is.

  4. Check for enumeration through differentials. Compare responses for existing versus non-existing accounts, valid versus invalid credentials, and authorized versus unauthorized resources, in wording, status, and timing. A difference that reliably distinguishes the two enumerates users or resources even when no single response looks verbose.

  5. Check for exposed artifacts and debug surfaces. Look for served source maps, version-control directories, backup and configuration files, verbose health or debug endpoints, and default sample pages, which disclose source, structure, or secrets independent of any exception path.

  6. Confirm and record. Confirm by triggering the failure as an unauthenticated or ordinary client in the deployed configuration and capturing the disclosed detail, or by demonstrating the reliable differential. Kill the lead if production returns a generic handler, if the verbose output is gated behind a disabled developer flag, if the disclosed detail names nothing an attacker can use, or if responses and timing do not distinguish existence. Record the failure path, the sink, the disclosed detail, and its use to an attacker, or set a kill_reason.

Where information exposure leaks

  • The gap is local versus production. Verbose errors in development are expected; the finding is whether the same verbosity survives into the deployed configuration a client can reach.
  • Errors confirm other bugs. A quoted database or template error turns a blind injection probe into a confirmed one, so verbose backend errors are force multipliers, not just leaks.
  • Differentials enumerate quietly. Existence disclosure rarely looks like an error; it hides in a wording, status, or timing difference between the present and absent case.
  • Artifacts leak without an exception. Served source maps, version-control metadata, and backups disclose source and structure through ordinary requests, no failure required.
  • Headers talk too. Framework and version banners and debug headers name the stack and its version, narrowing which known weaknesses an attacker tries.

Worked example (a confirm and a kill)

Confirm. A malformed request to an ordinary endpoint returns the framework's default error page with a full stack trace, the source file paths, and the database query that failed, to an unauthenticated client in production. Confirmed sensitive information disclosure through verbose errors, medium, remediation = enable the production error handler with generic client-facing messages, disable debug mode in the deployed configuration, log detail server-side only, and remove framework and version banners from responses.

Kill. The same request returns a generic error with a correlation identifier and no internal detail, debug mode is off in the deployed configuration, the login and lookup responses are identical for present and absent accounts in wording, status, and timing, and no source maps or version-control metadata are served. Nothing in the failure names the stack, the query, or an account's existence. Killed, kill_reason = "production returns generic errors with detail only in server-side logs, no debug or banner disclosure, and existence differentials are absent; failures reveal nothing an attacker can act on."

Rationalizations to reject

  • "That trace only shows in development." -> Then confirm it is disabled in the deployed configuration; the finding is what a real client receives in production, which is where you must check.
  • "It is just an error message." -> A quoted query or a named internal path confirms an injection point or maps the system; the message is intelligence, not noise.
  • "Different messages are more helpful to users." -> A login that distinguishes unknown user from wrong password enumerates accounts; be equally uninformative for both cases.
  • "Source maps help us debug production." -> Served publicly they hand your source to anyone; restrict them or strip them from the public build.
  • "The health endpoint is internal." -> If it is reachable without authentication it is a client surface; confirm the access control, not the intent.

Executing this in practice

You need the deployed error-handling configuration, the responses and headers for the full set of reachable failure paths, the present-versus-absent differentials on authentication and lookup surfaces, and whether any build or version-control artifacts are served. For each, decide whether the detail is security-relevant and whether it reaches an unauthorized client in production. Driving the failures as an ordinary client and reading the exact responses settles most leads; comparing wording, status, and timing settles the enumeration ones.

Related

  • auditing-security-logging-completeness - the complement, where detail belongs in server-side logs rather than in client responses; the two together place each piece of information where it should be.
  • hunting-blind-and-second-order-sql-injection - verbose database errors turn that skill's blind probes into confirmed ones, so error disclosure directly aids it.
  • auditing-session-lifecycle-and-fixation - authentication response differentials that enumerate accounts are adjacent to the session and login concerns audited there.
  • reviewing-rate-limiting-and-abuse-controls - enumeration through differentials is amplified without rate limits, so the two controls are assessed together on login and lookup surfaces.
  • FINDING-SCHEMA.md - source = the error or diagnostic path, sink = the response, header, or user-visible log, evidence = the disclosed detail or the reliable differential captured as an unauthorized client in the deployed configuration.

よくある質問

AIスキル「Auditing Error Handling And Information Exposure」では何ができますか?

実際のクライアントに返される機密情報について、エラー処理と診断機能を監査します。例外処理、デバッグ機能、診断エンドポイントが、スタックトレース、データベースエラー、内部パス、フレームワークやバージョンのバナー、設定、シークレット、ユーザーの有無を推測できるほど異なるメッセージを返すケースを調べます。デプロイ環境で、形式不正、権限不足、失敗したリクエストにサービスがどう応答するか、またデバッグモード、ソースマップ、バージョン管理メタデータが露出していないかをレビューする際に使用してください。開発者向けの詳細な情報ではなく、本番環境で実際に返される内容が対象です。エラーまたは診断の経路がソース、レスポンス、ヘッダー、ユーザーに表示されるログがシンクであり、さらなる攻撃に役立つ情報を漏えいすることが不具合です。

TypingMindでAuditing Error Handling And Information Exposureを使うメリットは何ですか?

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

TypingMindにAuditing Error Handling And Information Exposureをインストールするにはどうすればよいですか?

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

Auditing Error Handling And Information Exposureを使えるAIモデルはどれですか?

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

Auditing Error Handling And Information Exposureで使えるAIモデルの数に制限はありますか?

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

AIスキル「Auditing Error Handling And Information Exposure」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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