ez-unifi
Pass
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill exposes a broad set of powerful network management capabilities that could be exploited via indirect prompt injection if the agent processes malicious data (e.g., hostnames or instructions on a web page).
- Ingestion points: CLI arguments in
scripts/unifi.py, such as MAC addresses, WLAN IDs, and JSON payloads for therawcommand. - Capability inventory: High-impact operations including device restarts, firmware upgrades, client blocking, WiFi password changes, and arbitrary API requests through the
rawcommand. Additionally, thewlan-qrcommand allows writing to arbitrary file paths via the--outputflag which could lead to file system disruption. - Boundary markers: Absent. The tool's JSON output does not include delimiters or warnings to prevent an agent from obeying embedded instructions.
- Sanitization: Limited. Most inputs are passed directly to the controller API or file system without validation, except for MAC addresses which are converted to lowercase.
- [SAFE]: Storing credentials in a
.envfile is consistent with standard secret management practices for local tools. - [SAFE]: Disabling SSL verification (
ssl_context=False) is a documented trade-off for compatibility with local network hardware using self-signed certificates.
Audit Metadata