scan_host_config
Scans host environment for AI security issues: API base URL hijacking, credential exposure, .env leaks, and env variable sniffing. Checks .env files at project scope; use scope=host for shell profiles and global AI configs.
Instructions
Scan host environment for AI security issues: API base URL hijacking (CVE-2026-21852), credential exposure in shell profiles, .env file leaks, and environment variable sniffing. Checks .env files at project scope; add scope=host to also check shell profiles and global AI configs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Project root directory | . |
| scope | No | Scan scope: project (.env files only), host (+ shell profiles, global configs), full (+ home dir) | project |
| format | No | Output format | markdown |