Skip to main content

What it flags

jsonwebtoken sign with a literal payload and no expiresIn option or exp claim. Literal NestJS JwtService signing also uses expiry set by its bound JwtModule registration. Unresolved defaults are contextual.

Configuration

Set the rule to "off" in loadwise.config.json to drop its findings: