logo

Database

Momo Secret Key

Description

The source code repository contains sensitive information: Momo Secret Key

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

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

Vulnerable code example

MOMO_PARTNER_CODE=MOMOZDZX20200802
MOMO_ACCESS_KEY=pcYvqRFzmzRxHXut
MOMO_SECRET_KEY=3I2N4uVu0JLgOTAKR2SdC2pZEL5JcmyQ
var endpoint = "https://test-payment.momo.vn/v2/gateway/api/create";
var partnerCode = "MOMO";
var accessKey = "F8BBA842ECF85";
var secretKey = "K951B6PE1waDMi640xQ08PD3vg6EkVlz";
$endpoint = "https://payment.momo.vn/v2/gateway/api/create";...