spoofing
This skill should be used when the user asks to "check for spoofing", "analyze identity spoofing risks", "find authentication vulnerabilities", or mentions…
от florianbuetow★ 22 звезды на GitHub
Установить spoofing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Spoofing Identity Analysis
Analyze source code for spoofing threats where attackers can impersonate legitimate users or system components. Maps to STRIDE S -- violations of the Authentication security property.
Supported Flags
Read ../../shared/schemas/flags.md for the full flag specification. This skill supports all cross-cutting flags including --scope, --depth, --severity, --format, --fix, --quiet, and --explain.
Framework Context
Read ../../shared/frameworks/stride.md, specifically the S - Spoofing Identity section, for the threat model backing this analysis. Key concerns: credential theft/reuse, session hijacking, token theft, IP spoofing, certificate spoofing.
Workflow
1. Determine Scope
Parse flags and resolve the target file list per the flags spec. Filter to files likely relevant to authentication and identity:
- Route handlers and API controllers with login/register/auth logic
- Authentication middleware and guard functions
- Session management modules and cookie configuration
- Token generation, signing, and validation code
- OAuth/OIDC integration points and callback handlers
- Configuration files containing credential settings or auth parameters
- Password reset and account recovery flows
2. Analyze for Spoofing Threats
For each in-scope file, apply the Analysis Checklist below. Read each file fully at --depth standard or trace cross-file auth flows at --depth deep. Pay special attention to trust boundaries where identity is established or propagated between components.
3. Report Findings
Output findings per ../../shared/schemas/findings.md using the SPOOF ID prefix (e.g., SPOOF-001). Set references.stride to "S" on every finding.
Analysis Checklist
Work through these questions against the scoped code. Each "yes" may produce a finding.
- Plaintext credentials -- Are passwords, API keys, or tokens stored in plaintext in source, config, or database fields? Search for assignment patterns to variables named
password,secret,api_key,token. Check database migration files for password columns without encryption or hashing annotations. - Weak hashing -- Are passwords hashed with MD5, SHA-1, or unsalted SHA-256 instead of bcrypt/scrypt/argon2? Look for
md5(,sha1(,hashlib.sha256without salt,crypto.createHash('md5'). Check if a work factor / cost parameter is configured for adaptive hashing. - Missing authentication -- Are there route handlers or API endpoints with no auth middleware applied? Check route definitions for missing
authenticate,requireAuth,@login_required, or equivalent guards. Map all routes and flag any that handle sensitive data but lack auth in their middleware chain. - Session fixation -- Is the session ID regenerated after login? Look for session creation that does not call
regenerate(),rotate(), or equivalent after credential verification. Also check that session cookies useSecure,HttpOnly, andSameSiteattributes. - Token validation gaps -- Are JWTs verified with proper algorithm pinning? Search for
algorithms=["none"], missingverify_signature, or absentaud/issclaims checks. Verify that token expiration (exp) is enforced and that refresh token rotation is implemented. - Certificate verification disabled -- Is TLS certificate validation turned off? Look for
verify=False,rejectUnauthorized: false,InsecureSkipVerify: true, orCURLOPT_SSL_VERIFYPEERset to 0. Even in test code, this pattern often leaks to production. - IP-based authentication -- Is access granted solely based on IP address or
X-Forwarded-Forwithout additional factors? These headers are trivially spoofable. Check if internal APIs rely on source IP as the only access control. - Credential comparison timing -- Are secrets compared with
==instead of constant-time comparison (hmac.compare_digest,crypto.timingSafeEqual,ConstantTimeCompare)? Timing attacks can leak credential bytes progressively. - Default credentials -- Are there hardcoded default usernames/passwords (e.g.,
admin/admin,test/test) in source or seed data that may ship to production? Check if seed scripts are gated behind environment checks. - OAuth/OIDC misconfig -- Is the
stateparameter missing from OAuth flows, enabling CSRF? Is the redirect URI validated loosely or with wildcards? Check if thenonceclaim is verified in OIDC ID tokens. - MFA bypass paths -- If MFA is implemented, are there code paths that skip the second factor? Look for conditional checks that short-circuit MFA for certain user types, remember-me tokens without expiry, or backup code implementations without rate limiting.
- Account enumeration -- Do login or password-reset endpoints return different responses for valid vs. invalid accounts? Check err
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл spoofing?
This skill should be used when the user asks to "check for spoofing", "analyze identity spoofing risks", "find authentication vulnerabilities", or mentions "spoofing" in a security context. Maps to STRIDE category S.
Как установить скилл spoofing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл spoofing запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…