auth-security-validator

Validate authentication configurations for OWASP-compliant password hashing, cookies, and sessions.

3|Updated Oct 22, 2025
One-click install
npx skills add https://github.com/hirefrank/claude-plugins --skill auth-security-validator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auth-security-validator
Source: https://github.com/hirefrank/claude-plugins/tree/main/plugins/edge-stack/skills/auth-security-validator
Command: npx skills add https://github.com/hirefrank/claude-plugins --skill auth-security-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensures authentication security best practices are applied, including strong password handling, secure cookies, and session management aligned with OWASP guidance.

Core Features & Use Cases

  • Password Hashing: Validates secure hashing algorithms and parameters.
  • Cookie Security: Checks secure, HttpOnly, and SameSite configurations.
  • Session Management: Ensures robust session secrets and expiration settings.

Quick Start

Validate your auth-related code changes to ensure password hashing, cookies, and sessions meet security requirements.

Frequently Asked Questions about auth-security-validator

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

FAQPage Schema
How do I validate authentication security in my codebase?

Authentication validation identifies insecure configurations in password hashing, cookies, and session management. It checks that password algorithms use Argon2id with sufficient parameters, cookies enforce secure, httpOnly, and sameSite flags, and sessions have secrets of at least 32 characters with finite max age settings.

What password hashing requirements should I enforce for OWASP compliance?

OWASP-compliant password hashing requires Argon2id with memoryCost ≥ 19456 KB and timeCost ≥ 2. This ensures strong resistance against brute-force and GPU-accelerated attacks while maintaining acceptable performance for legitimate authentication flows.

How do I configure secure cookies to prevent session hijacking?

Secure cookies require three attributes: the secure flag to transmit only over HTTPS, httpOnly to block JavaScript access, and sameSite set to 'lax' or 'strict' to prevent cross-site request forgery. This configuration protects against credential theft and unauthorized session access.

What session management practices reduce authentication vulnerabilities?

Secure session management enforces session secrets of at least 32 characters for unpredictability and sets finite session max age to limit exposure window. These practices align with OWASP guidance and prevent session fixation and indefinite token validity risks.

Can I use this for pre-deployment security checks?

Yes, authentication security validation works as a pre-deployment check to detect compliance gaps before code reaches production. It scans auth directories and configurations to ensure all security requirements are met before release.

What's the difference between detecting and enforcing authentication security?

Detection identifies existing non-compliant configurations in your codebase, while enforcement actively requires compliance with standards. Both approaches validate against the same OWASP-aligned requirements for password hashing, cookies, and session management.