logo

Database

Hunter Api Key

Description

The source code repository contains sensitive information: Hunter API Key

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

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

Vulnerable code example

HUNTER_API_KEY=4c7d5079da4b8d5f81aefef84ab67438ed22d8e1
export HUNTER_IO_API_KEY="ebd3553265c614e306a23618171b69c1f128cf35"
hunter = PyHunter('2ae33ddc19b5014734a186191b82f5d222a92560')
email_hunter = EmailHunter.new('2e877960a1d58860a8a971a5135112a0a0f66270')
curl https://api.hunter.io/v2/domain-search?domain=stripe.com&api_key=dc23f819cbc7371f6ea9450a8b832d6a9054c804
curl "https://api.hunter.io/v2/account" \
  -H "X-API-KEY: b12de8bacad14e7279ac826c9dc6fdb9ba58e097"
curl https://api.hunter.io/v2/leads -H 'Authorization: Bearer a16043f14b9fb1944aabf6517fe31ec58aa32aee'...