rt_check_ansi_injection
Scans for ANSI escape sequences in tool descriptions and schema fields that hide malicious text from LLM while visible in terminal. Prevents ANSI injection attacks.
Instructions
Scan all tool descriptions and schema field descriptions for ANSI escape sequences (CSI codes, cursor movement, color codes) used to hide malicious text in terminal display while LLM still reads it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Server command to execute (e.g. 'node', 'bun', 'npx') | |
| args | No | Command arguments (e.g. ['run', 'server.js']) | |
| env | No | Additional environment variables | |
| timeout_ms | No | Connection timeout in milliseconds (default: 30000) |