authentication-tracing
БесплатноБез исполняемых скриптовНе проверенUse this skill when asked to trace authentication flows, analyze SessionId chains, investigate token reuse vs interactive MFA, or assess geographic anomalies…
от SCStelz★ 256 звёзд на GitHubОб этом скилле
Authentication Tracing - Instructions
Purpose
This skill performs forensic analysis of Entra ID authentication flows to determine whether anomalous sign-ins represent:
- Legitimate activity (VPN usage, user travel, mobile carrier routing)
- Token theft/credential compromise (stolen refresh tokens, session hijacking)
The key distinction is whether the user actively performed MFA at a suspicious location or if the authentication used a refresh token from a prior session.
📑 TABLE OF CONTENTS
- Critical Workflow Rules - Start here!
- Key Forensic Indicators - Understanding authentication signals
- IP Enrichment Data - JSON structure reference
- 6-Step Forensic Workflow - SessionId-based investigation
- Real-World Example - Complete walkthrough
- Authentication Methods Reference - Method patterns
- Risk Escalation Criteria - High/Medium/Low classification
- Best Practices - Summary checklist
⚠️ CRITICAL WORKFLOW RULES - READ FIRST ⚠️
🚨 MANDATORY CHECKPOINT: Before providing ANY risk assessment for authentication anomalies:
- STOP - Do not improvise or use general security knowledge
- READ the complete risk assessment framework in this document
- QUOTE specific instruction sections in your analysis
- VERIFY your conclusions match documented guidance before responding to user
Before executing ANY authentication tracing queries, you MUST:
- Read the SessionId-based workflow (Steps 1-6 below) in full
- Search the investigation JSON for IP enrichment data (
ip_enrichmentarray) - PRIMARY DATA SOURCE - Follow the documented steps in order (SessionId → Authentication chain → Interactive MFA → Risk assessment)
- Use IP enrichment context in your final risk assessment (VPN status, abuse scores, threat intel, auth patterns)
Skipping these steps will result in incomplete or incorrect analysis.
Key Forensic Indicators
When investigating anomalous sign-ins (e.g., from new countries, IPs, or devices), it's critical to determine whether the user actively performed MFA at that location or if the authentication used a refresh token from a prior session.
RequestSequence Field
| Value | Meaning | Implication |
|---|---|---|
RequestSequence: 1 or higher |
Interactive authentication | User was challenged and responded |
RequestSequence: 0 |
Token-based authentication | No user interaction required |
AuthenticationDetails Array Patterns
Interactive Pattern:
- Array contains authentication method (e.g., "Passkey (device-bound)") with
RequestSequence > 0 - Followed by "Previously satisfied" entry
Token Reuse Pattern:
- Array contains ONLY "Previously satisfied" entries
- Shows "MFA requirement satisfied by claim in the token"
authenticationStepDateTime Correlation
- If
authenticationStepDateTimereferences a time when NO interactive auth occurred, it indicates token reuse - Cross-reference timestamps with events that have
RequestSequence > 0to trace token origin
IP Enrichment Data Structure (PRIMARY EVIDENCE SOURCE)
CRITICAL: The investigation JSON contains a comprehensive ip_enrichment array with authoritative detection flags.
Always reference this data FIRST before making VPN/proxy/Tor determinations.
Example IP Enrichment Entry (Actual JSON Structure)
{
"ip": "203.0.113.42", // ← KEY: Use "ip" field, not "ip_address"
"city": "Singapore",
"region": "Singapore",
"country": "SG",
"org": "AS12345 Example Hosting Ltd",
"asn": "AS12345",
"timezone": "Asia/Singapore",
"risk_level": "HIGH", // ← Overall risk assessment (LOW/MEDIUM/HIGH)
"assessment": "⚠️ Threat Intelligence Match: Commercial VPN Service Detected",
"is_vpn": true, // ← PRIMARY VPN DETECTION FLAG (ipinfo.io detection)
"is_proxy": false, // ← PRIMARY PROXY DETECTION FLAG
"is_tor": false, // ← PRIMARY TOR DETECTION FLAG
"abuse_confidence_score": 0, // ← AbuseIPDB score 0-100 (0=clean, 75+=high risk)
"total_reports": 2, // ← Number of abuse reports in AbuseIPDB
"is_whitelisted": false,
"threat_description": "Commercial VPN Service: Known Anonymization Infrastructure",
"anomaly_type": "NewInteractiveIP",
"first_seen": "2025-10-16", // ← First sign-in from this IP (date string)
"last_seen": "2025-10-16", // ← Last sign-in from this IP (date string)
"hit_count": 5, // ← Number of anomaly detectio
Установить authentication-tracing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл authentication-tracing?
Use this skill when asked to trace authentication flows, analyze SessionId chains, investigate token reuse vs interactive MFA, or assess geographic anomalies in sign-ins. Triggers on keywords like "trace authentication", "trace back to interactive MFA", "SessionId analysis", "token reuse", "geographic anomaly", "impossible travel", or when investigating suspicious sign-in locations. This skill provides forensic analysis of Entra ID authentication chains to distinguish legitimate activity from credential/token theft.
Как установить скилл authentication-tracing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл authentication-tracing запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic