ai_code_scanner__scan_text
Scan code and text for insecure AI/LLM patterns. Detects exposed keys, unsafe output handling, excessive agent permissions, PII leaks, and prompt injection.
Instructions
Scan a text string or code snippet for insecure AI/LLM integration patterns (client-exposed keys, unsafe output handling, excessive agent tool permissions, PII sent to a model, prompt injection surface).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional label shown in findings (e.g. filename) | |
| content | Yes | The code content to scan |