Skip to content

Sensitive Data: Leaked Sensitive Data in LocalStorage

Identifier: frontend_localstorage_sensitive_data

Scanner(s) Support

GraphQL Scanner REST Scanner WebApp Scanner

Description

Sensitive data in LocalStorage is exposed to any attacker who can access the page. This can lead to data leaks and other security issues.

References:

Configuration

Example

Example configuration:

---
security_tests:
  frontend_localstorage_sensitive_data:
    assets_allowed:
    - REST
    - GRAPHQL
    - WEBAPP
    skip: false

Reference

assets_allowed

Type : List[AssetType]*

List of assets that this check will cover.

skip

Type : boolean

Skip the test if true.