LS-AI-012: Perplexity API Key¶
| Severity | HIGH |
| Blast radius | API usage and billing abuse |
| Rotate at | https://www.perplexity.ai/settings/api |
--verify |
GET https://api.perplexity.ai/models |
If this leaks¶
Allows calling the Perplexity API billed to the key owner, and reading any files, fine-tunes or usage data the account exposes.
What to do¶
- Rotate or revoke the credential at https://www.perplexity.ai/settings/api.
- Check the provider's audit logs for use you don't recognise.
- Remove it from git history (
leakscan purge --help) and load it from an environment variable or secret manager instead.
Pattern¶
\bpplx-[A-Za-z0-9]{48}\b
Suppress¶
On one line: # leakscan:ignore LS-AI-012. For the whole project:
disable_rules: [LS-AI-012]