auto-security

Identify and remediate security pattern gaps in authentication, session management, and input handling.

6|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/Corvalis-LLC/Crow-Stack --skill auto-security
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auto-security
Source: https://github.com/Corvalis-LLC/Crow-Stack/tree/main/skills/auto-security
Command: npx skills add https://github.com/Corvalis-LLC/Crow-Stack --skill auto-security

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inconsistent security practices across authentication, sessions, cookies, and file uploads are a common risk in automation pipelines. This Skill codifies core security patterns to ensure consistent, safer defaults and to reduce security debt when building with Claude or Codex.

Core Features & Use Cases

  • Enforces hashing of session tokens before storage and safe handling of tokens in cookies.
  • Hides detailed authentication errors to avoid information leakage to attackers.
  • Implements timing-safe flows to prevent user enumeration on login.
  • Prevents session fixation by destroying old sessions on login and revoking other sessions on password changes.
  • Enforces strict cookie attributes (httpOnly, secure, sameSite: 'strict') to reduce CSRF risk.
  • Recommends stronger password hashing (bcrypt >= 12 or Argon2id) and multi-layer validation for file uploads.
  • Provides a guardrail for dangerous patterns and a remediation checklist for secure design.

Quick Start

Enable the auto-security checks on auth and session flows and run the security review against your latest code changes.

Frequently Asked Questions about auto-security

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

FAQPage Schema
How do I prevent user enumeration during authentication in my codebase?

Hash session tokens before storage and enforce strict cookie attributes like httpOnly, secure, and sameSite strict to prevent token theft. This Skill applies those checks to login and session creation flows to reduce CSRF risk.

What's the best way to validate file uploads for security in automation pipelines?

Validate file uploads using a three-layer validation approach to ensure safe handling. This Skill enforces multi-layer file validation as part of its security pattern checks across your codebase.

How do I stop session fixation when users log in or change passwords?

Stop session fixation by destroying old sessions on login and revoking other active sessions on password changes. This Skill identifies session management gaps and remediates them with secure revocation patterns.

Can I use this security review with existing authentication flows that use bcrypt?

Yes, it works with existing authentication flows and recommends bcrypt with a cost factor of 12 or higher, or Argon2id, for password hashing. It reviews current implementations against those standards.

Why do detailed authentication error messages create security risks?

Detailed authentication error messages leak information to attackers about valid usernames or system internals. This Skill enforces safe error reporting that hides those details to prevent information leakage.