Find hardcoded cryptographic key lengths

Proprietary

Detects hardcoded key lengths used in cryptographic operations like KeyGenerator.init(), KeyPairGenerator.initialize(), RSAKeyGenParameterSpec, and PBEKeySpec. Hardcoded key lengths reduce flexibility and may not meet changing security requirements.

io.moderne.cryptography.FindHardcodedKeyLength
mod run . --recipe=io.moderne.cryptography.FindHardcodedKeyLength

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.