A job application assignment
https://github.com/Elgenzay/llm-scanner.git
An LLM jailbreak scanner with configurable detection methods.
Requires VHACK running at http://localhost:8000 (if mock_mode = false)
# Clone and build
git clone git@github.com:Elgenzay/llm-scanner.git
cd llm-scanner
# Run with default settings (mock mode enabled)
cargo run
On first run, the scanner automatically generates:
config.toml - Main configuration filedata/ - Directory containing all data filescargo run -- \
--target http://localhost:8000/api/chat \
--prompts data/prompts.csv \
--concurrency 4 \
--timeout-ms 30000 \
--out report.jsonl \
--detection-method llm \
--mock-mode false
data/)All files are auto-generated with defaults on first run and can be customized:
mock_mode = true)data/test_responses.csv correspond by line number to prompts in data/prompts.csv. The first prompt gets the first response, etc.
data/judge_prompt.md.
The scanner generates two output files to output/: