Packs / cybersecurity-public
password-policy-check
Check a password policy config against NIST SP 800-63B and get the gaps listed
Install
logicpacks pack use cybersecurity-public/password-policy-checkget_pack cybersecurity-public/password-policy-checkThe second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.
Keys it needs (names only)
None.
Playbooks included
- Spec:
spec/SPEC.md(goal, steps, edge cases, don’ts) - Routes:
local-python - Checks: 2 in
outcome/checks.yaml - Code:
policy_check.py - Tools: python3
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from 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
- Write down the current policy as JSON (from the app settings or IdP).
- Run
python3 code/policy_check.py policy.json. - 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.