Skip to content
vetkitChecksChangelogDocumentation

vetkit.rust.jwt.signature-validation-disabled

JWT signature validation is disabled, so forged tokens are accepted.

Last updated:

Suite: Security

rust

JWT signature validation is disabled, so forged tokens are accepted.

Category: SECURITY · Engine rule severity: ERROR

How to fix it

Decode tokens with jsonwebtoken::decode and a DecodingKey; never derive identity or permissions from unverified claims.

References

Source: packages/engine/rules/sast/rust.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.