sc-session

Detect session-management vulnerabilities across cookie, server-side, and token-based sessions.

56|5|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/ersinkoc/security-check --skill sc-session
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sc-session
Source: https://github.com/ersinkoc/security-check/tree/main/skills/sc-session
Command: npx skills add https://github.com/ersinkoc/security-check --skill sc-session

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Detects session-management vulnerabilities in web applications across cookie-based, server-side, and token-based sessions.

Core Features & Use Cases

  • Discovery of insecure cookie attributes (HttpOnly, Secure, SameSite) and improper token handling.
  • Verification of session lifecycle controls: regeneration after login, invalidation on logout, and avoidance of session fixation.
  • Remediation guidance with example configurations across major frameworks and languages.

Quick Start

Analyze your application's session handling to identify cookie attributes, token generation, and invalidation gaps.

Frequently Asked Questions about sc-session

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect session management vulnerabilities in web applications?

Detect session management vulnerabilities by analyzing cookie attributes, token generation, and session lifecycle controls across cookie-based, server-side, and token-based sessions. This process identifies insecure cookies, improper logout, and session fixation issues.

What are the most common insecure cookie attributes I should check for?

Insecure cookie attributes to check include missing HttpOnly, Secure, and SameSite flags. Analyzing these attributes reveals improper token handling and session exposure risks that leave web applications vulnerable to cross-site scripting or interception attacks.

How do I verify if my session lifecycle controls prevent session fixation?

Verify session lifecycle controls by checking for session regeneration after login and complete invalidation on logout. This validation confirms whether token reuse and session fixation vulnerabilities exist within the web application's authentication flow.

Can I get framework-specific remediation guidance for token handling issues?

Framework-specific remediation guidance for token handling issues is generated across major frameworks and languages. The analysis outputs structured findings with severity levels and example configurations to fix insecure session management flaws.

What is the best way to find improper logout behavior in token-based sessions?

The best way to find improper logout behavior in token-based sessions is to analyze session invalidation gaps and token reuse during the verification phase. This detects whether active tokens remain valid after user logout.

Does this session analysis cover server-side sessions and token-based sessions equally?

Session analysis covers server-side sessions and token-based sessions equally, detecting vulnerabilities across both architectures. It evaluates framework-specific settings and session lifecycle controls to identify fixation, reuse, and insecure cookie exposure.