---
title: "Injection & data-flow review"
description: "Traces untrusted input from sources to dangerous sinks (SQL/NoSQL, shell, outbound HTTP, HTML, filesystem, templates, deserializers) and reports only reachable, unsanitised paths. (agentic, uses Claude)"
url: https://openaudit.se/auditors/agent.injection/
---

# Injection & data-flow review

`agent.injection`

Traces untrusted input from sources to dangerous sinks (SQL/NoSQL, shell, outbound HTTP, HTML, filesystem, templates, deserializers) and reports only reachable, unsanitised paths. (agentic, uses Claude)

- **Engine:** Agent
- **Targets:** Codebase
- **Areas:** Security
- **Runs:** Opt-in: only when selected with --only
- **Network:** Contacts services beyond the target

## Run only this auditor

```sh
bunx @openaudit/cli . --only agent.injection
```

Runs a playbook with the Claude Agent SDK. Needs ANTHROPIC_API_KEY or a Claude Code login; host agents can run the same playbook over MCP without a key.

## Playbook

Traces untrusted input from sources to dangerous sinks (SQL/NoSQL, shell, outbound HTTP, HTML, filesystem, templates, deserializers) and reports only reachable, unsanitised paths.

Host agents fetch it with `get_playbook` over MCP. [How playbooks work](https://openaudit.se/docs/agents/#playbooks)

## More security auditors

- [Secrets in source](https://openaudit.se/auditors/code.secrets/) (`code.secrets`)
- [Static security analysis](https://openaudit.se/auditors/code.security/) (`code.security`)
- [Hidden Unicode](https://openaudit.se/auditors/code.unicode/) (`code.unicode`)
- [API definition and server configuration](https://openaudit.se/auditors/code.api/) (`code.api`)
- [AI agent configuration](https://openaudit.se/auditors/code.agent-config/) (`code.agent-config`)
- [gitleaks secret scan](https://openaudit.se/auditors/code.gitleaks/) (`code.gitleaks`)
- [Semgrep SAST](https://openaudit.se/auditors/code.semgrep/) (`code.semgrep`)
- [Trivy filesystem scan](https://openaudit.se/auditors/code.trivy-fs/) (`code.trivy-fs`)
