Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Python Code Validator

Proves AI-generated Python does what you asked: lint, types, security, sandbox run, exact fixes.

Compatibility: Not stated.

Grade C

One Medium finding. Read the findings 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 6cff782531f0, unchanged since the check below.

OBFUSCATION_RUNS_ENCODED_PAYLOAD

Why this grade

  • OBFUSCATION_RUNS_ENCODED_PAYLOAD Medium

    Decodes and runs an encoded payload (for example eval with atob or base64).

    examples/secure-python/loader.py, line 19 return builtins.eval(base64.b64decode(encoded).decode())

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.

If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.

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

    validate.py, line 139

    merge_base = subprocess.run(

    validate.py, line 146

    diff = subprocess.run(

  • 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

    AGENTS.md, line 52

    curl -sf https://api.statemind.ai/v1/client -o validate.py

    mcp_stdio.py, line 282

    with urllib.request.urlopen(request, timeout=timeout_s) as answer:

    validate.py, line 79

    with urllib.request.urlopen(request, timeout=TIMEOUT_S) as response:

    Show more

    validate.py, line 210

    with urllib.request.urlopen(request, timeout=TIMEOUT_S) as response:

    examples/check.py, line 31

    with urllib.request.urlopen(request, timeout=120) as answer: # noqa: S310

    plugin/hooks/validate_written.py, line 53

    with urllib.request.urlopen(request, timeout=TIMEOUT_S) as response:

    plugin/skills/validate-python/SKILL.md, line 25

    curl -sf https://api.statemind.ai/v1/client -o /tmp/validate.py

    plugin/skills/validate-python/SKILL.md, line 34

    curl -s -X POST https://api.statemind.ai/v1/keys

  • Secrets

    Note

    reads an environment variable.

    SECRETS_ENV_READ

    mcp_stdio.py, line 306

    self._key = os.environ.get("VALIDATOR_API_KEY") or None

    validate.py, line 118

    store = os.environ.get("VALIDATOR_KEY_FILE", "")

    validate.py, line 250

    token = os.environ.get("GITHUB_TOKEN", "")

    Show more

    validate.py, line 306

    key = os.environ.get("VALIDATOR_API_KEY") or cached_key(base_url)

    validate.py, line 314

    if exc.status not in {401, 403} or os.environ.get("VALIDATOR_API_KEY"):

    validate.py, line 316

    store = Path(os.environ.get("VALIDATOR_KEY_FILE", "") or ".").expanduser()

    examples/check.py, line 41

    configured = os.environ.get("VALIDATOR_API_KEY")

    plugin/hooks/validate_written.py, line 71

    if os.environ.get("VALIDATOR_API_KEY"):

  • Agent instructions

    Pass

    No instruction to ignore earlier instructions or to hide a step.

  • Obfuscation

    Serious

    runs an encoded payload.

    OBFUSCATION_RUNS_ENCODED_PAYLOAD

    examples/secure-python/loader.py, line 19

    return builtins.eval(base64.b64decode(encoded).decode())

  • 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 6cff782531f0. requests shell access. The manifest names this permission. can reach a host that is not written as a fixed address. reads an environment variable. runs an encoded payload.

Date and source

Date checked:

View source

github.com

Commit graded: 6cff782531f0e220c75a90c7eb2fccddf74056a4

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