Skip to content

Information Disclosure: Private key exposure via helper detector

Identifier: private_key_exposure

Scanner(s) Support

GraphQL Scanner REST Scanner WebApp Scanner

Description

Searches for private key exposure by attempting to query the helper endpoint on node_modules

Configuration

Example

Example configuration:

---
security_tests:
  private_key_exposure:
    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.