vetkit.kotlin.jwt.hardcoded-secret
A JWT is signed or verified with a hard-coded secret.
Last updated:
Suite: Security
kotlin
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 (e.g. environment.config.property("jwt.secret")) and rotate the exposed value.
References
Source: packages/engine/rules/sast/kotlin.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.