Skip to main content

What it flags

A token, JWT, password or API key is stored in localStorage or sessionStorage, readable by any script on the page. Bracket calls with a literal method name, such as localStorage['setItem'](...), are read like dot calls.

Configuration

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