home-assistant-agent-secure

clawhub:home-assistant-agent-secure

View source
B
77/100

First Seen

Feb 18, 2026

Last Scanned

Feb 22, 2026

Findings

4

Score

77/100

HIGH 1
MEDIUM 1
LOW 2

Findings (4)

HIGH
Internal IP range access
L58

Detects references to private/internal IP ranges in URL context

https://192.168.1.50:
FIX

Implement URL allowlisting for all outbound requests. Block requests to private IP ranges (10.x, 172.16-31.x, 192.168.x), localhost, and link-local addresses.

FP?

Likely FP if the match is a localhost URL used for local development (e.g., http://localhost:3000) in setup documentation.

MEDIUM
Credential in shell export
L87

Detects API keys or tokens exposed in shell export commands

export HOME_ASSISTANT_TOKEN="your-restricted-user-token-here"
FIX

Remove credentials from shell export statements. Use a .env file (excluded from version control) or a secrets manager, and load secrets at runtime.

FP?

Likely FP if the export line uses a placeholder value (e.g., export API_KEY=your-key-here) or is in documentation describing environment setup.

LOW
External API response used without validation
L15

Detects patterns where external API responses are used directly without validation or sanitization

endpoint
- **NEVER** output + without a pass
FIX

Validate and sanitize all data received from external APIs before using it in tool operations or agent prompts. Implement schema validation and treat API responses as untrusted input.

FP?

Likely FP if the match is a truncated table cell or documentation fragment that mentions API responses in a descriptive context, not actual unvalidated data processing.

LOW
Hardcoded secrets in MCP env block
L70

Detects hardcoded API keys, tokens, or passwords in MCP server environment configuration

"env": { + "apiKey": "your-restricted-user-token-here"
FIX

Remove shell metacharacters (semicolons, pipes, ampersands, backticks) from MCP server arguments. Use explicit argument arrays and avoid shell expansion in MCP configurations.

FP?

Likely FP if the metacharacter is a literal part of a non-shell argument (e.g., a regex pattern or a URL query parameter containing ampersands).