acc-check-authentication
Installation
SKILL.md
Authentication Security Check
Analyze PHP code for authentication vulnerabilities.
Detection Patterns
1. Weak Password Handling
// CRITICAL: Plain text password storage
$user->setPassword($_POST['password']);
// CRITICAL: Weak hashing (MD5, SHA1)
$hash = md5($password);
$hash = sha1($password);
$hash = hash('sha256', $password);
// VULNERABLE: No salt
$hash = password_hash($password, PASSWORD_DEFAULT); // OK, but check algo