MCP, MCP server
aifolimizer
MCP-native portfolio brain for Claude.
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.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV PERMISSION_SHELL_DECLARED SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
backend/main.py, line 88
httpx.post( - SECRETS_PATH_DOTENV Low
Mentions a .env file.
CLAUDE.md, line 143
# backend/.env (local only - never commit) - PERMISSION_SHELL_DECLARED Note
Runs shell commands, and the manifest or description says so.
backend/main.py, line 51
subprocess.Popen( - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
backend/mcp_login.py, line 63
password = os.getenv("WS_PASSWORD", "").strip() - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
uv.lock, line 1
version = 1
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
Note
requests shell access. The manifest names this permission.
PERMISSION_SHELL_DECLARED
backend/main.py, line 51
subprocess.Popen(
backend/scripts/health_check.py, line 135
subprocess.run(
.claude/context/changes.md, line 287
- `backend/main.py` lifespan: when `restore_session()` returns None (file missing / stale / WS rejected), spawns `mfa_notify.py` in background via `subprocess.Popen`. Single trigge
Show more
.claude/context/lessons.md, line 29
- **`subprocess` text decode crashes on Windows non-ASCII output.** `subprocess.run(..., text=True)` decodes with the locale codec (cp1252 on Windows). Tools that emit emoji/box-dr
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
backend/main.py, line 88
httpx.post(
backend/app/api/ops.py, line 52
job = Job.fetch(jid, connection=get_redis_sync())
backend/app/api/ops.py, line 95
job = Job.fetch(job_id, connection=r)
Show more
backend/app/api/ws.py, line 1002
rows = await conn.fetch(
backend/app/db/repositories/alerts_repo.py, line 41
rows = await conn.fetch(
backend/app/db/repositories/alerts_repo.py, line 52
rows = await conn.fetch(
backend/app/db/repositories/changes_repo.py, line 72
rows = await conn.fetch(
backend/app/db/repositories/crowding_repo.py, line 35
rows = await conn.fetch(
scripts/install-backend-service.ps1, line 49
Write-Host "Health: curl http://127.0.0.1:$Port/health"
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
CLAUDE.md, line 143
# backend/.env (local only - never commit)
CLAUDE.md, line 146
# Optional: Telegram alerts, free-LLM fallback keys, Sentry - see .env.example
backend/mcp_login.py, line 63
password = os.getenv("WS_PASSWORD", "").strip()
Show more
setup.ps1, line 7
Idempotent: re-running never clobbers an existing .venv, backend\.env, or
setup.ps1, line 8
.mcp.json. Creates the venv, installs deps, seeds backend\.env from the
setup.ps1, line 41
Write-Host '==> 3/5 backend\.env'
setup.ps1, line 42
if (-not (Test-Path backend\.env)) {
setup.ps1, line 43
Copy-Item .env.example backend\.env
setup.ps1, line 44
Write-Host ' created backend\.env - EDIT IT and fill WS_EMAIL / WS_PASSWORD'
backend/mcp_server.py, line 256
password = os.getenv("WS_PASSWORD", "")
backend/app/core/sentry.py, line 36
extra = os.getenv("SENTRY_PII_TOKENS", "")
backend/app/services/earnings_commentary.py, line 157
key = os.environ.get("ALPHA_VANTAGE_KEY", "").strip()
backend/app/services/finnhub_extras.py, line 69
return os.environ.get("FINNHUB_KEY", "").strip()
backend/app/services/news.py, line 100
key = os.environ.get("FINNHUB_KEY", "").strip()
backend/app/services/news.py, line 138
key = os.environ.get("EODHD_KEY", "").strip()
backend/app/services/technicals.py, line 542
key = os.environ.get("MASSIVE_API_KEY", "")
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
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 440126c4f758. requests shell access. The manifest names this permission. can reach a host that is not written as a fixed address. 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: 440126c4f7582c10cd04a79baeadb8d7c5c78770
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.