MCP, MCP server
usagetrim
usagetrim, 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 NETWORK_HOST_FROM_INPUT
Why this grade
- PERMISSION_SHELL_UNDECLARED Medium
Runs shell commands that the manifest or description does not mention.
src/usagetrim/cli.py, line 988
proc = subprocess.run( - NETWORK_HOST_FROM_INPUT Medium
A file takes a URL or endpoint as input and has no fixed host list.
src/usagetrim/core/json_slimmer.py, line 337
"""Compact REST API and curl response payloads.
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
src/usagetrim/cli.py, line 988
proc = subprocess.run(
src/usagetrim/cli.py, line 1913
res = subprocess.run(cmd, capture_output=True, text=True, errors="replace")
src/usagetrim/core/clip.py, line 25
return subprocess.check_output(["pbpaste"], text=True, timeout=2)
Show more
src/usagetrim/core/clip.py, line 35
p = subprocess.Popen(["pbcopy"], stdin=subprocess.PIPE, text=True)
src/usagetrim/core/code_index.py, line 325
result = subprocess.run(
src/usagetrim/core/diff_slimmer.py, line 143
result = subprocess.run(
src/usagetrim/core/doctor.py, line 377
probe = subprocess.run(
src/usagetrim/core/doctor.py, line 973
process = subprocess.Popen(
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Serious
accepts a host from input, with no fixed list in this file.
NETWORK_HOST_FROM_INPUT
src/usagetrim/core/json_slimmer.py, line 337
"""Compact REST API and curl response payloads.
src/usagetrim/filters/rest.py, line 1
"""REST API and curl HAR response compactor."""
site/index.html, line 329
fetch("https://api.github.com/repos/00200200/usagetrim").then(r => r.ok ? r.json() : null)
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_DOTENV
src/usagetrim/core/code_index.py, line 310
if path.name.startswith(".env") or path.suffix.lower() in {".pem", ".key", ".p12"}:
src/usagetrim/core/diff_slimmer.py, line 529
suffix in {".toml", ".yaml", ".yml", ".ini", ".cfg", ".env"}
src/usagetrim/core/specialized.py, line 5376
" - Environments: .env.production",
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
uv.lock, line 1
version = 1
src/usagetrim/core/specialized.py, line 1
from __future__ import annotations
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 154a02b87074. requests shell access. No manifest field names shell or command execution. accepts a host from input, with no fixed list in this file. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: 154a02b870745eba2e790160627898411e6da8dd
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.