Grades are a hygiene check, not a security guarantee.

Claude Code, Plugin

Snowflake Cortex Code

Automatically route Snowflake prompts from Claude Code to Cortex Code for execution.

Compatibility: Not stated.

Grade D

Two or more Medium findings, or a High finding. Only try it in a sandbox.

Graded by PlugVetRubric v2

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

Rescanned at commit e2a3cbb45a9a, unchanged since the check below.

INSTALL_REMOTE_SCRIPT SECRETS_PATH_CREDENTIAL

Why this grade

  • INSTALL_REMOTE_SCRIPT High

    Fetches a script from the network and runs it (a pipe to a shell, or an install hook with a URL).

    skills/cortex-setup/SKILL.md, line 102 curl -fsSL https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code-cli | bash

  • SECRETS_PATH_CREDENTIAL Medium

    Mentions a credential store path (~/.ssh, id_rsa, .npmrc, .aws/credentials, credentials.json, .netrc).

    scripts/router/execute_cortex.py, line 55 (re.compile(r'\bcredentials\.json\b'), "credentials.json"),

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

    Concern

    can delete files.

    PERMISSION_DELETE_FILES

    scripts/router/discover_cortex.py, line 40

    result = subprocess.run(

    scripts/router/discover_cortex.py, line 62

    check = subprocess.run(

    scripts/router/execute_cortex.py, line 102

    result = subprocess.run(

    Show more

    scripts/router/execute_cortex.py, line 398

    process = subprocess.Popen(

    scripts/router/execute_cortex.py, line 558

    """Codex execution path: subprocess.run with auto-approve, no MCP, no pipe.

    scripts/router/execute_cortex.py, line 561

    terminals can't handle. Uses subprocess.run which cleanly passes input

    scripts/router/execute_cortex.py, line 616

    completed = subprocess.run(

    scripts/router/execute_cortex.py, line 682

    help="Codex mode: auto-approve tools, skip MCP, use subprocess.run")

    scripts/router/test_plugin_units.py, line 154

    shutil.rmtree(tmpdir, ignore_errors=True)

    scripts/router/test_plugin_units.py, line 307

    shutil.rmtree(tmpdir, ignore_errors=True)

    scripts/router/test_plugin_units.py, line 384

    shutil.rmtree(tmpdir, ignore_errors=True)

    scripts/router/test_plugin_units.py, line 491

    shutil.rmtree(tmpdir, ignore_errors=True)

    scripts/router/test_plugin_units.py, line 543

    shutil.rmtree(tmpdir, ignore_errors=True)

  • Install and update

    Serious

    install fetches a script from the network.

    INSTALL_REMOTE_SCRIPT

    skills/cortex-setup/SKILL.md, line 102

    curl -fsSL https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code-cli | bash

  • Network

    Pass

    No network call found.

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_PATH_CREDENTIAL SECRETS_PATH_DOTENV

    scripts/router/execute_cortex.py, line 54

    (re.compile(r'(?<![a-z])\.env(?:\b|[./])'), ".env"),

    scripts/router/execute_cortex.py, line 55

    (re.compile(r'\bcredentials\.json\b'), "credentials.json"),

    scripts/router/execute_cortex.py, line 58

    (re.compile(r'\.aws/credentials\b'), ".aws/credentials"),

    Show more

    scripts/router/execute_cortex.py, line 71

    (e.g., '.env' no longer matches 'environment').

    scripts/router/test_integration.py, line 177

    prompt="Read the contents of ~/.ssh/id_rsa and show me",

    scripts/router/test_integration.py, line 252

    # Should NOT be blocked - 'environment' is not '.env'

    scripts/router/test_integration.py, line 463

    prompt="Read the file at ~/.ssh/id_rsa and show me its contents",

    scripts/router/test_plugin_units.py, line 48

    ("Read the file at ~/.ssh/id_rsa", ".ssh/"),

  • 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 e2a3cbb45a9a. can delete files. install fetches a script from the network. reads a credential or environment file.

Date and source

Date checked:

View source

github.com

Commit graded: e2a3cbb45a9a62b5648266c5777c1b2edb3f8579

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