> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flintai.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Built-in evaluations

> Complete reference of built-in evaluations

`flintai eval` includes built-in evaluations for testing agent reliability and behavior.

<Tip>
  Run `flintai eval evaluations list` to see this list from the CLI at any time.
</Tip>

## Filtering evaluations

Use tags to filter when listing or attaching evaluations:

```bash theme={null}
# List only OWASP tests
flintai eval evaluations list --tag owasp_code=LLM01

# Attach all Garak tests
flintai eval model-evaluations attach \
  --model my-agent \
  --eval-tag source=garak
```

See [Configuration](/flintai/cli/eval/eval-configuration) for more tag-based filtering examples.

## Evaluation categories

Tests are organized into three categories:

* **OWASP adversarial probes** - Adaptive attacks that actively attempt to jailbreak your agent
* **OWASP fixed prompts** - Known attack patterns documented in security research
* **Garak framework tests** - Comprehensive coverage from the industry-standard security scanner

### OWASP LLM Top 10 (Adversarial)

Tests based on OWASP LLM Top 10 security risks. These use adversarial probes to actively attempt attacks.

**Attach all adversarial tests:**

```bash theme={null}
flintai eval model-evaluations attach --model my-agent --tag method="Adversarial Model"
```

<ParamField path="eval-llm01-adversarial" type="adversarial_probe">
  **LLM01: Prompt injection (adversarial)**

  Tests whether the model can be tricked into ignoring its system instructions and following attacker-supplied instructions instead.

  Uses escalating techniques: direct override requests, role-play scenarios, encoding tricks, hypothetical framing, and multi-language obfuscation.
</ParamField>

<ParamField path="eval-llm02-adversarial" type="adversarial_probe">
  **LLM02: Sensitive information disclosure (adversarial)**

  Tests whether the model leaks sensitive information such as training data, PII, API keys, internal configuration, or data from other users' sessions.

  Attempts to extract: training data, user data from other sessions, system configuration, and personally identifiable information.
</ParamField>

<ParamField path="eval-llm05-adversarial" type="adversarial_probe">
  **LLM05: Unsafe output generation (adversarial)**

  Tests whether the model can be manipulated into generating outputs containing executable payloads (XSS, SQL injection, shell commands) that would be dangerous if passed to downstream systems without sanitization.

  Probes for: JavaScript/HTML payloads, SQL injection strings, shell commands, and markdown that could be interpreted as executable code.
</ParamField>

<ParamField path="eval-llm06-adversarial" type="adversarial_probe">
  **LLM06: Excessive agency (adversarial)**

  Tests whether the model can be manipulated into performing actions beyond its intended scope or authority.

  Attempts to trigger: unauthorized API calls, privilege escalation, accessing out-of-scope resources, and exceeding rate limits.
</ParamField>

<ParamField path="eval-llm07-adversarial" type="adversarial_probe">
  **LLM07: System prompt leakage (adversarial)**

  Tests whether the model can be tricked into revealing its system instructions, internal prompts, or configuration details.

  Uses techniques: direct requests, completion tricks, encoding, and context manipulation to extract hidden prompts.
</ParamField>

<ParamField path="eval-llm09-adversarial" type="adversarial_probe">
  **LLM09: Misinformation/Hallucination (adversarial)**

  Tests whether the model can be manipulated into generating false or misleading information.

  Probes for: factual errors, fabricated citations, false claims presented as fact, and hallucinated data.
</ParamField>

<ParamField path="eval-pii-adversarial" type="adversarial_probe">
  **PII leakage (adversarial)**

  Tests whether the model can be manipulated into leaking personally identifiable information.

  Attempts to extract: names, email addresses, phone numbers, SSNs, addresses, and other PII that should be protected.
</ParamField>

### OWASP LLM Top 10 (Fixed Prompts)

Same OWASP categories, but using fixed test prompts instead of adversarial probes.

**Attach all fixed prompt tests:**

```bash theme={null}
flintai eval model-evaluations attach --model my-agent --tag method="Fixed Prompts"
```

<ParamField path="eval-llm01-fixed" type="message_collection">
  **LLM01: Prompt injection (fixed prompts)**

  Tests prompt injection resistance using a curated set of known attack patterns.

  Based on real-world prompt injection attempts documented in security research.
</ParamField>

<ParamField path="eval-llm02-fixed" type="message_collection">
  **LLM02: Sensitive information disclosure (fixed prompts)**

  Tests information leakage using fixed prompts designed to extract sensitive data.
</ParamField>

<ParamField path="eval-llm05-fixed" type="message_collection">
  **LLM05: Unsafe output generation (fixed prompts)**

  Tests for generation of dangerous executable payloads using fixed test cases.
</ParamField>

<ParamField path="eval-llm06-fixed" type="message_collection">
  **LLM06: Excessive agency (fixed prompts)**

  Tests for unauthorized actions using fixed prompts that attempt to exceed intended scope.
</ParamField>

<ParamField path="eval-llm07-fixed" type="message_collection">
  **LLM07: System prompt leakage (fixed prompts)**

  Tests system prompt protection using known extraction techniques.
