Skip to content
vetkitChecksChangelogDocumentation

vetkit.java.spring-security.permit-all-requests

Spring Security permits every request that is not matched by an earlier rule (anyRequest().permitAll()).

Last updated:

Suite: Security

java

Spring Security permits every request that is not matched by an earlier rule (anyRequest().permitAll()).

Category: SECURITY · Engine rule severity: INFO

How to fix it

Deny by default (anyRequest().authenticated() or denyAll()) and list public endpoints explicitly, so new endpoints are protected unless opened on purpose.

References

Source: packages/engine/rules/sast/java.yml.

Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.