AI-Generated Code Security Checklist

Use this checklist on a named release. Follow one important action, such as approving an invoice, from the interface through storage to the audit log. Mark an item complete when you can point to the code, configuration or test result that supports it.

Check how data is handled

  • Access. Verify the action, customer organisation and individual record on the server. Record an expected denial as well as a permitted outcome.
  • Inputs. Review types and size limits at the API, parameterised database queries and context-appropriate output encoding.
  • Sessions. Review sign-out and CSRF protection for cookie-authenticated changes. Check how long a revoked role can remain effective.

Check the release artifact

  • Keep server credentials in a secrets store. Confirm that the browser bundle contains only settings intended to be public.
  • Review dependencies and licences against the lockfile. Assign someone to own updates and identify the regression test for each change.
  • Inspect the recorded fields for a failed request. Exclude tokens, passwords and sensitive payloads from logs.

Frequently asked questions

How should I record a control I cannot verify?

Leave it open. State what evidence is missing, the potential impact and who will resolve it before the release decision. That makes uncertainty visible to the person signing off.

Sources and further reading

Related services and guides

Discuss your AI code audit