Grades are a hygiene check, not a security guarantee.

MCP, MCP server

TrainBud

Talk to your training data.

Compatibility: Not stated.

Grade B

Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.

Graded by PlugVetRubric v2

Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.

Rescanned at commit cf22892f67b8, unchanged since the check below.

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.

    src/garmin/auth.ts, line 59 fs.unlinkSync(sessionPath);

  • NETWORK_NO_FIXED_HOST Low

    Makes a network call whose host is not written as a fixed address.

    src/cli.ts, line 638 console.log(" curl against /api/watch with the key looks the same from here.");

  • SECRETS_PATH_DOTENV Low

    Mentions a .env file.

    scripts/generate-store-screenshots.ps1, line 55 $apiKeyLine = Get-Content ".env" | Where-Object { $_ -match "^TRAINBUD_API_KEY=" }

  • SECRETS_ENV_READ Note

    Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.

    scripts/generate-store-screenshots.ps1, line 55 $apiKeyLine = Get-Content ".env" | Where-Object { $_ -match "^TRAINBUD_API_KEY=" }

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

    src/garmin/auth.ts, line 59

    fs.unlinkSync(sessionPath);

    src/garmin/authCooldown.ts, line 142

    fs.unlinkSync(filePath);

  • 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

    src/cli.ts, line 638

    console.log(" curl against /api/watch with the key looks the same from here.");

    src/dashboard.ts, line 819

    return fetch('/api/profile', {

    src/dashboard.ts, line 867

    fetch('/dashboard/selftest', { headers: authHeaders({ 'Accept': 'application/json' }) })

    Show more

    src/dashboard.ts, line 906

    fetch('/dashboard/pair/approve', {

    src/dashboard.ts, line 942

    fetch('/dashboard/context/close', {

    src/dashboard.ts, line 954

    fetch('/dashboard/status', { headers: authHeaders({ 'Accept': 'application/json' }) })

    src/dashboard.ts, line 1010

    fetch('/api/profile', { headers: authHeaders({ 'Accept': 'application/json' }) })

    src/dashboard.ts, line 1020

    fetch('/api/profile', { headers: authHeaders({ 'Accept': 'application/json' }) })

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    scripts/generate-store-screenshots.ps1, line 55

    $apiKeyLine = Get-Content ".env" | Where-Object { $_ -match "^TRAINBUD_API_KEY=" }

    scripts/launch-simulator.ps1, line 75

    Write-Host " API Key: TRAINBUD_API_KEY from .env"

    scripts/start-watch-stack.ps1, line 67

    Write-Host "Set it once, in .env or your shell profile:"

    Show more

    scripts/start-watch-stack.ps1, line 159

    # Read API key from .env for dashboard link

    scripts/start-watch-stack.ps1, line 161

    if (Test-Path (Join-Path $RepoRoot ".env")) {

    scripts/start-watch-stack.ps1, line 163

    # is what a pre-0.3.0 .env still holds and the server still honours. Matching only the

    scripts/start-watch-stack.ps1, line 165

    $envLine = Get-Content (Join-Path $RepoRoot ".env") |

    scripts/lib/trainbud-env.ps1, line 24

    Parses .env into a hashtable. Missing file is not an error.

    src/config.ts, line 259

    return process.env.GARMIN_PASSWORD ?? "";

    src/config.ts, line 289

    return process.env.ANTHROPIC_API_KEY ?? "";

    src/httpServer.ts, line 821

    if (savedClaudeKey && !process.env["ANTHROPIC_API_KEY"]) {

    src/httpServer.ts, line 822

    process.env["ANTHROPIC_API_KEY"] = savedClaudeKey;

    src/httpServer.ts, line 1260

    process.env["GROQ_API_KEY"] = speechKey;

    src/httpServer.ts, line 1265

    process.env["ANTHROPIC_API_KEY"] = key;

    src/rotate.ts, line 59

    const envAiKey = process.env.ANTHROPIC_API_KEY ?? "";

    src/rotate.ts, line 288

    const current = getSetting(AI_KEY_SETTING) ?? process.env.ANTHROPIC_API_KEY ?? "";

  • 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 cf22892f67b8. 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:

View source

github.com

Commit graded: cf22892f67b81529b07b71302dd8e6316e4e24c4

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.

Read how this letter is chosen