Skills/PyPI/unifi-mcp-shared

unifi-mcp-shared@0.6.40

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 723 daysInstalls 39,159Last detonated 44 h ago
$claude mcp add unifi-mcp-shared -- uvx unifi-mcp-shared
WatchReport an issue

Coverage

Nothing executable in the bundle ran; the trace covers the install step only.
Tested
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 the honeypot saw
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.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (1 scenario; nothing executable in the bundle ran; the trace covers the install step only) on 2026-11-12 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 · 0 s · 1 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessscript backend runs setup only
0.0sprocessscript backend runs setup only
0.0sprocessno install scripts to re-run

Static findings

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/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
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: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/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/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/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
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
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
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
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
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
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
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
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
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
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 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
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
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
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
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.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
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
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
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
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: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_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
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 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
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
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: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
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
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_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 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

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

No advisories in OSV for unifi-mcp-shared@0.6.40 as of 44 h ago. This is the package itself, not its dependencies.