logo

Database

Rapidapi Api Key

Description

The source code repository contains sensitive information: RapidAPI API Key

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

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

Vulnerable code example

'X-RapidAPI-Key': '1635e5a19dmshf03224896c57a12pb3b038jsn48cbc2b904d6',
RAPIDAPI_KEY=cac8602276msh17027762b6b5a42pa4e540jsnd863cff46907
headers = {"x-rapidapi-key": "fTvBzU8x1FmshuOkTeilg4IsPsCXpAd5bKNjsn6jlr11qTU7Mv", "x-rapidapi-host": "weatherapi-com.p.rapidapi.com"}
curl --request GET --url https://imdb8.p.rapidapi.com/title/find --header 'x-rapidapi-key: a0d6ee1bfemsh2a2a4d311d61074p84a18fjsn684df9acbb25'
const apiKey = "1709c4548dmsh27180287e876e2fpcc7e10jsn2ebedb6a68b4";