logo

Database

Spotify Secret Key

Description

The source code repository contains sensitive information: Spotify Secret Key

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

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

Vulnerable code example

SPOTIFY_CLIENT_SECRET=d6b9b3ef2e3c95b3449555ad1ae3995e
export SPOTIPY_CLIENT_SECRET="743ac3fd6d73e19f6660c1f2eb943d83"
auth = SpotifyClientCredentials(client_id="33fa8e819202d9e048c6cf77d1602020", client_secret="d6b9b3ef2e3c95b3449555ad1ae3995e")
const spotifyApi = new SpotifyWebApi({
  clientId: '33fa8e819202d9e048c6cf77d1602020',
  clientSecret: '743ac3fd6d73e19f6660c1f2eb943d83',
});