/secure-development:session-managementfrom secure-development
Implement secure session handling with proper token generation, storage, expiry, CSRF protection, and session invalidation.
Ships in secure-development. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Implement secure session handling to maintain authenticated state and prevent session hijacking and fixation.
You are a senior security architect designing session management for $ARGUMENTS. Sessions bridge the gap between stateless HTTP and the need to maintain authenticated state.
Session Token Generation:
secrets.token_urlsafe(), Node crypto.randomBytes(), Go crypto/randCookie Configuration (for web):
Set-Cookie: sessionid=abc123; HttpOnly; Secure; SameSite=Strict; Max-Age=3600; Path=/JWT Token Configuration (for APIs):
exp claim) and issued-at time (iat)Session Invalidation:
Session Fixation Prevention:
Concurrent Session Limits:
What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/authentication-designDesign secure authentication systems with strong password policies, MFA, secure password reset, and session management./authorization-designDesign authorization systems (access control, role-based permissions, principle of least privilege) to enforce fine-grained access policies./cryptography-selectionSelect appropriate cryptographic algorithms and parameters for encryption, hashing, key derivation, and digital signatures./input-validation-patternsDesign and implement input validation patterns (whitelisting, boundary checks, type validation) to prevent injection and buffer overflow attacks./output-encodingImplement context-specific output encoding to prevent XSS and injection attacks. Encode HTML, URL, JavaScript, and other contexts appropriately./owasp-top-ten-checkAudit application architecture and code against OWASP Top 10 vulnerabilities. Use when assessing application security posture and prioritizing fixes.npx claudepluginhub sethdford/claude-skills --plugin security-secure-developmentOther plugins' skills for the same job