Skip to main content

What it flags

jsonwebtoken verify without algorithms in a literal options object. Public keys, key files and key-lookup callbacks are default; shared secrets are contextual. The fix pins the algorithm the same key signs with in the file.

Configuration

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