---
name: "john-the-ripper-password-auditor"
description: "Audit stored password hash strength and detect weak user credentials with John the Ripper."
metadata:
  author: "openwall"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "audit password hashes john"
  - "crack weak password hash john"
  - "benchmark john the ripper"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---

# John the Ripper Password Hash Strength Auditor

Performs password hash auditing using John the Ripper: dictionary attacks, wordlist mangling rules, hybrid mask attacks, benchmark mode, and verifying bcrypt/sha512crypt resilience.

## When to Invoke
Invoke this skill whenever you need to:
- audit password hashes john
- crack weak password hash john
- benchmark john the ripper

## Execution SOP & Rules
1. Execute john --format=<format> --wordlist=passwords.txt hashes.txt on authorized audit dumps.
2. Apply standard wordlist mangling rules using --rules to simulate common user mutations.
3. Inspect cracked weak passwords with john --show hashes.txt to quantify policy compliance.
4. Require users with cracked weak passwords to reset credentials to strong passphrases.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
