unifi

Warn

Audited by Socket on Sep 12, 2026

13 alerts found:

Anomalyx10Securityx3
AnomalyLOW
.github/workflows/gemini-review.yml

The workflow implements an automated Gemini pull request reviewer and does not itself show evidence of malware, data theft, persistence, or destructive behavior. The principal security risk is the mutable `google-github-actions/run-gemini-cli@v0` dependency receiving multiple secrets and a GitHub token with write permissions; it should be pinned to a verified commit, and the Docker MCP image should preferably be pinned by digest. Pull request content and repository files are untrusted inputs and could attempt prompt injection, although the prompt includes mitigations.

Confidence: 96%Severity: 68%
AnomalyLOW
.claude/commands/unifi-mcp-live-test.md

The code is a testing and automated remediation workflow, not evident malware. It legitimately contacts configured UniFi systems and GitHub, but it has meaningful operational and confidentiality risk because it reads environment configuration, performs authenticated API calls, publishes unsanitized exception content to GitHub, and triggers an automated coding agent. Review credential scope, repository permissions, error redaction, and bot approval controls before use.

Confidence: 96%Severity: 58%
AnomalyLOW
src/a2a/route_policy.py

The code appears to be a legitimate safety and authorization component, not malware. It has no evident exfiltration, persistence, destructive system activity, or obfuscation. However, confirmation enforcement is weaker than intended: caller-supplied confirmation flags and bare approval values can bypass or weaken proof of explicit authorization, and tool/parameter binding is not enforced during verification. These issues warrant remediation in security-sensitive deployments.

Confidence: 98%Severity: 56%
AnomalyLOW
.agents/skills/mcp-builder/scripts/evaluation.py

The fragment appears to be a legitimate MCP evaluation harness, not malware. It contains no evident covert payload, credential harvesting routine, persistence, or intentional sabotage. It does expose high-impact capabilities by allowing arbitrary stdio commands and automatically executing model-selected MCP tools; users should run it only with trusted MCP servers and carefully scoped credentials. The imported connections module must be reviewed separately because it controls subprocess and network behavior. The provided code is also incomplete and would not execute as written.

Confidence: 96%Severity: 58%
SecurityMEDIUM
tests/integration/README.md

The supplied content is README-style integration-test documentation, not executable code, and contains no direct evidence of malware or intentional sabotage. However, it includes credential-looking API keys in plaintext. If these values are real, they should be revoked and rotated immediately, and the documentation should replace them with placeholders. The fragment alone does not expose the test implementation, so API request behavior and any resulting effects cannot be fully assessed.

Confidence: 98%Severity: 72%
AnomalyLOW
src/a2a/auth.py

The fragment is an authentication and authorization utility with no apparent malicious behavior or exfiltration. It contains a significant trust-boundary weakness because credential presence and caller-supplied permissions can grant broad privileges without verification. Malformed expires_in values can also cause failures. The shown __all__ declaration appears incomplete and may cause a syntax error if the fragment is exact.

Confidence: 98%Severity: 58%
AnomalyLOW
.github/workflows/gemini-triage.yml

The workflow implements automated issue labeling and contains no clear evidence of intentional malware, credential theft, reverse shells, or destructive behavior. It has meaningful supply-chain and workflow security risks: attacker-controlled issue text reaches a model with access to cloud/API credentials, the model can write to GITHUB_ENV through a shell tool, and the Gemini action is referenced by mutable tag @v0. Label validation limits the final GitHub API effect, but credential exposure and environment-file injection should be reviewed and reduced through immutable pinning, least-privilege permissions, strict tool sandboxing, and safer data passing.

Confidence: 95%Severity: 62%
AnomalyLOW
src/a2a/delegation.py

No direct malware indicators are present. The code implements MCP delegation, but has security weaknesses: arbitrary global FastMCP instance selection, ineffective authentication-mode logic, heuristic destructive-tool detection, and weak confirmation validation. Risk depends on the surrounding MCP registration and caller authorization; this fragment should not be treated as a strong authorization boundary.

Confidence: 96%Severity: 57%
AnomalyLOW
docker-compose.yml

The configuration does not itself show malicious code or supply-chain malware. It has meaningful deployment security risks: an unauthenticated externally published Toolbox port, a Redis instance that defaults to no password, external telemetry to api.agnost.ai, environment-based secret exposure, and an unpinned third-party image. Restrict the Toolbox binding or add authentication, require a nonempty Redis password, review or disable telemetry as appropriate, and pin images by digest.

Confidence: 96%Severity: 62%
SecurityMEDIUM
.github/workflows/bug-report-handler.yml

The workflow is intended as an automated bug triage and repair bot, not apparent malware. However, it presents a significant supply-chain and repository-integrity risk because attacker-controlled issue content is supplied directly to a privileged autonomous coding agent with write permissions and command execution. Untrusted content should be isolated from instructions, permissions should be minimized, and code changes should require human approval before merge or publication. The id-token permission should be removed unless explicitly required.

Confidence: 97%Severity: 82%
SecurityMEDIUM
.github/workflows/claude.yml

No direct malicious payload is visible in this YAML. However, the workflow presents a significant supply-chain and CI security risk because untrusted issue or review text can activate an external AI action with repository, issue, pull-request, and OIDC write permissions. Restrict event sources, minimize permissions, disable id-token: write unless required, constrain executable tools, and pin actions to immutable SHAs. The trigger phrase configuration should also be made consistent.

Confidence: 94%Severity: 78%
AnomalyLOW
.github/workflows/claude-repo-maintainer.yml

This workflow is intended for automated repository maintenance and does not itself show clear malicious behavior. It has elevated supply-chain and automation risk because it gives a third-party AI action write permissions, a secret, OIDC capability, broad git access, and npm execution capability. Pin both actions to verified commit SHAs, reduce permissions to the minimum required, remove id-token: write unless necessary, restrict git and npm operations, and treat repository content as potentially adversarial. The malware likelihood is low based on this fragment, but the security risk is moderate due to privilege and execution scope.

Confidence: 94%Severity: 68%
AnomalyLOW
.github/workflows/claude-auto-triage.yml

This workflow is intended for automated issue triage and does not itself demonstrate malware. However, it has meaningful security risk: untrusted issue content is supplied directly to an autonomous AI agent with issue-write capabilities, and the third-party action receives sensitive credentials. The mutable action tag and unnecessary id-token: write permission increase supply-chain and privilege risks. Use an immutable action SHA, minimize permissions, remove id-token: write unless required, delimit and treat issue content as untrusted, and restrict tool capabilities to narrowly defined operations.

Confidence: 96%Severity: 68%
Audit Metadata
Analyzed At
Sep 12, 2026, 04:41 AM
Package URL
pkg:socket/skills-sh/enuno%2Funifi-mcp-server%2Funifi%2F@8f37c9f9a7b4371373e61932bb12f390b75ffbcb