Campaign engine
LangGraph-style orchestration that runs multi-step attack campaigns instead of one-shot jailbreak prompts.
Open toolkit
Multi-step attack orchestration for agents, RAG systems, memory, and tools. Built so a finding is a chain with a defense, not a clever prompt.
LLM-SEC runs campaigns. A planner chooses probes, a harness talks to the target (chat, retrieval, tools, memory), and a reporter turns the trace into a reproducible finding. The interesting bugs live in the handoff between those parts.
LangGraph-style orchestration that runs multi-step attack campaigns instead of one-shot jailbreak prompts.
Probes retrieval: poisoned chunks, ranking manipulation, and instructions hidden in documents the model will trust.
Exercises tool-use, memory, and permission boundaries. Looks for goal hijack and calls the user never asked for.
Each run ends as a finding: what happened, how to reproduce it, severity, and a defense a team can ship.
# illustrative — pin versions in the repo README git clone <llm-sec> cd llm-sec python -m venv .venv && source .venv/bin/activate pip install -e . llm-sec run --target ./examples/rag-agent.yaml --campaign memory-poison
Point a campaign at a local agent or a documented API. Do not run against systems you do not own or lack written permission to test.
1. Scope
Target, tools, memory, and success criteria.
2. Campaign
Graph of probes: inject, persist, escalate.
3. Harness
Calls the model, retriever, and tools under test.
4. Report
Chain, evidence, severity, defense.
Qualitative coverage. Not a certification.
Star the repository, run a campaign on a lab target, or talk about a scoped red team of an agent you ship. Findings stay written so a defender can reproduce and close them.