# cookie-session-audit

cookie-session-audit is a Claude Code skill that inspects cookie files and checks session status. It activates for cookie checks, session verification, or bulk TXT, JSON, and ZIP audits.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 326 repo stars
- Author: mrhlaingbwardev
- License: LicenseRef-Proprietary · policy=link-only · description only; the file stays with the author
- Source: https://github.com/mrhlaingbwardev/agentic-hacking-skills/tree/HEAD/skills/cookie-session-audit/SKILL.md
- Updated: 2026-11-01
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/cookie-session-audit

## What it does

The skill reads cookies from TXT, JSON, JSONL, Netscape-format files, browser exports, and ZIP archives. It standardizes records, removes duplicates, and checks expiration, Secure and HttpOnly flags, SameSite settings, and domain or path scope. Cookie values are masked in its reports.

Static checks run offline. An optional live session test runs only when the user supplies a base URL; it sends a lightweight request and classifies the response. Tests are limited to cookies owned by the user or covered by authorization. The skill does not provide ways to bypass MFA, CAPTCHA, or login controls.

Results go to `cookie_summary.txt`, `cookie_results.json`, and `active_cookies.txt`. The last file contains full active cookie values only after an explicit request and confirmation of a secure context.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add mrhlaingbwardev/agentic-hacking-skills --skill cookie-session-audit -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/cookie-session-audit/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/cookie-session-audit/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add mrhlaingbwardev/agentic-hacking-skills --skill cookie-session-audit -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/cookie-session-audit/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add mrhlaingbwardev/agentic-hacking-skills --skill cookie-session-audit -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/cookie-session-audit/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install mrhlaingbwardev/agentic-hacking-skills skills/cookie-session-audit
```

2. **Manually: put the files in place**
- File: `.github/skills/cookie-session-audit/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add mrhlaingbwardev/agentic-hacking-skills --skill cookie-session-audit -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/mrhlaingbwardev/agentic-hacking-skills --path skills/cookie-session-audit
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/cookie-session-audit/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/mrhlaingbwardev/agentic-hacking-skills/tree/HEAD/skills/cookie-session-audit/SKILL.md

## When to use it
- parse cookie records from TXT, JSON, or ZIP files
- flag expired cookies and weak security settings
- check session status against a supplied base URL
- write reports with masked cookie values

## Example prompts
- Audit `cookies.zip` and write a summary of the cookie results.
- Find expired records and cookies missing `HttpOnly` in `cookies.json`.
- Check the sessions in `sessions.txt` against the supplied base URL.

## Similar
- [session-management](https://affpapa.org/en/nevibecode/skills/secondsky-session-management.md) — skill · 436 installs
- [cookie-debugging](https://affpapa.org/en/nevibecode/skills/cookie-debugging.md) — skill · 1200 installs
- [cookie-sync](https://affpapa.org/en/nevibecode/skills/cookie-sync.md) — skill · 2700 installs
- [nextjs-client-cookie-pattern](https://affpapa.org/en/nevibecode/skills/nextjs-client-cookie-pattern.md) — skill · 326 installs
- [browser-auth-flow](https://affpapa.org/en/nevibecode/skills/browser-auth-flow.md) — skill · 690 installs
- [supabase-audit-rpc](https://affpapa.org/en/nevibecode/skills/supabase-audit-rpc.md) — skill · 576 installs

From the same set: [mrhlaingbwardev/agentic-hacking-skills](https://affpapa.org/en/nevibecode/by/mrhlaingbwardev/agentic-hacking-skills.md) — 28 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
