Skip to content
mentoor

Security review of AI-written systems

For engineers

OWASP Top 10, access control, secrets, input validation and unsafe defaults applied to code you did not write

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

A generated endpoint lets any logged-in user fetch any other user's invoice by changing the id in the URL. Which OWASP Top 10 (2025) category fits best?

Choose one answer

Check yourself · 2 of 5

What is the difference between authentication and authorisation?

Choose one answer

Check yourself · 3 of 5

An API key was committed and pushed. What is the first step?

Choose one answer

Check yourself · 4 of 5

What is the best defence against SQL injection?

Choose one answer

Check yourself · 5 of 5

A browser shows a cross-origin error and the agent sets Access-Control-Allow-Origin: *. What is the better fix?

Choose one answer

Topics

  1. Using the OWASP Top 10 as a review map4 min read · The 2025 categories, from broken access control to supply chain failures, as a checklist for ranking findings in generated code
  2. Authentication and access control checks4 min read · Authentication versus authorisation, object-level ownership checks, session and token pitfalls, and new endpoints an agent forgot to protect
  3. Keeping secrets out of code, logs and context4 min read · Environment variables and secret managers, secret scanning, rotation after a leak, and keys pasted into prompts, agent context or logs
  4. Validating input and encoding output5 min read · Schema validation at the boundary, parameterised queries, output encoding, path traversal and server-side request forgery
  5. Security misconfiguration and loosened settings4 min read · Wildcard CORS, debug mode, verbose errors, permissive headers and settings an agent relaxed to make something work

Start here

Helps to know first

110 questions · last verified 2026-12