logo

Database

Paystack Test Secret Key

Description

The source code repository contains sensitive information: Paystack Test Secret Key

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

    Matches Paystack Test Secret Key patterns in source code and configuration files

Vulnerable code example

PAYSTACK_SECRET_KEY=sk_test_cDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeF
paystack_test_key: "sk_test_aBcDeFgHiJkLmNoPqRsT"
const paystack = require('paystack-api')('sk_test_HiJkLmNoPqRsTuVwXyZ0123456789aBcDeF')