Skip to content
vetkitChecksChangelogDocumentation

vetkit.java.jwt.hardcoded-secret

A JWT is signed or verified with a hard-coded secret.

Last updated:

Suite: Security

java

A JWT is signed or verified with a hard-coded secret.

Category: SECURITY · Engine rule severity: ERROR

How to fix it

Load signing keys from configuration backed by a secret manager and rotate the exposed value.

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.