crypto-fips-audit
Audit a Python package — and any C/C++/Go/Rust code it ships — for its use of cryptography, across three use cases: inventory what crypto a package uses at all (algorithms, providers, linkage, RNG, CA stores), find insecure or weak cryptography, and assess FIPS 140-3 / NIST compliance. Flags insecure use of approved primitives (AES-ECB, RSA PKCS#1 v1.5, static IV/nonce, random for secrets, timing-unsafe compares, disabled TLS verification), weak RSA/EC key sizes, and — for FIPS — refused hashes (MD5, MD4, RIPEMD-160), restricted ones (SHA-1), non-approved primitives (BLAKE2/3, ChaCha20-Poly1305, 3DES, scrypt/Argon2/bcrypt, X25519/X448 key agreement, secp256k1), vendored or statically linked crypto (bundled OpenSSL/BoringSSL/AWS-LC/NSS/GnuTLS/libgcrypt/ nettle/libsodium) that escapes the system validated module, hardcoded TLS versions/ciphers that bypass crypto-policies, bundled CA trust stores, and problematic PyPI deps (bcrypt, pycryptodome, pynacl, ecdsa, rsa, m2crypto, …). Source-first, then confirmed against the built wheel/binaries. Gathers evidence; does not certify compliance.
Pinned to revision 0c51c24122b3, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/crypto-fips-audit/SKILL.md
- skills/crypto-fips-audit/AGENTS.md
- skills/crypto-fips-audit/README.md
- skills/crypto-fips-audit/reference/binary-inspection.md
- skills/crypto-fips-audit/reference/fips-140-3-and-openssl.md
- skills/crypto-fips-audit/reference/fips-primer.md
- skills/crypto-fips-audit/reference/native-crypto.md
- skills/crypto-fips-audit/reference/python-audit.md
- skills/crypto-fips-audit/reference/trust-store.md
- skills/crypto-fips-audit/reference/weak-crypto.md
- skills/crypto-fips-audit/scripts/scan_crypto.py
Every link opens the file at its source, pinned to the revision this page describes.