Skills/PyPI/unifi-mcp-shared

unifi-mcp-shared@0.6.43

VERIFIED· install only

Publisher claims: "Shared MCP server patterns: permissions, confirmation, lazy loading, config" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry PyPI (MCP server)Publisher pypi · publishing for 729 daysInstalls 57,559Last detonated 20 min ago
$claude mcp add unifi-mcp-shared -- uvx unifi-mcp-shared
WatchReport an issue

Coverage

Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Tested
8 of 26 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
UNIFI_NETWORK_PASSWORDUNIFI_PREVIEW_TOKEN_TTL_SECONDSConfiguration, not credentials: CONFIG_PATH, OTEL_SDK_DISABLED, SystemRoot, UNIFI_MCP_PROTOCOL_REVISION, UNIFI_MCP_PROTOCOL_VERSION, UNIFI_TOOL_REGISTRATION_MODE
Where it talks to
no vendor host named in the code
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 with a scoped credential, under the guard. It asks for UNIFI_NETWORK_PASSWORD, UNIFI_PREVIEW_TOKEN_TTL_SECONDS and talks to its vendor. Give the credential to the guard, not the server: the value never enters the server's environment and only travels to the host you bind. What the tools do with a real credential was not observed.

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

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

What changed since 0.6.40

vet-skills diff unifi-mcp-shared 0.6.40 0.6.43

In the sandbox, this version reached for nothing 0.6.40 did not. Compared from the two recorded runs, not from source.

