Skills/PyPI/unifi-mcp

unifi-mcp@0.5.3

VERIFIED· install only

Publisher claims: "Unofficial MCP server for the UniFi Site Manager, Access, and Network APIs" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry PyPI (MCP server)Publisher les-leslie-les · publishing for 425 daysInstalls 106Last detonated 37 min ago
$claude mcp add unifi-mcp -- uvx unifi-mcp
WatchReport an issue

Coverage

Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Tested
8 of 16 bundled scripts run with no arguments (the rest were not run: per-bundle cap), with decoy credentials in the environment · every file read, file written and host contacted by what ran
Not tested
use of the skill by an agent

What this means for the label: Verified here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.

Before you give it your token

It will ask for
no credential variables read in the code
Where it talks to
no vendor host named in the codeAlso openhab.org — not the publisher's domain; check what for before connecting.
What we saw when it ran
no credential files read · no network
What we could not test
use of the skill by an agent

Connect it under the guard. Bundled scripts ran with no arguments; no agent task scenario for this bundle. The code names no credential variable; the guard pins the network to what the honeypot saw and logs every call.

$vet-skills run --net declared -- uvx unifi-mcp

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-20 and scored it 81/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 1 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessbundled script run in the sandbox with no arguments
0.1sprocessexited 1: ModuleNotFoundError: No module named 'mcp_common'
0.1sprocessbundled script run in the sandbox with no arguments
0.1sprocessexited 1: ModuleNotFoundError: No module named 'typer'
0.1sprocessbundled script run in the sandbox with no arguments
0.2sprocessexited 1: ModuleNotFoundError: No module named 'pydantic_settings'
0.2sprocessbundled script run in the sandbox with no arguments
0.2sprocessbundled script run in the sandbox with no arguments
0.3sprocessexited 1: ModuleNotFoundError: No module named 'unifi_mcp'
0.3sprocessbundled script run in the sandbox with no arguments
0.4sprocessexited 1: ModuleNotFoundError: No module named 'fastmcp'
0.4sprocessbundled script run in the sandbox with no arguments
0.5sprocessexited 1: ModuleNotFoundError: No module named 'httpx2'
0.5sprocessbundled script run in the sandbox with no arguments
0.5sprocessexited 1: ModuleNotFoundError: No module named 'httpx2'
0.5sprocess8 of 16 bundled scripts run with no arguments (the rest were not run: per-bundle cap)
0.5sprocessscript backend runs setup only
0.5sprocessscript backend runs setup only
0.5sprocessno install scripts to re-run

Static findings

HIGH
Access to sensitive file pathsunifi_mcp/credentials.py:4 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files1. Environment variables / .env file (via Pydantic Settings) — already handledFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsCLAUDE.md:200 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesC -->|Priority 3 Lower| D[.env file]Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsunifi_mcp/credentials.py:97 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesOption 2 — .env file ({KEYRING_SERVICE}/.env):Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsunifi_mcp/credentials.py:33 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesenv_value: Value already loaded from env/.env by PydanticFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsunifi_mcp/config.py:76 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files1. Environment variables / .env file (via Pydantic Settings)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedunifi_mcp/utils/process_utils.py:68 · Python subprocess execution detectedprocess = subprocess.Popen(command, env=env, close_fds=True) # nosec B603 - Popen with explicit env and no shell, validated by callerFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Access to sensitive file pathsunifi_mcp/config.py:90 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesenv_file=".env",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsAGENTS.md:28 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files…s or the `[tool.unifi-mcp]` table in `pyproject.toml`. Keep secrets in ignored `.env` files, enable SSL verification when targeting production controllers, and rest…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Process kill commandtests/test_cli.py:319 · Process kill command — agent can terminate processeswith patch("os.kill"): # Mock os.kill to avoid killing real processFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathsunifi_mcp/__main__.py:27 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesenv_file = ".env"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsCLAUDE.md:215 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files1. `.env` fileFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Access to sensitive file pathstests/test_security.py:102 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"....//....//....//etc/passwd",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Dense URL-encoded contenttests/test_security.py:103 · Dense URL-encoded content — may be obfuscating payloads"%2e%2e%2f%2e%2e%2f%2e%2e%2fetc%2fpasswd",Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
MEDIUM
Process kill commandtests/test_process_utils.py:196 · Process kill command — agent can terminate processes# Use current process PID (safe to kill in test)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
Dynamic module loadingunifi_mcp/credentials.py:20 · Dynamic module loadingKEYRING_AVAILABLE = importlib.util.find_spec("keyring") is not NoneFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Access to sensitive file pathstests/test_security.py:100 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"/etc/passwd",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
LOW
Instructs the agent to modify its persistent memory or instruction filesRULES.md:417 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction file- Update the "AI Code Generation Best Practices" checklist in CLAUDE.mdFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
Process kill commandtests/test_process_utils.py:200 · Process kill command — agent can terminate processes# Mock os.kill to avoid actually killing the test processFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandtests/test_process_utils.py:204 · Process kill command — agent can terminate processes# Verify kill was called (is_running calls os.kill with signal 0, then stop_server calls with SIGTERM)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Access to sensitive file pathstests/test_security.py:79 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"default | cat /etc/passwd",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Access to sensitive file pathstests/test_security.py:184 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files{"monday": {"start": "../etc/passwd", "end": "17:00"}},Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
LOW
Dynamic module loadingunifi_mcp/server.py:18 · Dynamic module loadingimportlib.util.find_spec("fastmcp.server.middleware.rate_limiting") is not NoneFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
Dynamic module loadingunifi_mcp/server.py:22 · Dynamic module loadingSERVERPANELS_AVAILABLE = importlib.util.find_spec("mcp_common.ui") is not NoneFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Destructive command against a filesystem root or devicetests/test_security.py:78 · Destructive command against a filesystem root or device"default; rm -rf /",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
Instructs the agent to modify its persistent memory or instruction filesRULES.md:407 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction file- AI assistants should update CLAUDE.md and RULES.md weekly or after pre-commit failuresFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
LOW
Dynamic module loadingunifi_mcp/config.py:25 · Dynamic module loadingEXCEPTIONS_AVAILABLE = importlib.util.find_spec("mcp_common.exceptions") is not NoneFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Access to sensitive file pathstests/test_security.py:98 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"../../../etc/passwd",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
LOW
Authorization escalation languageREADME.md:109 · Authorization escalation language · informational: not an instruction fileACCESS_CONTROLLER__USERNAME=adminFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
Destructive file system command detectedtests/test_security.py:78 · Destructive file system command detected"default; rm -rf /",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05

Cost to the agent

Instructions loaded
≈3,696 tok
3 files · 77 in bundle

Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.

Known vulnerabilities

No advisories in OSV for unifi-mcp@0.5.3 as of 3 min ago. This is the package itself, not its dependencies.

unifi-mcp@0.5.3 safety verdict: Verified (install only) — KillerSkills