This package contains the actual code assets referenced by the two lab markdown files:
ai-security-labs.mdprompting-techniques-labs.md
- GitHub Codespace (recommended)
- Ollama running locally in the Codespace (or forwarded) with:
llama3.2:3b
From the repo root of this pack:
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtPull model (if needed):
ollama pull llama3.2:3bpython scripts/smoke_test.pysecurity/— security labs codeprompting/— prompting labs code
- The security labs include both insecure and secure implementations.
- The
extra/folder contains diff targets (the “secure” versions) so learners can use:code -d secure.txt insecure.pythen merge changes.