Idea · Jul 4, 2026
AI Red Team Lab
Students build a systematic framework for probing a chosen LLM deployment for safety failures: they design attack categories, execute prompts, record success rates, and deliver a structured vulnerability report with severity ratings and proposed mitigations — developing critical AI literacy through adversarial practice.
What it would do
In this four-week project students become AI security researchers targeting a publicly accessible LLM endpoint (Claude, OpenAI, or an open-weight model served via Ollama). Week 1: students study the taxonomy of prompt injection, jailbreak, data extraction, and sycophancy attacks from provided readings and define their own attack category breakdown. Week 2: students execute a minimum of 50 structured test prompts across their categories, logging each prompt, the model's response, a success/failure label, and an explanation of what failure means in context. Students use a provided Python harness that calls the API and appends results to a SQLite database. Week 3: students analyze their results with a provided Jupyter notebook: compute category success rates, visualize attack effectiveness by category and prompt length, and identify the three most reproducible failure modes. Week 4: students write a structured vulnerability report (modeled on CVE format) for each confirmed failure mode, rating severity on a rubric that considers reproducibility, potential for misuse, and difficulty of mitigation. The final deliverable is the report plus a 5-minute recorded demo of their top finding. An optional extension asks students to propose and test a system-prompt-level mitigation for one failure mode.
Key features
- Python testing harness: parameterized prompt templates, automatic API calls, SQLite logging of prompt, response, and student-assigned success label
- Provided Jupyter analysis notebook: category success rates, prompt-length vs. effectiveness scatter, top-N reproducible failure modes
- Structured vulnerability report template (CVE-style): failure description, reproduction steps, severity rating rubric, proposed mitigation
- 5-minute recorded demo requirement: students must demonstrate the top finding live on the model, not only in writing
- Optional extension: implement and test a system-prompt-level mitigation for one confirmed failure mode, comparing attack success rates before and after