LS-AI-005: Replicate API Token¶
| Severity | HIGH |
| Blast radius | API usage and billing abuse |
| Rotate at | https://replicate.com/account/api-tokens |
--verify |
GET https://api.replicate.com/v1/account |
If this leaks¶
Allows running models on Replicate billed to the account owner, and access to any private models the account owns.
What to do¶
- Rotate or revoke the credential at https://replicate.com/account/api-tokens.
- 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¶
\br8_[A-Za-z0-9]{37,40}\b
Suppress¶
On one line: # leakscan:ignore LS-AI-005. For the whole project:
disable_rules: [LS-AI-005]