apk-redteam-pipeline
End-to-end Android APK red-team pipeline — automated APK acquisition (Play Store + apkpure + apkmirror fallback), jadx decompilation, secret/URL/JWT/Firebase…
Hunt Session Management vulnerabilities — session fixation (no regeneration on login), insufficient invalidation on logout / password-change / email-change, predictable or low-entropy session IDs, JWT-as-session with no exp/revocation, refresh-token rotation/reuse-detection
$ npx -y skills add elementalsouls/Claude-BugHunter --skill hunt-session --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/hunt-sessionContext preview
The summary Claude sees to decide when to auto-load this skill.
Hunt Session Management vulnerabilities — session fixation (no regeneration on login), insufficient invalidation on logout / password-change / email-change, predictable or low-entropy session IDs, JWT-as-session with no exp/revocation, refresh-token rotation/reuse-detection
name: hunt-session description: "Hunt Session Management vulnerabilities — session fixation (no regeneration on login), insufficient invalidation on logout / password-change / email-change, predictable or low-entropy session IDs, JWT-as-session with no exp/revocation, refresh-token rotation/reuse-detection gaps, OAuth/SSO session linkage, device-bound-session (DBSC) downgrade, and cookie attribute issues (Secure/HttpOnly/SameSite/__Host-). Validate with TWO real sessions (attacker A + victim B), body-diff every 200, and OOB confirmation for theft chains. Medium to Critical (fixation→admin hijack, no-invalidation→persistent ATO)." sources: hackerone_public, portswigger_research, owasp_wstg report_count: 18
**Missing HttpOnly on cookies is auto-detected — focus your active testing on lifecycle invalidation (higher impact).**
**Pattern 1 — Session survives logout (most common high-value finding):** 1. Login and note the session token/cookie value 2. Call the logout endpoint (`/logout`, `POST /api/logout`, etc.) 3. Try to use the OLD session token to access a protected resource (`/api/me`, `/dashboard`, `/account`) 4. If 200 with user data → session not invalidated on logout = ATO persistence
**Pattern 2 — Session not regenerated on login (session fixation):** 1. GET any page to receive a pre-authentication session token/cookie 2. POST valid credentials to the login endpoint 3. Compare the session token BEFORE and AFTER login 4. If the token is unchanged → session fixation vulnerability
**Pattern 3 — Session survives password change:** 1. Login → record session A value 2. Change the password via the account settings endpoint 3. Replay session A on a protected endpoint 4. If 200 → token not rotated on credential change = persistent ATO (critical chain when combined with XSS/cookie theft)
**Content-type:** Login and session endpoints vary — use `application/json` for REST APIs, `application/x-www-form-urlencoded` for traditional web forms. Try both if the first returns an unexpected response.
**Proof:** A protected-resource 200 response (with user data) using a session token that should have been invalidated confirms the finding.
---
Session fixation leading to admin hijack = Critical. Session surviving a password change = High-to-Critical (persistent ATO from a stolen cookie that the victim believes they revoked by resetting their password).
**Highest-value chains:**
---
No invented CVE/report IDs below. These are the *named, publicly-documented* patterns this skill encodes:
Cross-refs: ATO chaining → `hunt-ato`; JWT alg/kid tampering → `hunt-api-misconfig`; OAuth code/state flaws → `hunt-oauth`; CSRF mechanics → `hunt-csrf`; cookie-theft sinks → `hunt-xss` / `hunt-dom`.
---
Set-Cookie: session=... # name varies: sid, JSESSIONID, connect.sid,
# PHPSESSID, ASP.NET_SessionId, laravel_session, _csrf
/login /logout /api/login /oauth/token
/auth/refresh /api/token/refresh # refresh-token rotation surface
/account/change-password /settings/email
?sid= ?session= in URL # session-in-URL → leaks via Referer/logs (finding)# Header signals worth flagging immediately: Set-Cookie: session=abc; Path=/ # no HttpOnly/Secure/SameSite Set-Cookie: session=abc; SameSite=None # None without Secure = rejected by modern browsers, but flag Set-Cookie: __Host-sess=...; Secure; Path=/ # GOOD — hard to fixate Sec-Session-Registration: ... # DBSC in play → test downgrade
---
A self-contained Claude skill bundle for bug hunting and external red-team work · 83 skills · 15 slash commands · 681 disclosed-report patterns (433 now individually cited & auditable) across 24 core vulnerability classes · enterprise identity +
Repo: elementalsouls/Claude-BugHunter
End-to-end Android APK red-team pipeline — automated APK acquisition (Play Store + apkpure + apkmirror fallback), jadx decompilation, secret/URL/JWT/Firebase…
Local-tooling companion to the bug-bounty orchestrator — carries the SAME complete bug-bounty workflow, but reach for THIS variant when you also need to…
Use at the START of any bug bounty hunting session, when switching targets, or when feeling lost about what to do next. Master orchestrator that combines the…
Complete bug bounty workflow — recon (subdomain enumeration, asset discovery, fingerprinting, HackerOne scope, source code audit), pre-hunt learning (disclosed…
Bugcrowd-specific reporting tactics complementing report-writing: VRT category search-and-fallback strategy when no exact match exists, manual severity…
Cloud IAM red-team attack chain across AWS, Azure, GCP — focused on EXTERNAL exploitation paths and post-credential-discovery privilege analysis. Covers IAM…