MCP, MCP server
UniFi RMCP
Rust MCP server and CLI for UniFi Network controller operations.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 5b0cee24f668, unchanged since the check below.
PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV INSTALL_DOCUMENTED_INSTALLER SECRETS_ENV_READ
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
packages/unifi-rmcp/scripts/check-package.js, line 450
fs.rmSync(tempDir, { recursive: true, force: true }); - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
packages/unifi-rmcp/scripts/check-package.js, line 335
const request = https.request(url, { method: "HEAD" }, (response) => { - SECRETS_PATH_DOTENV Low
Mentions a .env file.
entrypoint.sh, line 18
# /data/.env, but entrypoint validates required vars first. - INSTALL_DOCUMENTED_INSTALLER Note
Documentation shows an installer that pipes a download into a shell.
README.md, line 87
| Release installer | `curl -fsSL https://raw.githubusercontent.com/dinglebear-ai/runifi/main/scripts/install.sh \| bash` | Host installs without Node. | Instal - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
scripts/block-env-commits.sh, line 6
' "$staged" | grep -E '(^|/)[^/]*\.env[^/]*$' | grep -v '\.env\.example$' || true)
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Concern
can delete files.
PERMISSION_DELETE_FILES
packages/unifi-rmcp/scripts/check-package.js, line 450
fs.rmSync(tempDir, { recursive: true, force: true });
packages/unifi-rmcp/scripts/install.js, line 92
fs.rmSync(destination, { recursive: true, force: true });
packages/unifi-rmcp/scripts/install.js, line 130
fs.rmSync(tempDir, { recursive: true, force: true });
Show more
packages/unifi-rmcp/scripts/sync-readme.js, line 12
fs.unlinkSync(packageReadme);
packages/unifi-rmcp/scripts/sync-readme.js, line 22
fs.unlinkSync(destination);
Install and update
Note
README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell.
INSTALL_DOCUMENTED_INSTALLER
README.md, line 87
| Release installer | `curl -fsSL https://raw.githubusercontent.com/dinglebear-ai/runifi/main/scripts/install.sh \| bash` | Host installs without Node. | Instal
docs/SETUP.md, line 36
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
packages/unifi-rmcp/README.md, line 87
| Release installer | `curl -fsSL https://raw.githubusercontent.com/dinglebear-ai/runifi/main/scripts/install.sh \| bash` | Host installs without Node. | Instal
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
packages/unifi-rmcp/scripts/check-package.js, line 335
const request = https.request(url, { method: "HEAD" }, (response) => {
plugins/unifi/skills/unifi/SKILL.md, line 172
curl -sk "$UNIFI_URL/proxy/network/api/s/$SITE/stat/sta" \
plugins/unifi/skills/unifi/SKILL.md, line 176
curl -sk "$UNIFI_URL/proxy/network/api/s/$SITE/stat/device" \
Show more
plugins/unifi/skills/unifi/SKILL.md, line 180
curl -sk "$UNIFI_URL/proxy/network/api/s/$SITE/rest/wlanconf" \
plugins/unifi/skills/unifi/SKILL.md, line 184
curl -sk "$UNIFI_URL/proxy/network/api/s/$SITE/stat/health" \
plugins/unifi/skills/unifi/SKILL.md, line 188
curl -sk "$UNIFI_URL/proxy/network/api/s/$SITE/rest/alarm" \
plugins/unifi/skills/unifi/SKILL.md, line 192
curl -sk "$UNIFI_URL/proxy/network/api/s/$SITE/rest/event" \
plugins/unifi/skills/unifi/SKILL.md, line 196
curl -sk "$UNIFI_URL/proxy/network/api/s/$SITE/stat/sysinfo" \
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
entrypoint.sh, line 18
# /data/.env, but entrypoint validates required vars first.
entrypoint.sh, line 19
if [ -f "${DATA_DIR}/.env" ]; then
scripts/block-env-commits.sh, line 6
' "$staged" | grep -E '(^|/)[^/]*\.env[^/]*$' | grep -v '\.env\.example$' || true)
Show more
entrypoint.sh, line 22
. "${DATA_DIR}/.env"
entrypoint.sh, line 48
if [ -f "${DATA_DIR}/.env" ]; then
entrypoint.sh, line 49
chmod 600 "${DATA_DIR}/.env"
packages/unifi-rmcp/scripts/check-package.js, line 238
".env",
scripts/block-env-commits.sh, line 9
echo "block-env-commits: BLOCKED - .env file(s) staged for commit:" >&2
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 5b0cee24f668. can delete files. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell. can reach a host that is not written as a fixed address. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: 5b0cee24f668b0ea9aaa50616b6158c5022a05ff
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.