Skip to content

Security

This is a course. The code is written to teach, runs on your own laptop, and is not meant to be deployed as is. Still, people copy course code into real projects, so we treat unsafe patterns as bugs.

What to report privately

Use GitHub's Report a vulnerability form for:

  • A lab or shared module that teaches a pattern that would be unsafe if copied into production, and doesn't say so. For example: model output reaching SQL, a shell, a file path or a write without a check in code.
  • A guardrail lab whose defence is weaker than the lab claims, with an input that gets through.
  • Anything that could leak a key or a learner's data: logs, traces, caches, .env handling, the ship/ service.
  • A dependency in requirements.lock with a known vulnerability that affects how the labs use it.

Please include the lab or file, the input you used, what happened, and the model you ran it on.

What to report as a normal issue

  • A prompt injection that fools the model in a lab that already shows injection getting through (prompting/05, rnr/03, whatsapp-agent safety cases). Those labs fail on purpose; a new attack is welcome as a Bug in a lab issue so it can become a test case.
  • Wrong or unclear advice in a learn guide or the OWASP map.

What to expect

  • We aim to acknowledge a private report within 7 days and to agree on a fix or a doc change within 30.
  • Fixes land on main; there are no release branches.
  • We credit reporters in the fix's pull request unless you ask us not to.

Out of scope

  • Ollama, LiteLLM, hosted model providers and other third-party software: report to them directly.
  • Attacks that need the attacker to already control your laptop or your .env.