audit-auth

Audit authentication source code for JWT, session, and OAuth vulnerabilities.

965|142|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/vigolium/vigolium --skill audit-auth-vigolium
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audit-auth
Source: https://github.com/vigolium/vigolium/tree/main/internal/resources/olium/skills/audit-auth
Command: npx skills add https://github.com/vigolium/vigolium --skill audit-auth-vigolium

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Authentication and session flaws (like weak JWT validation, session fixation, or broken OAuth flows) can turn an otherwise secure app into one that’s vulnerable to account takeover and privilege escalation.

Core Features & Use Cases

  • JWT / Token Handling Checks: Detects concrete verifier weaknesses such as accepting alg=none, missing issuer/audience/expiration validation, and unsafe key/confusion patterns.
  • Session Management Review: Finds session predictability, missing secure cookie attributes, and cases where sessions are not rotated appropriately.
  • Password, OAuth, and Route Authorization Audits: Flags plaintext/weak password storage, login rate-limit gaps, OAuth state/redirect issues, and missing or flawed route-level auth checks.

Quick Start

Use the audit-auth Skill to review the repository’s authentication code paths and produce a CWE-mapped, file-and-line evidence report for each concrete issue found.

Frequently Asked Questions about audit-auth

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

FAQPage Schema
How do I audit JWT validation code for security vulnerabilities?

To audit JWT validation code, scan for specific weaknesses like accepting alg=none, missing issuer/audience/expiration validation, and unsafe key confusion patterns. The review generates a CWE-mapped evidence report with exact source file line ranges for each concrete issue found.

What are common session fixation vulnerabilities in authentication code?

Common session fixation vulnerabilities include session predictability, missing secure cookie attributes, and cases where sessions are not rotated appropriately after login. Scanning the source code for these patterns produces a report detailing each flaw with a CWE ID and severity level.

How do I check my OAuth redirect and callback flows for broken authorization?

To check OAuth redirect and callback flows, review the source code for missing state parameter validation, unsafe redirect handling, and flawed route-level authorization checks. The audit flags these issues and persists each finding with a CWE ID, severity, and exact source line range.

Can I scan source code for missing login rate limits and weak password storage?

Yes, you can scan source code to identify plaintext or weak password storage and login rate-limit gaps. The review targets password workflows and route authorization, persisting concrete findings with CWE IDs, severity levels, and exact source file line ranges.

What is the best way to map CWE IDs to authentication security findings?

The best way to map CWE IDs to authentication findings is to perform a source-aware review of login, session, and token code paths. The process persists each concrete vulnerability with a CWE ID, severity, and exact source file line range via a structured reporting mechanism.

Does the authentication audit work on specific token verifiers and middleware code paths?

Yes, the authentication audit applies directly to source-aware review of token verifiers, middleware, and callback redirect handling. It scans these specific code paths for security patterns and generates a report with CWE IDs, severities, and exact line ranges for each issue.