MCP, MCP server
Tokenectomy
Tokenectomy, an MCP server listed in the PlugVet directory.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
benches/redaction_suite/runner.py, line 55
res = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True) - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
benches/redaction_suite/run_suite.sh, line 37
curl -sSL "https://github.com/gitleaks/gitleaks/releases/download/v8.30.1/gitleaks_8.30.1_linux_x64.tar.gz" -o "/tmp/gitleaks.tar.gz" - SECRETS_PATH_DOTENV Low
Mentions a .env file.
src/wrap.rs, line 107
.env("ANTHROPIC_BASE_URL", &gateway_url) - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
examples/openai_node_sidecar.ts, line 16
apiKey: process.env.OPENAI_API_KEY || "sk-placeholder",
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.
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
can delete files.
PERMISSION_DELETE_FILES
benches/redaction_suite/runner.py, line 55
res = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
benches/redaction_suite/runner.py, line 78
proc = subprocess.run(
benches/redaction_suite/runner.py, line 103
subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
Show more
packages/tokenectomy-razor/bin/run.js, line 77
fs.unlink(destPath, () => reject(err));
packages/tokenectomy-razor/bin/run.js, line 82
fs.unlink(destPath, () => reject(err));
packages/tokenectomy-razor/bin/run.js, line 150
if (fs.existsSync(tempPath)) fs.unlinkSync(tempPath);
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
benches/redaction_suite/run_suite.sh, line 37
curl -sSL "https://github.com/gitleaks/gitleaks/releases/download/v8.30.1/gitleaks_8.30.1_linux_x64.tar.gz" -o "/tmp/gitleaks.tar.gz"
packages/tokenectomy-razor/bin/run.js, line 52
const req = https.get(url, {
src/dashboard.rs, line 481
curl: `curl http://127.0.0.1:8080/v1/chat/completions \\
Show more
src/dashboard.rs, line 504
const res = await fetch('/v1/metrics');
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
examples/openai_node_sidecar.ts, line 16
apiKey: process.env.OPENAI_API_KEY || "sk-placeholder",
examples/openai_python_sidecar.py, line 19
api_key=os.environ.get("OPENAI_API_KEY", "sk-placeholder-if-routing-local"),
src/wrap.rs, line 107
.env("ANTHROPIC_BASE_URL", &gateway_url)
Show more
packages/tokenectomy-razor/bin/run.js, line 40
if (process.env.TOKENECTOMY_CACHE_DIR) {
packages/tokenectomy-razor/bin/run.js, line 41
return process.env.TOKENECTOMY_CACHE_DIR;
packages/tokenectomy-razor/bin/run.js, line 88
if (process.env.TOKENECTOMY_BIN && fs.existsSync(process.env.TOKENECTOMY_BIN)) {
packages/tokenectomy-razor/bin/run.js, line 89
return process.env.TOKENECTOMY_BIN;
src/wrap.rs, line 108
.env("OPENAI_BASE_URL", &openai_gateway_url)
src/wrap.rs, line 109
.env("OPENAI_API_BASE", &openai_gateway_url)
src/wrap.rs, line 110
.env("OLLAMA_HOST", &gateway_url)
src/wrap.rs, line 111
.env("TOKENECTOMY_ACTIVE", "1")
src/wrap.rs, line 112
.env("TOKENECTOMY_GATEWAY_URL", &gateway_url)
.gitignore, line 37
# Environment files & secrets
.gitignore, line 38
.env
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 a3a15e5f19b4. can delete files. can reach a host that is not written as a fixed address. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: a3a15e5f19b478e8749133d13088bf389304b8e8
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.