password-based-authentication-pattern

Installation
SKILL.md

Password-Based Authentication Security Pattern

A subject proves identity by providing a correct identifier (username/email) and corresponding password. Relies on the assumption that only the actual owner knows the correct password.

Core Components

Role Type Responsibility
Subject Entity Provides identifier and password
Enforcer Enforcement Point Ensures authentication before action processing
Verification Manager Entity Collects inputs for password verification
Comparator Decision Point Compares hash values
Hasher Cryptographic Primitive Calculates hash values
Password Store Storage Keeps hash values for registered identities
Registrar Entity Handles subject registration
Resetter Entity Handles credential reset
Password Policy Information Point Rules passwords must satisfy
SRNG Cryptographic Primitive Secure random number generator
Related skills
Installs
7
GitHub Stars
4
First Seen
Feb 19, 2026