logo

Database

Midtrans Production Secret Key

Description

The source code repository contains sensitive information: Midtrans Production Secret Key

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

    Matches Midtrans Production Secret Key patterns in source code and configuration files

Vulnerable code example

MIDTRANS_SERVER_KEY=Mid-server-aB3dEfGhIjKlMnOpQrStUvWx
midtrans_server_key: "Mid-server-Xy9ZwVuTsRqPoNmLkJiHgFeDcBa"
'server_key' => env('MIDTRANS_SERVER_KEY', 'Mid-server-Qw7Zx2Vb9Nm4Kp6Rt1LsJhGfDs')
MIDTRANS_SERVER_KEY=Mid-server-jgAqcvfUJKa_pAtSs1kwtj0F