Find SSLContext.setDefault() usage

Proprietary

Detects calls to SSLContext.setDefault() which sets the system-wide default SSL context. This is problematic because it affects all SSL/TLS connections in the JVM, potentially overriding security configurations set by other parts of the application or libraries. It also prevents crypto-agility as the configuration becomes global.

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

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