scan_host_config
Scan host environment for AI security vulnerabilities: API base URL hijacking (CVE-2026-21852), credential exposure in shell profiles, .env leaks, and environment variable sniffing. Optionally extend scan to host-level configurations.
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 |