logo

Database

Getstream Secret Key

Description

The source code repository contains sensitive information: GetStream Secret Key

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

    • Matches GetStream Secret Key patterns in source code and configuration files

Vulnerable code example

STREAM_API_KEY=gytenbtk74yq
STREAM_API_SECRET=95xgxuxyppyfn7s6xvkkmn5bjzju8p6gfrtveeeh68gtppwysqb4uy72p2hjp7cf
export STREAM_SECRET="btdqsa2vk9zpcxj33v7fgmajun8ef8xbc5kmapgvpen8jd8pu7fqk56bppanc5pm"
import stream
client = stream.connect('b6gpmhrt4tth', 'ka6w38jb26hg3fzsqn4bfakfj5xrntx9jjpjuhfs7bt226mxhxccgbhbgeegf2vn', location='us-east')
const { StreamChat } = require('stream-chat');
const serverClient = StreamChat.getInstance('q38ams6nyf8u', 'txwqmr4evgg3yyw9mn2cbgxegdtaacvnxumnz8demttjjevcs7w9cwakz683ftfx');
from stream_chat import StreamChat...