<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
# performing-code-deobfuscation — API Reference

## Agent Script

| Command | Description |
|---------|-------------|
| `deobfuscate --target <path>` | Attempt automated deobfuscation of target. |
| `simplify --target <path>` | Apply simplification passes to obfuscated code. |
| `compare --target <path>` | Compare original and deobfuscated output. |

## Usage Examples

```bash
# Attempt automated deobfuscation of target.
node scripts/agent.js deobfuscate --target ./sample

# Apply simplification passes to obfuscated code.
node scripts/agent.js simplify --target ./sample

# Compare original and deobfuscated output.
node scripts/agent.js compare --target ./sample
```

## Output Format

All commands return JSON with the following structure:

```json
{
  "action": "<command>",
  "result": {
    "action": "<command>",
    "status": "complete",
    "domain": "<domain>",
    "technique": "performing-code-deobfuscation"
  }
}
```
