Sefism is free for learners. We are here to help you grow, one step at a time.Join for free
Sefism.

Cheat sheet · Specialise

AI security cheat sheet (Red-teaming and evaluation)

Opens with credits

For learners heading into AI red-teaming and evaluation: foundations, how apps break, the OWASP and ATLAS maps, the defences you test against, safe agent harnesses, the supply chain, test plans, tools, scoring and reports, monitoring and a career route. Method over tricks, no payloads.

Curated by Tauseef Fayyaz9 chapters80 concepts135 glossary terms

Chapters

9 chapters · 80 concepts

  1. 1Security foundations for AI workThe general security ideas every AI security task stands on. The Cybersecurity roadmap at /roadmaps/cybersecurity/ covers them in more depth.10 concepts
    1. 1Threat modelling (four questions)A structured way to find risks early by answering four questions: what are we working on, what can go wrong, what are we going to do about it, and did we do a…
    2. 2Trust boundaryA line where data or control passes between parts that deserve different trust, such as the internet and your server.
    3. 3Least privilegeEach person, service, agent and tool gets only the access its job needs, for only as long as it needs it.
    4. 4Authentication and authorisationAuthentication checks who someone is; authorisation checks what they may do.
    5. 5Secrets managementKeeping keys, passwords and tokens in a secrets manager or server-side environment, narrowly scoped, rotated and out of code, prompts and logs.
    6. 6Defence in depthStacking independent controls so one failure does not become a breach: identity, scoped data, narrow tools, encoding, guards, limits, logs and a kill switch.
    7. 7Classic web weaknesses in AI appsInjection, cross-site scripting and broken access control, now often arriving through model output instead of a form field.
    8. 8Server-side request forgeryTricking a server into fetching an address the attacker chooses, such as an internal service or a cloud metadata endpoint.
    9. 9Rules of engagementWritten permission and scope for a test: which systems, methods, harm types, rates, cost limits, data handling, times and escalation contacts.
    10. 10Severity for AI findingsRating a finding by likelihood and impact, recording the success rate over many attempts and judging impact by what the app can do.
    10 in this chapterOpen this chapter
  2. 2How LLM apps and agents breakFollow a request through an LLM app and an agent to see where text gets in and where actions get out.7 concepts
  3. Risk maps: OWASP, ATLAS, NIST, SAIFThe shared vocabularies of AI security. The OWASP LLM Top 10 2025 is still the current edition as of October 2026.7 conceptsOpens with credits
  4. Prompt injection and the guard layersPrompt injection as an attack class and the layers that reduce it. No single control is enough; design limits the damage.10 conceptsOpens with credits
  5. Agent, tool and MCP securityWhat agents can do, and how to keep it narrow. MCP details follow the current stateless specification; check your SDK's revision.11 conceptsOpens with credits
  6. Data and model supply chainRisks that arrive before a user types anything: the data, the model files and what leaks from both.10 conceptsOpens with credits
  7. Testing, red-teaming and evalsHow AI systems are tested responsibly, and the main open source tools by purpose. Point them only at systems you own or are authorised to test.11 conceptsOpens with credits
  8. Monitoring and incident responseSeeing what an AI app does in production, switching off harm quickly and learning from each incident.7 conceptsOpens with credits
  9. Career: roles, certifications and portfolioWhere the work is and how to show you can do it. Certification facts are as of October 2026; check official pages before paying.7 conceptsOpens with credits
  10. 10Glossary, A to ZEvery concept in the sheet and the smaller terms it uses, in one list.135 terms

About this sheet

Secure LLM apps and agents, test models safely.

Picked from the other libraries by shared topics.

Work with me

Stuck on something specific?

Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.

  • 1:1 Mentorship
  • Fresh Graduate Mentorship
  • Career Guidance

Brand deals, promos and partnerships: tauseeffayyaz@gmail.com