CanopiiCanopiiAll serversEnterprise →
io.github.mguttmann/the-real-unifi-mcp

io.github.mguttmann/the-real-unifi-mcp v0.4.0

Security Trust Score
Grade A · Strong posture
Tier 1 · Public sourceHigh confidence · 98%
Declared MCP capabilities

Host io.github.mguttmann/the-real-unifi-mcp in a governed environment — SSO in front, every tool call attributed and audited.

Reputation0stars0forks102downloads/mo0open issuestodaylast commit<1yage

Security controls

Deterministic, evidence-backed. Score earned from passing controls; a failed guard caps it.

Model–MCP Runtime Guardrails

  • Warn
    Strict JSON Schema Enforcementschemas not strict

    Tool inputs are constrained (additionalProperties:false), so unexpected arguments can't be smuggled in.

    Fix: Set additionalProperties:false and require explicit parameters on every tool.

  • Pass
    Indirect Prompt Injection (IPI) Defensesguardno injection markers

    Tool/prompt/resource text is free of hidden instructions that could hijack the agent.

  • Pass
    In-Session Definition Integrityguardno call-gated or call-time tool definition changes

    Tool and prompt definitions stay fixed during a session — they don't change after a few calls, which is how runtime-gated rug-pulls slip past one-time review.

  • Pass
    User-in-the-Loop / Approval Scopeguardno destructive tool scope

    No over-broad or destructive tools (arbitrary shell, bulk-delete) that warrant human approval.

  • N/A
    Tool Definition Integrityguardno prior version to diff

    Every consecutive version pair is diffed for new injection markers or destructive scope — a risky diff anywhere in history is a rug-pull (fail, durable); benign description drift warns.

Application Security Checks

  • Warn
    Dependencies pinned (lockfile)no lockfile found

    A lockfile makes installs reproducible and resistant to silent dependency swaps.

    Fix: Commit a lockfile (package-lock.json / pnpm-lock.yaml / poetry.lock).

  • Warn
    Established maintainersingle maintainer

    Brand-new / single anonymous maintainers raise takeover and malware risk.

    Fix: Publish under an established account/org; add multiple maintainers.

  • Warn
    Adoption & popularitylimited adoption

    A small, capped nudge from stars/downloads — widely-used servers get more eyes on bugs. It can never offset a real security failure.

    Fix: Adoption grows naturally with real-world use; this never gates the score.

  • Pass
    No command-injection sinksguardno sinks found

    Untrusted tool input reaching a shell yields remote code execution.

  • Pass
    No dynamic code executionguardno sinks found

    eval()/exec()/Function() on tool-derived strings allows arbitrary code execution.

  • Pass
    No path traversalguardno sinks found

    Naive path checks let tools read/write outside intended directories (EscapeRoute-class).

  • Pass
    No SSRF sinksguardno sinks found

    Fetching tool-supplied URLs can pivot into internal networks and metadata services.

  • Pass
    No unsafe deserializationguardno sinks found

    pickle/yaml.load/etc. on untrusted data can execute code.

  • Pass
    No committed secretsguardno secrets found

    Hardcoded keys/tokens in published source are live credentials an attacker can use.

  • Pass
    Credentials sourced from environmentreads credentials from environment

    Reading secrets from env/secret stores avoids hardcoding them.

  • Pass
    No known-vulnerable dependencies1 runtime deps, no known CVEs

    Runtime dependencies (parsed from the lockfile) are scanned against OSV.dev for published CVEs. Advisory: flagged dependencies lower the score but don't hard-cap it, since transitive reachability is unproven.

  • Pass
    No install/post-install scriptsguardno install scripts

    install hooks run arbitrary code on every consumer at install time.

  • Pass
    Package name not typosquattingguarddistinct package name

    Names mimicking popular packages are a common malware delivery vector.

  • Pass
    Published with provenancepublished with provenance

    Build provenance attests the artifact was built from the claimed source by CI.

  • Pass
    Actively maintainedrecent commits

    Unmaintained servers don't receive security fixes.

  • Pass
    Repository not archivedguardactive

    Archived repositories will never be patched.

  • Pass
    Declares a licenseMIT

    A clear license is required for legal enterprise use.

  • Pass
    Has a security policySECURITY.md present

    A SECURITY.md gives a private path to report vulnerabilities.

  • Not checked
    Signed releasesnot evaluated

    Signed releases let consumers verify artifacts weren't tampered with.

