mizazhaider-ceh/agentarsenal/session-management-security
Claude Code and agent skill by mizazhaider-ceh/agentarsenal
- community
Checking that the SKILL.md file is still in the repository.
Use when assessing session management on an authorized
Install
npx vskill@latest install mizazhaider-ceh/agentarsenal/session-management-securitySKILL.md
The same SKILL.md was published earlier as mizazhaider-ceh/agentarsenal/session-management-security.
Sessions are what login creates: get the cookie handling wrong and authentication does not matter. This skill covers authorized testing of session management: cookie flags, fixation, timeouts, rotation, and logout. Test with your own accounts on systems you may assess.
Quick Workflow
- Map the session tokens: names, where they live, and their
lifetime.
- Check cookie attributes: Secure, HttpOnly, SameSite, and Path.
- Test session fixation: can you plant a session ID the victim
then uses.
- Test rotation: does the ID change at login and privilege change.
- Check timeouts: idle and absolute, enforced server side.
- Test logout: is the session destroyed server side, everywhere.
- Check concurrent sessions: limits and user visibility.
- Report each gap with the exact request sequence.
1. Cookie and fixation tests
2. Timeout and logout
Edge cases
- JWTs as sessions. Then "logout" needs a denylist or short
expiry; verify which one exists.
- SSO sessions layered under app sessions. Log out of both, and
test each layer.
- Remember me tokens are long lived. They need rotation on use
and theft detection to be safe.
Escalation
- Fixation works: demonstrate with two test accounts (attacker
plants, victim logs in) as the proof.
- No server side invalidation: the finding is architectural;
recommend server side session stores.
Detection and defender view
Defenders see session attacks as fixation attempts (login with planted IDs), session reuse after logout, and concurrent session anomalies. They defend with the cookie attributes, rotation, and server side invalidation this skill tests, plus anomaly detection on session use. The durable design treats sessions as credentials: generated securely, bound to context, and revocable instantly.
Key references
- CWE-384 (Session Fixation).
- CWE-613 (Insufficient Session Expiration).
- CWE-614 (Sensitive Cookie Without Secure Attribute).
- OWASP Session Management Cheat Sheet.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/auth/session-management-security/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mizazhaider-ceh/agentarsenal/session-management-security)