audit-auth

Audits application authentication security across frontend, backend, and infrastructure configurations.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Ascenseurs-Menetrey-SA/amsa-claude-skills --skill audit-auth-ascenseurs-menetrey-sa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audit-auth
Source: https://github.com/Ascenseurs-Menetrey-SA/amsa-claude-skills/tree/main/audit-auth
Command: npx skills add https://github.com/Ascenseurs-Menetrey-SA/amsa-claude-skills --skill audit-auth-ascenseurs-menetrey-sa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you identify exploitable weaknesses in an application’s authentication stack by examining the backend, frontend, and infrastructure configuration together rather than in isolation.

Core Features & Use Cases

  • End-to-end auth security auditing: Reviews JWT handling, password hashing, rate limiting, CORS, SQL injection risk, error/anti-enumeration patterns, logging hygiene, session management, refresh-token rotation, 2FA/TOTP, and logout behavior.
  • Frontend auth hardening review: Checks token storage practices, XSS defenses, URL validation, route guards, refresh flow safety, HTTPS expectations, and client-side caching cleanup at logout.
  • Infra and security headers assessment: Verifies HTTP security headers (HSTS/CSP/X-Frame/etc.), Docker best practices (non-root, pinned images), secret handling (including Git history via gitleaks), TLS/reverse proxy behavior, and CI/CD pinning.

Quick Start

Ask Claude Code to run audit-auth on your project by providing the project path as the argument-hint value.

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 security and authentication vulnerabilities in my application?

An authentication security audit examines JWT handling, password hashing, rate limiting, and CORS across backend, frontend, and infrastructure layers. It identifies exploitable weaknesses by analyzing token storage, session management, and secret exposure risks together rather than in isolation to ensure production readiness.

What security headers and CORS configurations should I check before deploying authentication?

An authentication audit verifies HTTP security headers including HSTS, CSP, and X-Frame-Options alongside CORS configurations and TLS reverse proxy behavior. It assesses Docker best practices like non-root users and pinned images to ensure infrastructure hardening before production deployment.

Can I scan my project for exposed secrets and hardcoded credentials in Git history?

Secret scanning detects exposed credentials in Git history using gitleaks and assesses secret handling across the project directory. An authentication audit integrates this scan to verify CI/CD pinning, identify hardcoded secrets, and evaluate overall secret exposure risks before deployment.

How do I check if my frontend token storage and XSS protections are secure?

Frontend auth hardening reviews token storage practices, XSS defenses, route guards, and URL validation to prevent session hijacking. It verifies refresh flow safety, HTTPS expectations, and confirms client-side caching cleanup at logout to ensure secure authentication behavior.

Does this authentication audit work with passwordless flows and 2FA/TOTP implementations?

The authentication audit validates production readiness for passwordless flows and 2FA/TOTP implementations by reviewing session management, refresh-token rotation, and logout behavior. It examines multi-factor authentication stacks alongside error patterns and logging hygiene to ensure comprehensive security.

What is the best way to find authentication security gaps in a JWT-based project directory?

Conducting a comprehensive authentication audit across backend, frontend, and infrastructure uncovers OWASP vulnerabilities, SQL injection risks, and rate limiting issues that isolated reviews miss. Analyzing the entire project directory together identifies exploitable weaknesses in JWT handling, session flows, and security headers.