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

# API Reference — Preventing Insecure Deserialization

## Tools

### Deser Safety

| Command | Description |
|---|---|
| `json.loads()` | Safe JSON |
| `yaml.safe_load()` | Safe YAML |
| `agent.js scan` | Detection |
| `agent.js fix` | Auto-fix |

### Agent Script

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