Free tool How audit-ready is your organisation? Get your score in 3 minutes. Take the readiness check

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.

Run this audit

Why it matters

Leaked API keys

Keys embedded in code or front-end apps let anyone use your models at your expense.

Unbounded consumption

Without limits, a single client can exhaust capacity or run up large bills.

Unauthenticated endpoints

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.

  1. Do all model and inference endpoints require authentication?
  2. Are AI provider API keys stored in a secrets manager and rotated regularly?
  3. Are rate limits and spending caps configured per client?
  4. Are input size and token limits enforced on every request?
  5. Are API requests logged and reviewed for abuse?

Evidence we ask for

API gateway configurationSecrets management policySpending cap settingsAPI access logs

Related frameworks

OWASP LLM10: Unbounded ConsumptionOWASP API Security Top 10ISO/IEC 27001

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

  1. Set the scope. List the AI systems, models or agents the AI API Security audit covers, and name an owner for each one.
  2. Assign the 5 checks. Send each check to the person who can answer it. Every answer is Yes or No, with a short reason.
  3. 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.
  4. Review the findings. The AI analysis highlights No answers, missing or weak evidence and the risks above, and proposes corrective actions with owners.
  5. 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.