logo

Database

Pubnub Api Key

Description

The source code repository contains sensitive information: PubNub API Key

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

    Matches PubNub API Key patterns in source code and configuration files

Vulnerable code example

publishKey: 'pub-c-74a31063-fc5c-4c92-9b18-7791c1d2231b'
PUBNUB_PUBLISH_KEY=pub-c-a1b2c3d4-e5f6-7890-abcd-ef1234567890