<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->

# API Reference — Preventing Injection Attacks in Code

## Tools

### Injection Prevention

| Command | Description |
|---|---|
| `bandit -r <dir>` | Python linter |
| `semgrep --config=p/owasp` | Multi-lang |
| `agent.js scan` | Scanner |
| `agent.js fix` | Auto-fix |

### Agent Script

```bash
node agent.js scan --file <value>
node agent.js fix --file <value> --finding <value>
node agent.js audit --directory <value>
node agent.js report --directory <value>
```
