Skip to content
vetkitChecksChangelogDocumentation

vetkit.java.jwt.signature-not-verified

A JWT is accepted without signature verification (unsigned/none algorithm tokens).

Last updated:

Suite: Security

java

A JWT is accepted without signature verification (unsigned/none algorithm tokens).

Category: SECURITY · Engine rule severity: ERROR

How to fix it

Verify tokens with a key (parseSignedClaims/parseClaimsJws in jjwt, JWT.require(alg).build().verify() in java-jwt) and never accept the none algorithm.

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.