Skip to content

LS-AI-007: Groq API Key

Severity HIGH
Blast radius API usage and billing abuse
Rotate at https://console.groq.com/keys
--verify GET https://api.groq.com/openai/v1/models

If this leaks

Allows making Groq inference API calls billed to the account owner, potentially exhausting rate limits or quotas.

What to do

  1. Rotate or revoke the credential at https://console.groq.com/keys.
  2. Check the provider's audit logs for use you don't recognise.
  3. Remove it from git history (leakscan purge --help) and load it from an environment variable or secret manager instead.

Pattern

\bgsk_[A-Za-z0-9]{52}\b

Suppress

On one line: # leakscan:ignore LS-AI-007. For the whole project:

disable_rules: [LS-AI-007]