Xai Api Key

Description

The source code repository contains sensitive information: xAI API Key

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

    Matches xAI API Key patterns in source code and configuration files

Vulnerable code example

xai-a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0
XAI_API_KEY=xai-Z9yX8wV7uT6sR5qP4oN3mL2kJ1iH01gF
authorization: xai-AbCdEfGhIjKlMnOpQrStUvWxYz123456