hunt-session
Installation
SKILL.md
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