Find insecure TLS configuration in Go
ProprietaryFinds tls.Config literals that disable certificate verification by setting InsecureSkipVerify: true. This makes the connection vulnerable to man-in-the-middle attacks. Remove the field or set it to false and configure a proper certificate chain.
org. openrewrite. golang. security. search. FindInsecureTlsConfigmod run . --recipe= org. openrewrite. golang. security. search. FindInsecureTlsConfigInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.