Skip to content
vetkitChecksChangelogDocumentation

vetkit.js.jwt.ignore-expiration

JWT verification is configured with ignoreExpiration: true, so expired (e.g. revoked or stolen) tokens are accepted forever.

Last updated:

Suite: Security

javascript, typescript

JWT verification is configured with ignoreExpiration: true, so expired (e.g. revoked or stolen) tokens are accepted forever.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Remove ignoreExpiration and issue short-lived tokens with a refresh flow instead.

References

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