Grades are a hygiene check, not a security guarantee.

MCP, MCP server

io.github.JaviMaligno/vitamind

Solar vitamin D calculator PWA — know when and where you can synthesize vitamin D from sunlight, based on solar elevation, real-time UV index, skin type, body exposure and age.

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 6aedc0ae562e, unchanged since the check below.

NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST SECRETS_PATH_DOTENV PERMISSION_SHELL_DECLARED SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP OBFUSCATION_FILE_CAP_REACHED

Why this grade

  • NETWORK_NO_FIXED_HOST Low

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

    AGENTS.md, line 577 curl -s https://getvitamind.app/en/sunrise/oslo | grep -o '#sunrise-[0-9-]\{10\}' # should be today

  • NETWORK_UNNAMED_HOST Low

    Calls a fixed host that the description does not name.

    AGENTS.md, line 577 curl -s https://getvitamind.app/en/sunrise/oslo | grep -o '#sunrise-[0-9-]\{10\}' # should be today

  • SECRETS_PATH_DOTENV Low

    Mentions a .env file.

    AGENTS.md, line 613 See `.env.example` for the full list with comments. Summary:

  • PERMISSION_SHELL_DECLARED Note

    Runs shell commands, and the manifest or description says so.

    scripts/cloud-backtest/dwd.py, line 10 z = zipfile.ZipFile(io.BytesIO(subprocess.run(["curl","-s","--max-time","120",f"{B}10minutenwerte_SOLAR_{sid}_akt.zip"],capture_output=True,check=True).stdout))

  • SECRETS_ENV_READ Note

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

    app/api/cities/route.ts, line 6 const key = process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY;

  • OBFUSCATION_FILE_OVER_READ_CAP Note

    A file was over the read cap and was not fully read.

    package-lock.json, line 1 {

  • OBFUSCATION_FILE_CAP_REACHED Note

    The 400 file cap was reached before every file was read.

    package-lock.json, line 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

    scripts/cloud-backtest/dwd.py, line 10

    z = zipfile.ZipFile(io.BytesIO(subprocess.run(["curl","-s","--max-time","120",f"{B}10minutenwerte_SOLAR_{sid}_akt.zip"],capture_output=True,check=True).stdout))

  • 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. can reach getvitamind-dev.vercel.app. The description does not name that host. can reach nominatim.openstreetmap.org. The description does not name that host. can reach cdn.jsdelivr.net. The description does not name that host. can reach historical-forecast-api.open-meteo.com. The description does not name that host.

    NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST

    AGENTS.md, line 577

    curl -s https://getvitamind.app/en/sunrise/oslo | grep -o '#sunrise-[0-9-]\{10\}' # should be today

    AGENTS.md, line 589

    # window. Outside those hours a manual curl reports everyone as `deferred` - that is the

    AGENTS.md, line 591

    curl -H "Authorization: Bearer $CRON_SECRET_PROD" https://getvitamind.app/api/push/notify

    Show more

    AGENTS.md, line 594

    curl -H "Authorization: Bearer $CRON_SECRET_DEV" https://getvitamind-dev.vercel.app/api/push/notify

    AGENTS.md, line 605

    curl -H "Authorization: Bearer $CRON_SECRET_DEV" \

    app/api/push/notify/route.ts, line 80

    const res = await fetch(url, { signal: AbortSignal.timeout(8000) }).catch(() => null);

    app/api/revalidate-today/route.ts, line 109

    const res = await fetch(sample.url, {

    app/api/weather/route.ts, line 68

    const main = fetch(upstreamUrl, { signal: AbortSignal.timeout(UPSTREAM_TIMEOUT_MS) });

    app/api/weather/route.ts, line 71

    ? fetch(radUrl, { signal: AbortSignal.timeout(UPSTREAM_TIMEOUT_MS) })

    components/AiConnections.tsx, line 38

    const res = await fetch("/api/oauth/connections", { headers: { Authorization: `Bearer ${jwt}` } });

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    app/api/cities/route.ts, line 6

    const key = process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY;

    app/api/ops/alerts/route.ts, line 25

    const token = process.env.OPS_ALERT_TOKEN;

    AGENTS.md, line 613

    See `.env.example` for the full list with comments. Summary:

    Show more

    app/api/push/notify/route.ts, line 67

    process.env.NEXT_PUBLIC_VAPID_PUBLIC_KEY!,

    app/api/push/notify/route.ts, line 68

    process.env.VAPID_PRIVATE_KEY!,

    app/api/push/notify/route.ts, line 165

    const cronSecret = process.env.CRON_SECRET;

    app/api/revalidate-today/route.ts, line 51

    const cronSecret = process.env.CRON_SECRET;

    components/NotificationToggle.tsx, line 161

    const vapidKey = process.env.NEXT_PUBLIC_VAPID_PUBLIC_KEY;

    lib/analytics-store.ts, line 14

    const key = process.env.SUPABASE_SERVICE_ROLE_KEY;

    .gitignore, line 3

    out/

    .gitignore, line 18

    public/sw.js

    AGENTS.md, line 644

    Copy `.env.example` to `.env.local` and fill in values.

    README.md, line 19

    cp .env.example .env.local # fill in values

    docs/PRODUCTION_READINESS.md, line 69

    | 🟡 | Sin README ni `.env.example` | ✅ Añadidos |

    docs/PRODUCTION_READINESS.md, line 79

    3. `feat: CI pipeline, API route tests, typecheck script, .env.example`.

    docs/PRODUCTION_READINESS.md, line 185

    - `.env.example` se actualiza en el mismo PR que introduce una env var nueva,

  • 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. the file cap was reached before every file was read.

    OBFUSCATION_FILE_OVER_READ_CAP OBFUSCATION_FILE_CAP_REACHED

    package-lock.json, line 1

    {

    lib/__tests__/sun-direction.test.ts, line 1

    import { describe, it, expect } from "vitest";

  • Licence

    Note

    no licence file found.

    LICENCE_MISSING

    No file path was stored.

    no licence file found.

  • Maintainer activity

    Pass

    The latest commit is within the last 365 days.

Note

Hygiene check of commit 6aedc0ae562e. requests shell access. The manifest names this permission. can reach a host that is not written as a fixed address. can reach getvitamind-dev.vercel.app. The description does not name that host. can reach nominatim.openstreetmap.org. The description does not name that host. can reach cdn.jsdelivr.net. The description does not name that host. can reach historical-forecast-api.open-meteo.com. The description does not name that host. reads a credential or environment file. a file was over the read cap and was not fully read. the file cap was reached before every file was read. no licence file found. Grades are a hygiene check, not a security g

Date and source

Date checked:

View source

github.com

Commit graded: 6aedc0ae562efaaf98587dc7496be4b76c013dbb

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