vetkit.go.jwt.hardcoded-secret
A JWT is signed with a hard-coded key.
Last updated:
Suite: Security
go
A JWT is signed with a hard-coded key.
Category: SECURITY · Engine rule severity: ERROR
How to fix it
Load the key from the environment or a secret manager and rotate the exposed value.
References
Source: packages/engine/rules/sast/go.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.