Skip to content
vetkitChecksChangelogDocumentation

vetkit.go.jwt.parse-unverified

A JWT is decoded with ParseUnverified, which skips signature validation.

Last updated:

Suite: Security

go

A JWT is decoded with ParseUnverified, which skips signature validation.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Use Parse / ParseWithClaims with a key function; claims read without verification must never drive authorization.

Rule pattern example

The engine’s matching pattern, not a confirmed exploit. Metavariables and ellipses describe matching syntax.

$PARSER.ParseUnverified(...)

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.