Skip to main content

PubNub Secret Key



  • Documentation:
  • Summary: PubNub is a real time communication platform. This detector focuses on detecting secret keys.
  • IPs allowlist: This feature is not currently available.
  • Scopes: This key has all permissions on PubNub account.

Revoke the secret#

This can be done in the PubNub dashboard.

Check for suspicious activity#

This feature is not currently available.

Details for Pubnub secret key#

  • Family: Api

  • Category: Messaging system

  • Company: PubNub

  • High recall: True

  • Validity check available: False

  • Minimum number of matches: 1

  • Occurrences found for one million commits: 1.11

  • Prefixed: True

  • PreValidators:

- type: ContentWhitelistPreValidator  patterns:  - sec-c-


- text: 'pnconfig.secret_key = "sec-c-YTK1ODFkVGYtY2CzOJ00BWU5LHZzQ2ZtKDelETd1MTJcJ2Qx"'  apikey: sec-c-YTK1ODFkVGYtY2CzOJ00BWU5LHZzQ2ZtKDelETd1MTJcJ2Qx
- text: 'string SecretKey = "sec-c-KGI5YmWiFjChMjIsNS08OwknYTkuZmYtMaE1N2I2MDelNEM5";'  apikey: sec-c-KGI5YmWiFjChMjIsNS08OwknYTkuZmYtMaE1N2I2MDelNEM5