> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# frontend-storage-secret-token

> A token, JWT, password or API key is stored in localStorage or sessionStorage, readable by any script on the page.

## 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:

```json theme={null}
{
  "rules": { "frontend-storage-secret-token": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.