Find hardcoded private keys
ProprietaryDetects 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. FindHardcodedPrivateKeymod run . --recipe= io. moderne. cryptography. FindHardcodedPrivateKeyInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.