MCP, MCP server
blanket
Blanket is a RESTy wrapper for long-running tasks.
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.
INSTALL_REMOTE_SCRIPT NETWORK_HOST_FROM_INPUT
Why this grade
- INSTALL_REMOTE_SCRIPT High
Fetches a script from the network and runs it (a pipe to a shell, or an install hook with a URL).
scripts/install.sh, line 9
# curl -sSfL https://raw.githubusercontent.com/turtlemonvh/blanket/master/scripts/install.sh | bash - NETWORK_HOST_FROM_INPUT Medium
A file takes a URL or endpoint as input and has no fixed host list.
command/migrate.go, line 101
fmt.Fprintf(os.Stderr, "hint: %s. Stop blanket, or ask the running server with `curl localhost:%d/config/`.\n", who, viper.GetInt("port"))
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
Note
requests shell access. The manifest names this permission.
PERMISSION_SHELL_DECLARED
command/service.go, line 137
cmd := exec.Command(name, args...)
command/service_darwin.go, line 133
out, _ := exec.Command("launchctl", "print", target+"/"+service.LaunchdLabel).CombinedOutput()
command/service_linux.go, line 48
return exec.CommandContext(ctx, "systemctl", "--user", "list-units", "--no-pager").Run() == nil
Show more
command/service_linux.go, line 143
out, _ := exec.Command("systemctl", "--user", "status", service.SystemdUnitName, "--no-pager").CombinedOutput()
command/service_windows.go, line 46
out, err := exec.Command("schtasks", service.WindowsQueryArgs()...).CombinedOutput()
command/service_windows.go, line 57
return exec.Command("schtasks", service.WindowsQueryArgs()...).Run() == nil
command/upgrade_common.go, line 422
cmd := exec.Command(binary, args...)
lib/proclive/proclive_test.go, line 80
return exec.Command("cmd", "/c", "exit", "0")
Install and update
Serious
install fetches a script from the network. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell.
INSTALL_REMOTE_SCRIPT INSTALL_DOCUMENTED_INSTALLER
README.md, line 17
curl -sSfL https://raw.githubusercontent.com/turtlemonvh/blanket/master/scripts/install.sh | bash
docs/autostart.md, line 23
INSTALL_AUTOSTART=1 curl -sSfL https://raw.githubusercontent.com/turtlemonvh/blanket/master/scripts/install.sh | bash
scripts/install.sh, line 9
# curl -sSfL https://raw.githubusercontent.com/turtlemonvh/blanket/master/scripts/install.sh | bash
Show more
scripts/setup.sh, line 85
curl -fsSL "https://raw.githubusercontent.com/nvm-sh/nvm/$NVM_VERSION/install.sh" | bash
Network
Serious
accepts a host from input, with no fixed list in this file.
NETWORK_HOST_FROM_INPUT
command/migrate.go, line 101
fmt.Fprintf(os.Stderr, "hint: %s. Stop blanket, or ask the running server with `curl localhost:%d/config/`.\n", who, viper.GetInt("port"))
command/upgrade.go, line 397
"a restart is already in flight (%s, id %s). Finish it, or `curl -H 'X-Blanket-Restart: 1' -X POST http://localhost:%d/ops/restart/abort`",
command/upgrade.go, line 1006
s a different process came back.\nuntil curl -fsS $BASE/version >/dev/null 2>&1; do s
Show more
command/upgrade.go, line 1007
fmt.Fprintf(&b, "# Changed your mind before step 7:\n# curl -sS \"${OPS[@]}\" -X POST $BASE/ops/restart/abort\n")
scripts/install.sh, line 84
VERSION=$(curl -sSf "https://api.github.com/repos/$REPO/releases/latest" \
scripts/install.sh, line 122
# `curl -o "$INSTALL_DIR/blanket"` directly, which means a download that
scripts/install.sh, line 135
HTTP_CODE=$(curl -sSL -w "%{http_code}" -o "$TMP_BINARY" "$URL") || HTTP_CODE="000"
scripts/install.sh, line 147
SUMS_CODE=$(curl -sSL -w "%{http_code}" -o "$TMP_BINARY.sums" \
scripts/install.sh, line 229
HTTP_CODE=$(curl -sSL -w "%{http_code}" -o "$DEST" "$TYPE_URL") || HTTP_CODE="000"
server/ui/static/htmx.min.js, line 1
},createWebSocket:function(e){var t=new WebSocket(e,[]);t.binaryType=Q.config.wsBinaryType
Secrets
Pass
No read of a credential file or secret environment variable found.
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.md).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit b66b72772803. requests shell access. The manifest names this permission. install fetches a script from the network. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell. accepts a host from input, with no fixed list in this file.
Date and source
Date checked:
github.com
Commit graded: b66b727728038712c598f24f53429d0997031d5d
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.