# password-policy-check

Check a password policy config against NIST SP 800-63B and get the gaps listed

- **Space:** cybersecurity-public (https://github.com/Tech-Realm/space-cybersecurity-public/tree/main/password-policy-check)
- **Level:** L2 (as the registry reports it)
- **Keys it needs (names only):** none
- **Tools:** python3
- **Routes:** local-python; checks: 2
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use cybersecurity-public/password-policy-check` or MCP `get_pack cybersecurity-public/password-policy-check`
- **Files:** CHANGELOG.md, code/policy_check.py, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/fixtures/legacy.json, outcome/fixtures/nist.json, outcome/results.json, pack.yaml, spec/SPEC.md, spec/source.md

## Purpose (spec/SPEC.md)

## Goal

A gap list for our password policy (min length, max length, composition rules, forced rotation, breached-list screening, lockout/throttling, MFA) versus NIST SP 800-63B.

Verified by: A NIST-aligned fixture passes; a legacy policy fixture reports the 5 expected gaps.

## Steps

1. Write down the current policy as JSON (from the app settings or IdP).
2. Run `python3 code/policy_check.py policy.json`.
3. Fix gaps in the app/IdP config; re-run.

## Edge cases

- Admin accounts should have stricter rules (MFA required) than the baseline.

## Don'ts

- Never point this at machines, hosts or networks we do not own or are not authorised to audit.
- Don't change settings automatically; report, then a human applies fixes.
- Don't put real passwords or hashes in the input; it is a settings file only.



---

Canonical URL: https://logicpacks.io/packs/cybersecurity-public/password-policy-check

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
