Skip to main content

PubNub Subscription Key

Description

General

  • Documentation: https://www.pubnub.com/docs/platform/home
  • Summary: PubNub is a real time communication platform. This detector focuses on detecting subscription keys.
  • IPs allowlist: This feature is not currently available.
  • Scopes: This key allows servers to connect to a channel and receive new messages.

Revoke the secret

This can be done in the PubNub dashboard.

Check for suspicious activity

Usage of keys can be inspected in the PubNub dashboard.

Details for Pubnub subscription key

  • Family: Api

  • Category: Messaging system

  • Company: PubNub

  • High recall: True

  • Validity check available: True

  • On-premise instances exist: True

  • Only valid secrets raise an alert: False

  • Minimum number of matches: 1

  • Occurrences found for one million commits: 0.42

  • Prefixed: True

  • PreValidators:

- type: ContentWhitelistPreValidator
patterns:
- sub-c-

Examples

- text: "SUB_KEY = 'sub-c-d3ff6da6-faa9-11m5-4160-0679f8943h4f'"
apikey: sub-c-d3ff6da6-faa9-11m5-4160-0679f8943h4f

- text: "PNConfiguration *configuration = [PNConfiguration configurationWithPublishKey:@'' subscribeKey:@'sub-c-7e0453e2-5134-10e9-b63y-361a0ea3765d'];"
apikey: sub-c-7e0453e2-5134-10e9-b63y-361a0ea3765d

How can I help you ?