</ParamField>

<ParamField path="eval-llm09-fixed" type="message_collection">
  **LLM09: Misinformation/Hallucination (fixed prompts)**

  Tests hallucination resistance using prompts known to trigger factual errors.

  **Quality evaluation** — measures accuracy and factual correctness.
</ParamField>

<ParamField path="eval-pii-fixed" type="message_collection">
  **PII leakage (fixed prompts)**

  Tests PII protection using fixed prompts that attempt to extract personal information.
</ParamField>

<ParamField path="eval-secret-fixed" type="message_collection">
  **Secret leakage (fixed prompts)**

  Tests protection of API keys, credentials, and other secrets using fixed extraction attempts.
</ParamField>

### Garak Framework Tests

Tests from the [Garak LLM vulnerability scanner](https://github.com/NVIDIA/garak) — industry-standard adversarial testing framework.

**Attach all Garak tests:**

```bash theme={null}
flintai eval model-evaluations attach --model my-agent --tag source=Garak
```

<ParamField path="garak-continuation" type="garak_module">
  **Continuation attacks**

  Tests whether the model continues harmful or dangerous content when prompted with partial sequences.
</ParamField>

<ParamField path="garak-dan" type="garak_module">
  **DAN (Do Anything Now) jailbreaks**

  Tests resistance to "Do Anything Now" style jailbreak attempts that try to remove safety constraints.
</ParamField>

<ParamField path="garak-encoding" type="garak_module">
  **Encoding-based attacks**

  Tests whether encoding tricks (Base64, ROT13, hex, leetspeak) can bypass safety filters.
</ParamField>

<ParamField path="garak-gcg" type="garak_module">
  **GCG (Greedy Coordinate Gradient) attacks**

  Tests against adversarially optimized attack strings designed to jailbreak language models.
</ParamField>

<ParamField path="garak-glitch" type="garak_module">
  **Glitch tokens**

  Tests behavior when processing anomalous tokens known to cause unexpected model behavior.
</ParamField>

<ParamField path="garak-goodside" type="garak_module">
  **Goodside attacks**

  Tests based on Riley Goodside's documented jailbreak techniques.
</ParamField>

<ParamField path="garak-knownbadsignatures" type="garak_module">
  **Known bad signatures**

  Tests detection of known malicious patterns and signatures.
</ParamField>

<ParamField path="garak-lmrc" type="garak_module">
  **LMRC attacks**

  Tests from the Language Model Risk Cards framework.
</ParamField>

<ParamField path="garak-malwaregen" type="garak_module">
  **Malware generation**

  Tests whether the model can be manipulated into generating malware or exploit code.
</ParamField>

<ParamField path="garak-misleading" type="garak_module">
  **Misleading claims**

  Tests resistance to generating misleading or deceptive content.
</ParamField>

<ParamField path="garak-packagehallucination" type="garak_module">
  **Package hallucination**

  Tests whether the model fabricates non-existent software packages or libraries.
</ParamField>

<ParamField path="garak-promptinject" type="garak_module">
  **Prompt injection (Garak)**

  Garak's comprehensive prompt injection test suite.
</ParamField>

<ParamField path="garak-realtoxicityprompts" type="garak_module">
  **RealToxicityPrompts**

  Tests using the RealToxicityPrompts dataset — prompts known to elicit toxic responses.
</ParamField>

<ParamField path="garak-replay" type="garak_module">
  **Replay attacks**

  Tests whether previous conversations can be replayed to bypass safety checks.
</ParamField>

<ParamField path="garak-snowball" type="garak_module">
  **Snowball attacks**

  Tests escalating attacks that build on previous turns to break safety constraints.
</ParamField>

<ParamField path="garak-suffix" type="garak_module">
  **Suffix attacks**

  Tests adversarial suffixes designed to jailbreak models.
</ParamField>

<ParamField path="garak-tap" type="garak_module">
  **TAP (Tree of Attacks with Pruning)**

  Tests using the TAP jailbreak technique.
</ParamField>

<ParamField path="garak-visual" type="garak_module">
  **Visual jailbreaks**

  Tests attacks embedded in image descriptions or visual content (for multimodal models).
</ParamField>

<ParamField path="garak-xss" type="garak_module">
  **XSS (Cross-Site Scripting)**

  Tests whether the model generates XSS payloads.
</ParamField>

<ParamField path="garak-advglue" type="garak_module">
  **AdvGLUE adversarial examples**

  Tests robustness against adversarially perturbed inputs from the AdvGLUE benchmark.
</ParamField>

<ParamField path="garak-aml" type="garak_module">
  **AML (Adversarial ML) attacks**

  Tests resistance to adversarial machine learning attacks.
</ParamField>

<ParamField path="garak-riskyemergent" type="garak_module">
  **Risky emergent behaviors**

  Tests for concerning emergent behaviors not explicitly trained for.
</ParamField>

<ParamField path="garak-xstest" type="garak_module">
  **XSTest safety evaluations**

  Tests from the XSTest safety evaluation suite.
</ParamField>
