Find hardcoded private keys

Proprietary

Detects hardcoded private keys in the code, including PEM-encoded keys that flow into KeyFactory.generatePrivate() calls. Hardcoded private keys are a severe security vulnerability as they compromise the entire cryptographic system.

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

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