Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Trading212 Mcp

Connect Node.js applications and AI assistants to the Trading 212 public API.

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 23 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

    Pass

    No shell or command execution found, and no extra permission was declared.

  • Install and update

    Concern

    runs a script at install time.

    INSTALL_LIFECYCLE_HOOK

    package.json, line 23

    prepare

  • Network

    Concern

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

    NETWORK_NO_FIXED_HOST

    packages/client/src/transport.ts, line 175

    const response = await this.#fetch(request);

    scripts/update-spec.mjs, line 3

    const response = await fetch("https://docs.trading212.com/_bundle/api.json", {

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    scripts/publish.mjs, line 16

    !process.env.ACTIONS_ID_TOKEN_REQUEST_URL

    scripts/smoke.mjs, line 72

    ...env,

    .gitignore, line 4

    *.tgz

    Show more

    .gitignore, line 5

    .env

    .gitignore, line 7

    !.env.example

    packages/client/README.md, line 12

    Generate an API key and secret in Trading 212 for the environment you intend to use. Supply `T212_API_KEY` and `T212_API_SECRET` through your shell or secret manager; the library d

    packages/mcp/README.md, line 35

    Choose one credential source; combining file and key/secret variables is rejected. `.env` files are not loaded automatically. Credentials belong in host configuration, never tool a

  • 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 (LICENCE).

  • Maintainer activity

    Pass

    The latest commit is within the last 365 days.

Note

Hygiene check of commit 4c222d6a60d4. runs a script at install time. 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: 4c222d6a60d4139af1d48831439d3f5b58bad3fb

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