unifi-network
Warn
Audited by Gen Agent Trust Hub on Sep 6, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The file
references/connector.mdincludes a shell command for the user to install a utility:curl -fsSL https://raw.githubusercontent.com/kjanat/envctl/master/install.sh | bash. This pattern fetches a script from a remote source and executes it directly without prior verification. The target repository belongs to the skill author (kjanat). - [EXTERNAL_DOWNLOADS]: The skill retrieves information from external sources:
- API specifications and Postman collections from official Ubiquiti domains (
developer.ui.com). - Site inventory and device data from the UniFi Site Manager API (
api.ui.com). - Installation scripts from the author's GitHub repository (
raw.githubusercontent.com/kjanat/envctl/). - [DATA_EXFILTRATION]: The skill is designed to read and transmit sensitive network configurations, client lists, and firewall policies to the external
api.ui.comendpoint. It also accesses theUBIQUITI_API_KEYstored in local configuration files like~/.claude/settings.json. - [COMMAND_EXECUTION]: The helper script
scripts/unifi-query.shexecutes shell commands, includingcurlfor network communication,jqfor parsing JSON responses, andmktempfor creating temporary files during execution. - [INDIRECT_PROMPT_INJECTION]: The skill ingests data from external API responses, which could potentially contain untrusted instructions.
- Ingestion points: API response bodies fetched and processed in
scripts/unifi-query.sh. - Boundary markers: None identified; API data is processed without explicit delimiters.
- Capability inventory: Network requests via
curland temporary file creation viamktemp. - Sanitization: No explicit sanitization or filtering of the API content is performed before it is added to the agent context.
Audit Metadata