scan_host_config
Scans project and host environments to detect exposed credentials, .env leaks, API base URL hijacking, and environment variable sniffing; host scope includes 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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "scan_host_config"
}
}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 |