memory_poisoning_scanner__scan_directory
Recursively scan agent source directories for memory-poisoning patterns to detect tampered prompts, hidden instructions, or poisoned context before deployment.
Instructions
Recursively scan a directory of agent source code for memory-poisoning patterns
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative path to the directory to scan | |
| exclude | No | Skip files/dirs whose path contains one of these strings | |
| include | No | Only scan files whose path contains one of these strings | |
| maxFiles | No | Maximum number of files to scan (default: 5000) |