password-storage-security

Securely store and verify passwords using Argon2id, bcrypt, scrypt, and PBKDF2.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/marquesfelip/agents-and-skills --skill password-storage-security
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: password-storage-security
Source: https://github.com/marquesfelip/agents-and-skills/tree/main/skills/password-storage-security
Command: npx skills add https://github.com/marquesfelip/agents-and-skills --skill password-storage-security

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Password storage has historically been mishandled, exposing users to credential theft when hashes are fast, salts are missing, or legacy schemes are used. This Skill provides guidance and concrete practices to select strong password hashing algorithms, implement proper salting, maintain secure storage, and detect breached credentials.

Core Features & Use Cases

  • Algorithm selection guidance for Argon2id, bcrypt, scrypt, and PBKDF2, with recommended parameters.
  • Salt requirements, storage guidelines, and per-password unique salts to prevent rainbow table attacks.
  • Migration strategies for legacy hashes, breach-detection integration, and policy enforcement across services.
  • Secure password reset flows, constant-time comparisons, and non-revealing error handling.

Quick Start

Review and implement a password storage strategy using Argon2id or bcrypt, set up per-user salts, enable breach-detection checks, and plan a migration path for existing hashes.

Frequently Asked Questions about password-storage-security

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

FAQPage Schema
How do I securely store user passwords using hashing algorithms?

Securely store user passwords by using strong hashing algorithms like Argon2id, bcrypt, scrypt, or PBKDF2. Apply per-user salts and constant-time comparisons across your authentication workflows to prevent credential theft.

What is the best way to migrate legacy password hashes to Argon2id or bcrypt?

Migrate legacy password hashes by implementing a migration pathway that upgrades hashes upon user login. Apply strategies for Argon2id, bcrypt, scrypt, and PBKDF2 to transition seamlessly without invalidating existing credentials.

How does salting protect against rainbow table attacks in password storage?

Salting protects against rainbow table attacks by requiring unique, per-password salts before hashing. This ensures identical passwords produce different hash values, rendering precomputed rainbow tables completely ineffective.

How do I implement secure password reset flows and non-revealing error handling?

Implement secure password reset flows and non-revealing error handling by using constant-time comparisons and avoiding authentication error messages that reveal whether a specific username or password was invalid.

Can I integrate breach-detection checks into my password storage policy?

Yes, you can integrate breach-detection checks into your password storage policy. Apply this alongside algorithm selection guidance and policy enforcement across services to detect compromised credentials during authentication workflows.

What are the recommended parameters for PBKDF2 and scrypt password hashing?

Recommended parameters for PBKDF2 and scrypt involve balancing computational cost and memory hardness to resist brute-force attacks. Follow algorithm selection guidance to configure these strong hashing implementations securely.