Sanitize log injection vulnerabilities

Proprietary

Sanitizes user-controlled input before it flows into logging methods by stripping newline, carriage return, and tab characters that could enable log forging.

org.openrewrite.analysis.java.security.SanitizeLogInjection
mod run . --recipe=org.openrewrite.analysis.java.security.SanitizeLogInjection

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