Skip to content

Packs / cybersecurity-public

password-policy-check

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

L2 Checks passed 3 of 3 runsv1.0.0Tech-Realm/space-cybersecurity-public

Install

logicpacks pack use cybersecurity-public/password-policy-check
get_pack cybersecurity-public/password-policy-check

The 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

  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.