Transport & Trust Model

  • Warn
    Execution Sandboxingruns natively (no container image)

    A container/sandbox image limits blast radius; a server that runs natively has full host access.

    Fix: Ship a Dockerfile/Containerfile (or document a sandboxed run) so the server runs isolated.

  • Pass
    Network Exposureno bind-all detected

    Binding 0.0.0.0 or exposing debug inspectors widens the attack surface.

  • N/A
    Transport Encryption (TLS)guardno remote endpoints

    Plaintext HTTP exposes traffic and bearer tokens to interception.

  • N/A
    IAM / Authentication Scopingno remote endpoints

    OAuth 2.1 / Protected Resource Metadata gates who can invoke tools.

  • N/A
    No Token Passthroughguardno HTTP transport

    The client's token is never forwarded to downstream APIs — the server obtains its own, correctly-scoped credential instead.

  • N/A
    DNS-Rebinding Protectionno HTTP transport

    HTTP endpoints reject requests carrying an unlisted Origin, so a malicious web page can't drive the server through the user's browser.

  • N/A
    Live Endpoint Reachablenot dynamically scanned

    A dynamic scan connected to the declared remote endpoint and it responded — verified live, not a dead URL.

  • N/A
    Authentication Enforced (live)not dynamically scanned

    If the server declares auth is required, it must actually reject anonymous clients. Serving tools to unauthenticated callers is a real exposure.

Tools (80)

unifi_net_get_lagunifi_raw_requestunifi_sm_get_hostunifi_sm_identityunifi_net_get_infounifi_net_list_lagsunifi_net_list_wansunifi_sm_list_hostsunifi_sm_list_sitesunifi_net_get_clientunifi_net_get_deviceunifi_net_list_sitesunifi_net_get_networkunifi_net_get_voucherunifi_net_port_actionunifi_sm_list_devicesunifi_net_block_clientunifi_net_get_acl_ruleunifi_net_list_clientsunifi_net_list_devicesunifi_net_adopt_devicesunifi_net_client_actionunifi_net_device_actionunifi_net_list_networksunifi_net_list_vouchersunifi_net_reboot_deviceunifi_net_remove_deviceunifi_net_create_networkunifi_net_delete_networkunifi_net_delete_voucherunifi_net_get_dns_policyunifi_net_list_acl_rulesunifi_net_list_countriesunifi_net_unblock_clientunifi_net_update_networkunifi_sm_get_isp_metricsunifi_net_create_acl_ruleunifi_net_create_vouchersunifi_net_delete_acl_ruleunifi_net_delete_vouchersunifi_net_update_acl_ruleunifi_sm_get_sdwan_configunifi_net_get_device_statsunifi_net_get_mclag_domainunifi_net_get_switch_stackunifi_net_get_traffic_listunifi_net_list_device_tagsunifi_net_list_vpn_serversunifi_sm_query_isp_metricsunifi_net_create_dns_policyunifi_net_delete_dns_policyunifi_net_get_firewall_zoneunifi_net_list_dns_policiesunifi_net_reorder_acl_rulesunifi_net_update_dns_policyunifi_sm_list_sdwan_configsunifi_net_list_mclag_domainsunifi_net_list_switch_stacksunifi_net_list_traffic_listsunifi_net_create_traffic_listunifi_net_get_firewall_policyunifi_net_list_firewall_zonesunifi_net_create_firewall_zoneunifi_net_delete_firewall_zoneunifi_net_list_pending_devicesunifi_net_list_radius_profilesunifi_net_update_firewall_zoneunifi_net_get_acl_rule_orderingunifi_net_list_dpi_applicationsunifi_net_list_site_to_site_vpnunifi_net_patch_firewall_policyunifi_net_create_firewall_policyunifi_net_delete_firewall_policyunifi_net_get_network_referencesunifi_net_list_firewall_policiesunifi_net_update_firewall_policyunifi_sm_get_sdwan_config_statusunifi_net_reorder_firewall_policiesunifi_net_get_firewall_policy_orderingunifi_net_list_dpi_application_categories