MCP, MCP server
opsgate
opsgate, an MCP server listed in the PlugVet directory.
Compatibility: Not stated.
Grade D
Two or more Medium findings, or a High. Only try it in a sandbox.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
PERMISSION_SHELL_UNDECLARED SECRETS_PATH_CREDENTIAL
Why this grade
- PERMISSION_SHELL_UNDECLARED Medium
Runs shell commands that the manifest or description does not mention.
internal/executor/executor.go, line 4
// local executor passes argv straight to exec.Command (no shell involved). The - SECRETS_PATH_CREDENTIAL Medium
Mentions a credential store path (~/.ssh, id_rsa, .npmrc, .aws/credentials, credentials.json, .netrc).
cmd/opsgate/main.go, line 275
# key: ~/.ssh/id_ed25519
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.
If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.
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
requests shell access. No manifest field names shell or command execution.
PERMISSION_SHELL_UNDECLARED
internal/executor/executor.go, line 4
// local executor passes argv straight to exec.Command (no shell involved). The
internal/executor/executor.go, line 70
cmd := exec.CommandContext(ctx, argv[0], argv[1:]...)
README.md, line 289
| `shell_exec(command: "id")` | Refused - the tool isn't even registered unless you opt in |
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Pass
No network call found.
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_CREDENTIAL
cmd/opsgate/main.go, line 275
# key: ~/.ssh/id_ed25519
internal/executor/knownhosts.go, line 90
return fmt.Errorf("ssh %s: the host key is not in ~/.ssh/known_hosts, so opsgate will not connect. "+
internal/executor/knownhosts.go, line 97
return fmt.Errorf("ssh %s: the host key does NOT match ~/.ssh/known_hosts (line %d). "+
Show more
internal/executor/knownhosts_test.go, line 75
if !strings.Contains(unknown.Error(), "not in ~/.ssh/known_hosts") || !strings.Contains(unknown.Error(), "ssh -p 2222 127.0.0.1") {
internal/tools/files_test.go, line 39
"/var/log/../.ssh/id_rsa",
internal/tools/gate_test.go, line 204
g.refuse("local", "file_read", map[string]any{"path": "/root/.ssh/id_rsa"}, "outside allowed paths")
internal/tools/registry.go, line 500
// Refusals must be audited: a blocked attempt to read /root/.ssh/id_rsa is
README.md, line 285
| `file_read(path: "/root/.ssh/id_rsa")` | Refused - outside the allowed paths |
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 2f33e8616856. requests shell access. No manifest field names shell or command execution. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: 2f33e86168563ce05379ecb98a7a6535b2a0585f
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.