Skip to content
vetkitChecksChangelogDocumentation

vetkit.py.jwt.expiry-verification-disabled

JWT expiry verification is disabled (verify_exp = False); stolen tokens stay valid forever.

Last updated:

Suite: Security

python

JWT expiry verification is disabled (verify_exp = False); stolen tokens stay valid forever.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Keep verify_exp enabled and issue short-lived tokens with an exp claim.

Rule pattern example

The engine’s matching pattern, not a confirmed exploit. Metavariables and ellipses describe matching syntax.

jwt.decode(..., options={..., "verify_exp": False, ...}, ...)

References

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