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 con
SkillScore84Maintained
Automatic
◆Security & AppSec pack
Last verified 8/9/2026
What it changes
Passed 21 of 25 test cases with the skill, and 15 of 25 without it.
Without skill60%
With skill84%
Checks it passed that the model alone missed
The risk assessment categorizes session fixation leading to administrative account compromise as Critical severity.
The sampling guideline specifies collecting a sample size of at least 200 session identifiers before conducting entropy analysis.
The assessment identifies top-level cross-site navigation originating from a sibling subdomain as a bypass vector for SameSite=Lax.
and 4 more in the full report
6 fixed15 passed either way4 still failing0 broke
Pass-rate lift
+24 pp
Tokens
+242%
Agent turns
0%
Response time
-8%
Model gemini-3.6-flashMeasured 8/9/2026v121 of 25 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 6
Prompt
An application sets `Set-Cookie: sid=...; SameSite=Lax` as its primary defense against cross-site requests. What specific architectural condition described in CVE-2024-22424 allows an attacker to bypass this defense?
What was checked, without and with the skill
Checked
Without skill
With skill
The assessment identifies top-level cross-site navigation originating from a sibling subdomain as a bypass vector for SameSite=Lax.
Missed
Passed
case-11 · gemini-3.6-flash · 8/9/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md291 linessingle file
Autonomous Testing Priority
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):
Login and note the session token/cookie value
Call the logout endpoint (/logout, POST /api/logout, etc.)
Try to use the OLD session token to access a protected resource (/api/me, /dashboard, /account)
If 200 with user data → session not invalidated on logout = ATO persistence
Pattern 2 — Session not regenerated on login (session fixation):
GET any page to receive a pre-authentication session token/cookie
POST valid credentials to the login endpoint
Compare the session token BEFORE and AFTER login
If the token is unchanged → session fixation vulnerability
Pattern 3 — Session survives password change:
Login → record session A value
Change the password via the account settings endpoint
Replay session A on a protected endpoint
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.
HUNT-SESSION — Session Management
Crown Jewel Targets
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:
Session fixation — server accepts a session ID set by the client and does NOT regenerate it on login → attacker pre-plants an ID, victim authenticates, attacker rides the now-authenticated session → persistent ATO.
No invalidation on logout — old token still works after /logout → theft window never closes.
No invalidation on password / email change — a stolen session survives the victim's "I think I was hacked, let me reset" → persistent ATO. This is the single highest-paid session bug class.
Refresh-token reuse without rotation-detection — a leaked refresh token mints fresh access tokens forever; no reuse-detection means the legitimate user's later refresh does NOT revoke the attacker's branch.
Predictable / low-entropy session ID — sequential, timestamp- or userId-derived IDs → brute-force or compute other users' sessions.
Hunting skill for subdomain takeover vulnerabilities. Includes modern provider fingerprints — Microsoft Azure DevOps `cloudapp.azure.com` regional-pool re-issue (1-click OAuth ATO via wildcard `reply_to`, Binary Security), Zendesk help-desk takeover → email interception → password reset chain (0xprial writeup), Vercel `cname.vercel-dns.com` deleted-project takeover, plus general Fastly CDN service re-attach and S3 dangling-bucket cookie-scope techniques. Use when hunting subdomain takeover — emp