Skip to content

Agentic Security - LLM Vulnerability Scanner Cheatsheet

Agentic Security - LLM Vulnerability Scanner Cheatsheet

Agentic Security is an open-source agentic LLM vulnerability scanner and red-team toolkit. Rather than firing a fixed list of prompts, it uses an agentic loop to fuzz a target model or API — generating probes, observing responses, and adapting — to surface jailbreaks, prompt injection, and unsafe behavior. It also performs API stress testing, which matters because many LLM deployments fail on rate limits and resource exhaustion before they fail on content safety.

Scan only systems you own or are authorized to test.

Installation

MethodCommand
pippip install agentic_security
From sourcegit clone https://github.com/msoedov/agentic_security && pip install -e .
Run the UIagentic_security (serves a local web UI)
Headlessagentic_security --headless
Verifyagentic_security --help

Running a Scan

CommandDescription
agentic_securityStart the local UI (default port 8718)
agentic_security --port 8718Choose a port
agentic_security --headlessCI/non-interactive mode
--llm-spec <file>Define the target request format
--max-budget NCap tokens/requests spent

Defining the Target

The scanner needs to know how to call your LLM endpoint. You supply an HTTP spec:

POST https://api.example.com/v1/chat/completions
Authorization: Bearer $TOKEN
Content-Type: application/json

{
  "model": "my-model",
  "messages": [{"role": "user", "content": "<<PROMPT>>"}]
}

<<PROMPT>> is substituted with each generated adversarial probe, so any OpenAI-compatible or custom API can be targeted.

What It Probes

CategoryLooks for
JailbreaksBypassing safety instructions
Prompt injectionInstruction override via input
Data leakageSystem prompt / training data exposure
Harmful contentUnsafe compliance
FuzzingMalformed/edge-case inputs
StressBehavior under load/rate limits

Datasets & Probes

SourceProvides
Built-in probe setsCurated adversarial prompts
HuggingFace datasetsCommunity jailbreak corpora
Custom CSVYour own probes
Agentic generationModel-generated adaptive attacks

Reading Results

OutputMeaning
Failure rateShare of probes that produced unsafe output
Per-module breakdownWhich attack class succeeded
Sample transcriptsThe exact prompt/response pairs
Throughput/latencyAPI behavior under stress

Focus first on modules with a high failure rate — that is where your guardrails are thinnest.

CI Integration

# Headless scan with a spend cap, fail on threshold
agentic_security --headless --llm-spec ./target.spec --max-budget 50000
PracticeWhy
Cap budgetAgentic fuzzing can spend tokens fast
Pin probe setsComparable results run to run
Run on prompt/model changeBoth alter the safety surface
Pair with guardrailsRe-scan after adding LLM Guard
AspectAgentic SecuritygarakDeepTeam
ApproachAgentic fuzzing + stressStatic probe libraryPythonic test suite
API stress testingYesNoNo
UILocal web UICLICode
Best forBlack-box endpoint scanningBroad model probesApp-level CI red teaming

Resources