The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.

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.0sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.1sprocessexited 1: ModuleNotFoundError: No module named 'unifi_core'
0.1sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.2sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.2sprocessexited 1: ModuleNotFoundError: No module named 'unifi_mcp_shared'
0.2sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.3sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.4sprocessexited 1: ModuleNotFoundError: No module named 'mcp'
0.4sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.4sprocessexited 1: ModuleNotFoundError: No module named 'mcp'
0.4sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.5sprocessexited 1: ModuleNotFoundError: No module named 'pydantic'
0.5sprocess8 of 26 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 pathssrc/unifi_mcp_shared/settings_file.py:10 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesThis is not project ``.env`` discovery: the path is set explicitly by theFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathssrc/unifi_mcp_shared/bootstrap.py:70 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesits ``.env`` would let that project choose credential destinations, policy,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 pathssrc/unifi_mcp_shared/setup_required.py:87 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesf"- Codex or OpenClaw: run the {plugin_name}-setup skill. It writes ~/.config/unifi-mcp/{product}.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 pathssrc/unifi_mcp_shared/testing.py:66 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"""A ``.env`` in the working directory must not be able to point the server at a file via ``_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 pathssrc/unifi_mcp_shared/testing.py:44 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files(tmp_path / ".env").write_text(dotenv, encoding="utf-8")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 pathssrc/unifi_mcp_shared/testing.py:125 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesassert not marker.exists(), "a .env-supplied _COMMAND was executed"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 pathssrc/unifi_mcp_shared/testing.py:36 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesserver never discovers a project ``.env``, so the names it sets must notFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathssrc/unifi_mcp_shared/bootstrap.py:124 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"""The variable name, tagged when a .env supplied it rather than the process environment."""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 pathssrc/unifi_mcp_shared/setup_required.py:47 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesf"- Codex or OpenClaw: run the {plugin_name}-setup skill. It writes ~/.config/unifi-mcp/{product}.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 pathssrc/unifi_mcp_shared/testing.py:93 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"""A ``.env`` in the working directory must not be able to make the server run a program.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 pathssrc/unifi_mcp_shared/bootstrap.py:58 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesloads project ``.env`` files, so this is a second line rather than the first.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 pathssrc/unifi_mcp_shared/bootstrap.py:127 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesreturn f"{var} (from a .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 pathssrc/unifi_mcp_shared/bootstrap.py:629 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"%s was supplied by a .env file, not by the environment the server was started with; "Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedtests/test_bootstrap_command_provider.py:574 · Python subprocess execution detectedf"subprocess.Popen([sys.executable, '-c', {descendant!r}])\n"Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/unifi_mcp_shared/bootstrap.py:428 · Python subprocess execution detectedproc = subprocess.Popen( # noqa: S603 -- argv from the operator's own environment, never a shellFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedtests/test_bootstrap_command_provider.py:368 · Python subprocess execution detectedresult = subprocess.run([sys.executable, str(probe)], capture_output=True, timeout=30, check=False)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Access to sensitive file pathstests/test_bootstrap.py:165 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# Simulate: process started without the variable, then a .env in the cwd set it.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedtests/test_bootstrap_command_provider.py:306 · Python subprocess execution detectedproc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Access to sensitive file pathstests/test_bootstrap.py:177 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesassert ".env" in caplog.textFix: 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_bootstrap.py:232 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"""Both names are logged, the .env-supplied one tagged, and neither value."""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_bootstrap_command_provider.py:214 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesassert ".env" in caplog.textFix: 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_settings_file.py:353 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files(tmp_path / ".env").write_text("UNIFI_NETWORK_HOST=project.invalid\n")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedsrc/unifi_mcp_shared/bootstrap.py:287 · Python subprocess execution detectedsubprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
File permission modification commandsrc/unifi_mcp_shared/bootstrap.py:148 · File permission modification command — agent changes file ownership/permissions"[credentials] %s points at %s with mode %04o; consider chmod 600 so other users cannot read it.",Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandsrc/unifi_mcp_shared/settings_file.py:99 · File permission modification command — agent changes file ownership/permissionsreturn (logging.WARNING, "with mode %04o; consider chmod 600 so other users cannot read it.", mode)Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Access to sensitive file pathstests/test_bootstrap.py:237 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesmonkeypatch.setenv("UNIFI_NETWORK_PASSWORD", "plain") # left over in a copied .envFix: 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_bootstrap_command_provider.py:218 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"""A .env arriving after the snapshot must not reach the helper's environment."""Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedsrc/unifi_mcp_shared/testing.py:60 · Python subprocess execution detectedreturn subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/unifi_mcp_shared/testing.py:262 · Python subprocess execution detectedproc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/unifi_mcp_shared/testing.py:206 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
File permission modification commandsrc/unifi_mcp_shared/settings_file.py:97 · File permission modification command — agent changes file ownership/permissionsreturn (logging.ERROR, "with mode %04o, which other users can write; ignoring it. Run chmod 600.", mode)Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Access to sensitive file pathstests/test_bootstrap_command_provider.py:412 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files``.env`` may have just rewritten -- which would defeat the name filter.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_bootstrap.py:188 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# Only the indirection is gated; a .env may still carry the value itself.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commandtests/test_settings_file.py:233 · File permission modification command — agent changes file ownership/permissionsassert any(level == logging.WARNING and "chmod 600" in message for level, message, _ in report.messages)Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Python subprocess execution detectedtests/test_bootstrap_command_provider.py:490 · Python subprocess execution detectedproc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedtests/test_bootstrap_command_provider.py:534 · Python subprocess execution detectedproc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Access to sensitive file pathstests/test_bootstrap_trust.py:54 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files(bundled_config / ".env").write_text("UNIFI_HOST=attacker.invalid\n")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedtests/test_bootstrap_command_provider.py:577 · Python subprocess execution detectedproc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Process kill commandsrc/unifi_mcp_shared/transport.py:9 · Process kill command — agent can terminate processesso that a failed HTTP transport does not kill the stdio connection.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedtests/test_bootstrap_command_provider.py:634 · Python subprocess execution detectedproc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05

Cost to the agent

Instructions loaded
≈58 tok
1 file · 68 in bundle

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

Known vulnerabilities

Not checked against OSV yet; the weekly check has not reached this version.