Find Spring Security configurations that disable session fixation protection

Proprietary

Finds Spring Security configurations that disable session fixation protection by calling sessionFixation().none(). Without session fixation protection, an attacker who obtains a victim's session identifier before authentication can reuse it to hijack the authenticated session. Spring Security defaults to changeSessionId(); applications should keep that default or use migrateSession().

org.openrewrite.java.security.search.FindInsecureSessionFixationConfig
mod run . --recipe=org.openrewrite.java.security.search.FindInsecureSessionFixationConfig

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