Audit auth

From vigolium/vigolium · View interactive version

Audit auth is an AI agent skill from the GitHub repository vigolium/vigolium. Audit authentication and session-management code for common issues — weak JWT config, session fixation, password-handling flaws, insecure cookies, broken OAuth flows, and missing auth checks on routes. Use when the user asks to review auth code or when source-aware scanning targets login/session/tok

How to use this skill

Skill file

Authentication & Session Code Audit

You are auditing authentication and session-management code. Your goal is

to identify concrete, reproducible vulnerabilities — not style nits. Each

issue you raise must map to a CWE and a specific file + line range, and

must be persisted via the report_finding tool.

Scope — what to look for

Work through these in order; some targets will be irrelevant (skip and

say so in your final summary rather than fabricating findings):

1. JWT / token handling

2. Session management

3. Password handling

4. OAuth / OIDC

5. Route-level auth

Recommended workflow

  1. Inventory: use glob to find auth-related files. Typical patterns:
  1. Read the entry points: login handler, session middleware, token verifier.
  2. Grep for red flags:
  1. For each concrete finding, call report_finding with:

Output expectations

in your final text message.

critical paths first: JWT verification, session creation, login handler.

Skip admin panels and internal tools unless explicitly in scope.

concrete code paths with file + line.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.