session-management
仓库创建 2026年7月26日最近提交 18 小时前SkillHot 收录 4 小时前
▸ 精选理由
适用于任何 Web 应用,能降低会话被盗与固定攻击。
这个 Skill 做什么
检查会话令牌的发放、保护、旋转与销毁策略。
检查应用如何签发、保护、更新和销毁会话令牌,包括 cookie 标志、session fixation、登录时旋转和超时策略等细节。用于任何会让用户保持登录状态的应用,属于快速却高价值的安全复核步骤。特别强调传输加密、令牌不可预测与真正登出被终止这几项,能发现容易被忽视但致命的会话漏洞。
▸ 展开 SKILL.md 英文原文
Use when reviewing how an app issues, protects, and ends sessions — cookie flags, fixation, rotation, timeout — and the settings that make sessions safe.
1
Stars
0
Forks
40
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/jihedbfr-art/cyber-skills/main/skills/11-identity-and-access-management/04-session-management/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/jihedbfr-art/cyber-skills/main/skills/11-identity-and-access-management/04-session-management/SKILL.md"SKILL.MD 节选查看完整文件 ↗
## Purpose A session is what keeps a user logged in after they authenticate, which makes the session token as valuable as the password. This skill covers the properties a session must have — protected in transit, unpredictable, rotated at login, and actually killed at logout — and how to check each one. ## When to use it On any app that keeps users logged in. Fast to review, and the failures (fixation, missing flags, sessions that outlive logout) are common and directly exploitable. ## Procedure 1. Capture the session cookie after login and inspect its flags. The four that matter are `Secure`, `HttpOnly`, `SameSite`, and a sane `Path`: ``` curl -sI https://app.tld/login -d 'user=.
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有