logo

Database

Sourcegraph Legacy Api Token

Description

The source code repository contains sensitive information: Sourcegraph Legacy API Token

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

    • Matches Sourcegraph Legacy API Token patterns in source code and configuration files

Vulnerable code example

SRC_ACCESS_TOKEN=7a1007e880d7b991b50228364764a1c43d4fbc95
export SOURCEGRAPH_TOKEN="09a48767010ef9c1ac24a27cd448ab7d95eac202"
sourcegraphAccessToken: '7a1007e880d7b991b50228364764a1c43d4fbc95'