Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Rozklad Mcp

rozkład-mcp 🚆🚌

Compatibility: Not stated.

Grade C

One Medium finding. Read the report before installing.

Graded by PlugVetRubric v2

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

INSTALL_LIFECYCLE_HOOK

Why this grade

  • INSTALL_LIFECYCLE_HOOK Medium

    A package install hook (preinstall, install, postinstall or prepare) runs a script.

    package.json, line 29 prepare

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/build-pkpic-fares.py, line 16

    text = subprocess.run(["pdftotext", "-layout", pdf, "-"], capture_output=True, text=True, check=True).stdout

    scripts/build-regional-fares.py, line 83

    return subprocess.run(["pdftotext", "-layout", "-f", str(page), "-l", str(page), pdf, "-"],

  • Install and update

    Concern

    runs a script at install time.

    INSTALL_LIFECYCLE_HOOK

    package.json, line 29

    prepare

  • Network

    Concern

    can reach a host that is not written as a fixed address.

    NETWORK_NO_FIXED_HOST

    scripts/build-regional-fares.py, line 77

    with urllib.request.urlopen(req, timeout=120) as r, open(path, "wb") as f:

    scripts/check-feeds.mjs, line 14

    return await fetch(url, { signal: ac.signal, redirect: "follow", headers: { "user-agent": UA } });

    src/disruptions.ts, line 66

    const res = await fetch(url, { signal: ac.signal, headers: { "x-api-key": this.key, "user-agent": config.userAgent, accept: "application/json" } });

    Show more

    src/feeds.ts, line 91

    return await fetch(url, {

    src/realtime.ts, line 90

    const res = await fetch(this.url, { signal: ac.signal, headers });

    src/realtime.ts, line 180

    const res = await fetch(url, { signal: ac.signal, headers: { "user-agent": config.userAgent } });

    src/warnings.ts, line 118

    const res = await fetch(`${ULDK}?request=GetCountyByXY&xy=${lon},${lat},4326&result=teryt,county,voivodeship`, {

    src/warnings.ts, line 151

    const res = await fetch(url, { signal: ac.signal, headers: { "user-agent": config.userAgent, accept: "application/json" } });

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_UNCONFIRMED

    src/disruptions.ts, line 39

    private key = process.env.ROZKLAD_PLK_API_KEY ?? "";

    .gitignore, line 5

    *.log

  • 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

    data/fares/pkpic.json, line 1

    {"carrier":"PKP Intercity","agency_id":"IC","source":"https://www.intercity.pl/pl/dokumenty/Przepisy%20i%20taryfy/Cennik_uslug_przewozowych_PKP_Intercity_tekst_ujednolicony_obowiaz

  • 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 1794338f1553. requests shell access. The manifest names this permission. runs a script at install time. 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:

View source

github.com

Commit graded: 1794338f155377666590d204ab751f9c4bb396cd

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