Skip to content
vetkitChecksChangelogDocumentation

vetkit.go.jwt.none-algorithm

The JWT "none" algorithm is used, producing or accepting tokens without a signature.

Last updated:

Suite: Security

go

The JWT "none" algorithm is used, producing or accepting tokens without a signature.

Category: SECURITY · Engine rule severity: ERROR

How to fix it

Sign with HS256 / RS256 / EdDSA and restrict accepted algorithms with jwt.WithValidMethods.

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.