logo

Database

Heartland Api Key

Description

The source code repository contains sensitive information: Heartland API Key

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

    • Matches Heartland API Key patterns in source code and configuration files

Vulnerable code example

HEARTLAND_SECRET_API_KEY=skapi_prod_MSZ7AAD3Hw9oHdMhmeT9oKIVd4Dk3zxyUaR4IX1Tzg
const config = new ServicesConfig();
config.secretApiKey = 'skapi_prod_McJ2BQAUN8Uu9OVD93ISmhGYYr4fifbf9lZ2Q9N0rg';
$config = new PorticoConfig();
$config->secretApiKey = "skapi_prod_MWs4AQAj5h49CNH_HAdQUreQ6grq5AgPdMMzJ3odUg";
{
  "publicApiKey": "pkapi_prod_MRbsBQCDtTHRM6BprW",
  "secretApiKey": "skapi_prod_MSOOAQCO69VtpW_mwUNSsKTK_bEme_AkLgr-YxyPwA"...