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

web-auth-mapping

できること

このスキルは、Webサイトが使うログインの方法を把握し、それぞれがどう応答するかを記録します。サイトのサインインの仕組みを理解する必要があるテスターと開発者向けです。

使う場面

  • ✓開発者が、サイトで使っているすべてのログイン方法を文書化したいとき。
  • ✓テスターが、サイトがJWTトークン、OAuth、またはシングルサインオンを使っているかを知る必要があるとき。
  • ✓分析者が、有効なパスワードと無効なパスワードでログインの応答がどう違うかをメモしたいとき。

スキルのリンク

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/web-recon/auth-mapping/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

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

AIへの頼み方の例

“トークン、Cookie、シングルサインオンを含め、私たちのアプリへのログイン方法を整理してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このスキルはAIに、一般的なログインのパスを確認し、ヘッダーやリダイレクトからログインの種類を特定するよう指示します。そのうえで、各方法について見つけたことを書き留めます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Authentication Surface Mapping

Map every authentication mechanism the target exposes. Exploit downstream needs to know exactly how to hold a session (cookie, JWT, API key) and where to attack auth (token theft, race-condition on bcrypt, SSO redirect chain).

1. Login Endpoint Discovery

# Common auth paths
for path in login signin auth authenticate oauth/authorize \
    api/auth api/login admin/login wp-login.php; do
    code=$(curl -s -o /dev/null -w "%{http_code}" "https://<target>/$path")
    [ "$code" != "404" ] && echo "$code https://<target>/$path"
done

2. Auth Mechanism Identification

Mechanism Signal
Cookie-based Set-Cookie headers after login (often session=, JSESSIONID=, PHPSESSID=)
JWT Authorization: Bearer eyJ... patterns; three base64 segments separated by .
OAuth 2.0 /oauth/authorize, /oauth/token endpoints; state/code/redirect_uri params
API Key X-API-Key header accepted; Authorization: ApiKey <token>
SAML/SSO Redirects to IdP (Okta, Azure AD, Auth0); SAMLRequest form param
Session row + slow KDF Login latency >50ms on wrong password (bcrypt/Argon2) — flag for race-condition recon

3. Output for Handoff

Record per mechanism: endpoint, success/fail signals (status code, cookie set, JSON shape), credentials used, observed latency. This feeds the Required session state line in the recon → exploit handoff.

よくある質問

どのようなログインの種類を認識できますか?

Cookieのセッション、JWTトークン、OAuth、SAML、APIキーによるログインを認識できます。

パスワードを試しますか?

認証情報でのテストに触れていますが、テストが許可された場所に対してのみ使うことを想定しています。

結果は何に使われますか?

メモは、後でログインの仕組みをレビューする際の助けになります。

詳細

作者による元の説明

Authentication surface — login endpoints, JWT/OAuth/SAML/SSO/API-key mechanism identification.

repo: BitterSecurity/Decepticon

人気

GitHubのスター
6.5k
ランキング
#14152
ライセンス
Apache-2.0
更新日
2026/11/1

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

0

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

コメント

  • …

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

似ているスキル