Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Narsil Mcp

The blazing-fast, privacy-first MCP server for deep code intelligence

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

INSTALL_REMOTE_SCRIPT SECRETS_PATH_CREDENTIAL

Why this grade

  • INSTALL_REMOTE_SCRIPT Medium

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

    install.sh, line 6 # Usage: curl -fsSL https://raw.githubusercontent.com/postrv/narsil-mcp/main/install.sh | bash

  • SECRETS_PATH_CREDENTIAL Medium

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

    scripts/test-npm-package.mjs, line 17 for (const name of ["user.npmrc", "global.npmrc"]) writeFileSync(join(root, name), "");

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

    npm/install.js, line 100

    fs.unlinkSync(tarPath);

    npm/install.js, line 118

    fs.unlinkSync(zipPath);

    scripts/recover-release-1.7.2.py, line 69

    return subprocess.run(args, check=True, timeout=kwargs.pop("timeout", 180), **kwargs)

    Show more

    src/taint/analyzer.rs, line 953

    os.system(user_input)

    src/taint/patterns.rs, line 717

    "subprocess.call".to_string(),

    src/taint/patterns.rs, line 718

    "subprocess.run".to_string(),

    src/taint/patterns.rs, line 719

    "subprocess.Popen".to_string(),

    src/taint/patterns.rs, line 854

    "shell_exec(".to_string(),

    src/taint/patterns.rs, line 856

    "passthru(".to_string(),

    src/taint/patterns.rs, line 858

    "proc_open(".to_string(),

  • Install and update

    Serious

    install fetches a script from the network. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell.

    INSTALL_REMOTE_SCRIPT INSTALL_DOCUMENTED_INSTALLER

    README.md, line 132

    curl -fsSL https://raw.githubusercontent.com/postrv/narsil-mcp/main/install.sh | bash

    README.md, line 142

    curl -fsSL https://raw.githubusercontent.com/postrv/narsil-mcp/main/install.sh | bash

    install.sh, line 6

    # Usage: curl -fsSL https://raw.githubusercontent.com/postrv/narsil-mcp/main/install.sh | bash

    Show more

    install.sh, line 159

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

    setup.sh, line 10

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

    docs/INSTALL.md, line 29

    curl -fsSL https://raw.githubusercontent.com/postrv/narsil-mcp/main/install.sh | bash

    npm/README.md, line 60

    curl -fsSL https://raw.githubusercontent.com/postrv/narsil-mcp/main/install.sh | bash

    npm/install.js, line 173

    console.error(" 1. Shell installer: curl -fsSL https://raw.githubusercontent.com/postrv/narsil-mcp/main/install.sh | bash");

  • Network

    Concern

    can reach api.github.com. The description does not name that host. can reach a host that is not written as a fixed address. can reach static.crates.io. The description does not name that host. can reach registry.npmjs.org. The description does not name that host. can reach example.invalid. The description does not name that host. can reach api.example.com. The description does not name that host. can reach internal.api. The description does not name that host. can reach dl.example.com. The descr

    NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST NETWORK_NAMED_HOST

    install.sh, line 75

    curl -fsSL "https://api.github.com/repos/${REPO}/releases/latest" 2>/dev/null | \

    install.sh, line 95

    if ! curl -fsSL "$download_url" -o "$tmpdir/${artifact_name}" 2>/dev/null; then

    install.sh, line 107

    if ! curl -fsSL "$download_url" -o "$tmpdir/narsil-mcp.tar.gz" 2>/dev/null; then

    Show more

    frontend/src/api/client.ts, line 28

    const response = await fetch(`${this.baseUrl}/health`);

    frontend/src/api/client.ts, line 39

    const response = await fetch(`${this.baseUrl}/tools`);

    frontend/src/api/client.ts, line 51

    const response = await fetch(`${this.baseUrl}/tools/call`, {

    frontend/src/api/client.ts, line 87

    const response = await fetch(`${this.baseUrl}/graph?${params.toString()}`);

    npm/install.js, line 63

    const request = https.get(url, { headers: { "User-Agent": "narsil-mcp-npm" } }, (response) => {

    scripts/recover-release-1.7.2.py, line 142

    metadata = json.loads(fetch(f"https://crates.io/api/v1/crates/narsil-mcp/{VERSION}"))["version"]

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_CREDENTIAL SECRETS_PATH_DOTENV

    scripts/test-npm-package.mjs, line 17

    for (const name of ["user.npmrc", "global.npmrc"]) writeFileSync(join(root, name), "");

    scripts/test-npm-package.mjs, line 18

    const config = ["--cache", join(root, "cache"), "--userconfig", join(root, "user.npmrc"),

    scripts/test-npm-package.mjs, line 19

    "--globalconfig", join(root, "global.npmrc"), "--no-audit", "--no-fund"];

    Show more

    src/security_config.rs, line 167

    ".env",

    src/security_config.rs, line 175

    "id_rsa",

    src/security_config.rs, line 179

    ".npmrc",

    src/security_config.rs, line 181

    ".netrc",

    src/security_config.rs, line 252

    assert!(is_sensitive_file(".env"));

    src/security_rules.rs, line 2200

    DATABASE_PASSWORD = os.environ.get("DATABASE_PASSWORD")"#

  • 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

    src/index.rs, line 1

    //! Code Intelligence Engine - main indexing and query implementation

  • 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 e342861c3f09. can delete files. install fetches a script from the network. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell. can reach api.github.com. The description does not name that host. can reach a host that is not written as a fixed address. can reach static.crates.io. The description does not name that host. can reach registry.npmjs.org. The description does not name that host. can reach example.invalid. The description does not name that host. can reach api.example.com. The description does not name that host. can reach internal.api. The description does not name

Date and source

Date checked:

View source

github.com

Commit graded: e342861c3f09e600e77abca8c4141c08e31f9a6f

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