AI Security Audit
AI API Security audit
Audit the APIs that expose or consume AI models: authentication, key management, rate limiting and protection against abuse and runaway costs.
Why it matters
Keys embedded in code or front-end apps let anyone use your models at your expense.
Without limits, a single client can exhaust capacity or run up large bills.
Model and inference endpoints exposed without authentication can be abused or probed.
What the audit checks
Each check is answered Yes or No, with a reason and supporting evidence.
- Do all model and inference endpoints require authentication?
- Are AI provider API keys stored in a secrets manager and rotated regularly?
- Are rate limits and spending caps configured per client?
- Are input size and token limits enforced on every request?
- Are API requests logged and reviewed for abuse?
Evidence we ask for
Related frameworks
Framework references show where this audit area relates to recognised frameworks and regulations. They help you organise evidence; they are not a certification, and they are not legal advice.
How to run the AI API Security audit
- Set the scope. List the AI systems, models or agents the AI API Security audit covers, and name an owner for each one.
- Assign the 5 checks. Send each check to the person who can answer it. Every answer is Yes or No, with a short reason.
- Collect the evidence. Request evidence such as: API gateway configuration, Secrets management policy, Spending cap settings and API access logs. That way each answer can be verified rather than taken on trust.
- Review the findings. The AI analysis highlights No answers, missing or weak evidence and the risks above, and proposes corrective actions with owners.
- Repeat on change. Run the audit again after major model, prompt, data or configuration changes, and at least once a year.
Who it is for: Security teams, AI engineering leads and CISOs deploying LLM-based products or internal assistants.