AITeky Learn

AiTeky Original Interactive Learning & Practice Intermediate

AI security and safety: defending systems that use models

Map what can go wrong with an AI system, see how instructions and data get mixed up, find secrets leaking and personal data escaping, watch a classifier being poisoned, red-team a real assistant in Colab, and write the security review before launch.

A model is software that reads text, images or numbers from the outside world and does what they suggest. That makes it different from most software, and it opens ways to attack that did not exist before: text that talks a model into breaking its rules, training data that has been tampered with, answers that leak what they were told to keep secret.

This course is about defence. You will build a map of the risks of a support assistant, learn how instructions and data get mixed, test filters and see how weak a single filter is, watch a spam-like classifier get poisoned by a few changed labels, and run a safe red-team test on a real open model in Google Colab. The last lesson puts it together as the security review a company needs before an assistant faces the public. We use harmless examples (a made-up discount code, fake phone numbers) and we aim at what a team needs to know to protect its own systems.

You need Python basics, and the generative AI and agents courses help a lot. The first part runs in your browser. Lesson 5 also has a notebook for Google Colab.

  • Learn lessons explain one idea at a time, with small exercises you can try again and again.
  • Industry ready lessons give you real business questions, an honest comparison of methods, and the interview questions that go with them.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 01 30 min Free sample πŸ”’ AiTeky Pass The risk map of an AI system List what an AI assistant is protecting, who might attack it and where, score each risk by how likely and how damaging it is, and turn the list into a ranked register with controls and the risk that remains.
  2. 02 35 min πŸ”’ AiTeky Pass Instructions and data look the same See why a model cannot tell a company's instructions from text that a stranger wrote, simulate an assistant that is hijacked by a line inside a document, measure how much a list of banned phrases really catches, and learn the structural defences that work better.
  3. 03 35 min πŸ”’ AiTeky Pass Secrets and personal data Find phone numbers, card numbers and keys in an assistant's answers with pattern checks, use the Luhn test to cut false alarms, redact what leaves, and close the biggest hole of all: a tool that returns anyone's order to whoever asks.
  4. 04 40 min πŸ”’ AiTeky Pass Poisoned data and tricked classifiers Train a ticket classifier, show that random wrong labels barely hurt it while 50 planted tickets give an attacker a secret switch, detect the planted tickets by their disagreement with the model, then trick the classifier with odd spelling and defend with clean-up and training on the tricks.
  5. 05 40 min πŸ”’ AiTeky Pass Red-teaming a real assistant Test a small open model that has been told a secret, with twelve ordinary and tricky messages, count how often it leaks, add three layers of defence written in code, and measure what each layer catches and what it costs.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 06 40 min πŸ”’ AiTeky Pass On the job: the security review before the assistant goes public Pull the results of the earlier lessons into one security review for the support assistant: each risk with its controls, the evidence that they work, the gaps that remain, a go or no-go decision, the first hour of an incident, and the interview questions that go with it.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in