Skip to content

Resources

AI Token Leak Triage Checklist

Use this when an AI API key shows up in a public repo, a shared file, or an unexpected log. Start with the key itself.

Revoke the exposed key

Open the provider console for the affected project. Revoke the exposed key and record when you did it. Record the key name or ID and where it was found. Keep the secret itself out of tickets and chat.

Check usage and access

Review the provider’s usage and billing history from the earliest possible exposure through revocation. Save redacted records of unexpected calls, spend, or access to project data. Escalate to the account owner and contact the provider if you spot activity you cannot explain.

Restore the affected workflows

Create a replacement with only the permissions the workflow needs. Put it in your secret store, update each affected service, and confirm that the service works with the replacement.

Remove the exposure and prevent a repeat

Remove the secret from the place it appeared and check for copies in build artifacts, logs, and shared files. Turn on secret scanning and usage alerts. Assign someone to review the alerts and keep the key inventory current.

Give the checks an owner

Use the Team Builder to map who handles alerts, approvals, and follow-up in your business.