MCP, MCP server
Pdf Toolkit
Pdf Toolkit, 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.
final_test.py, line 221
os.remove(tmp) - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
test_frontend.py, line 15
r = requests.get('http://127.0.0.1:3000', timeout=10) - SECRETS_PATH_DOTENV Low
Mentions a .env file.
deploy.sh, line 5
# Usage: cp .env.example .env -> fill DOMAIN, EMAIL, GOOGLE_* -> ./deploy.sh - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
frontend/lib/auth.ts, line 5
const clientSecret = process.env.GOOGLE_CLIENT_SECRET || "dummy";
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
final_test.py, line 221
os.remove(tmp)
final_test.py, line 254
os.remove(tmp)
final_test.py, line 281
os.remove(tmp)
Show more
test_frontend.py, line 6
proc = subprocess.Popen([
backend/app/main.py, line 142
shutil.rmtree(p, ignore_errors=True)
backend/app/routers/compress.py, line 26
shutil.rmtree(os.path.dirname(path), ignore_errors=True)
backend/app/routers/compress.py, line 93
shutil.rmtree(directory, ignore_errors=True)
backend/app/routers/compress.py, line 96
shutil.rmtree(directory, ignore_errors=True)
backend/app/routers/crop.py, line 24
shutil.rmtree(dir_path, ignore_errors=True)
backend/app/routers/pdfa.py, line 76
completed = subprocess.run(
backend/app/services/office_convert.py, line 18
subprocess.run,
mcp/server.py, line 388
proc = await asyncio.to_thread(subprocess.run, ["soffice","--headless","--invisible",
mcp/server.py, line 512
proc = await asyncio.to_thread(subprocess.run, ["soffice","--headless","--invisible",
mcp/server.py, line 533
proc = await asyncio.to_thread(subprocess.run, ["soffice","--headless","--invisible",
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
test_frontend.py, line 15
r = requests.get('http://127.0.0.1:3000', timeout=10)
test_frontend.py, line 23
r2 = requests.get(f'http://127.0.0.1:3000/tools/{slug}', timeout=10)
backend/app/routers/html_to_pdf.py, line 91
connection.sock = socket.create_connection((ips[0], port), timeout=10)
Show more
frontend/app/api/[...path]/route.ts, line 21
const upstream = await fetch(target, {
frontend/components/DocumentEditor.tsx, line 34
fetch("/api/pdf-forms/inspect",{method:"POST",
frontend/lib/api.ts, line 17
const response = await fetch(`/api/${slug}`, {method: "POST", body: fd});
frontend/lib/api.ts, line 24
const response = await fetch("/api/compare", {method: "POST", body: fd});
frontend/lib/api.ts, line 31
const response = await fetch("/api/preview", {method: "POST", body: fd, signal});
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
deploy.sh, line 5
# Usage: cp .env.example .env -> fill DOMAIN, EMAIL, GOOGLE_* -> ./deploy.sh
deploy.sh, line 8
# Load .env if present (for DOMAIN / EMAIL)
frontend/lib/auth.ts, line 5
const clientSecret = process.env.GOOGLE_CLIENT_SECRET || "dummy";
Show more
deploy.sh, line 9
if [ -f .env ]; then
deploy.sh, line 12
source .env
deploy.sh, line 17
echo "ERROR: DOMAIN and EMAIL must be set in .env (see .env.example)"
.gitignore, line 7
venv/
.gitignore, line 9
!.env.example
docker-compose.yml, line 19
env_file: .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 05e0ee4c0cdb. 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: 05e0ee4c0cdbe1f69ffe01f4193715ba6463ad73
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.