Grades are a hygiene check, not a security guarantee.

Claude Code, Skill

secretgate

Local secrets firewall for coding agents. Detects credentials in prompts, file reads and tool output before they are sent to the LLM API, redacts them to stable placeholders, and restores the real values locally when the agent writes them back.

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.

SECRETS_PATH_CREDENTIAL

Why this grade

  • SECRETS_PATH_CREDENTIAL Medium

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

    src/cli.ts, line 858 const denied = runHook("pre-tool-use", { hook_event_name: "PreToolUse", cwd: tmpHome, tool_name: "Read", tool_input: { file_path: "~/.ssh/id_rsa" } });

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

    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

    scripts/sync-rules.mjs, line 13

    const res = await fetch(url, { headers: { "user-agent": "secretgate-sync-rules" } });

    scripts/sync-rules.mjs, line 21

    const res = await fetch(rawUrl);

    src/shell-paths.ts, line 1378

    // Uploaders take files as `@file` / `name=@file` (`curl -d @.env`).

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_CREDENTIAL SECRETS_PATH_DOTENV

    src/cli.ts, line 858

    const denied = runHook("pre-tool-use", { hook_event_name: "PreToolUse", cwd: tmpHome, tool_name: "Read", tool_input: { file_path: "~/.ssh/id_rsa" } });

    src/cli.ts, line 860

    io.stdout(" ✓ reading a sensitive path (~/.ssh/id_rsa) is denied\n");

    src/cli.ts, line 926

    tool_input: { command: "cat ~/.ssh/id_rsa" },

    Show more

    src/cli.ts, line 931

    io.stdout(" ✓ codex: a shell command reading a sensitive path (~/.ssh/id_rsa) is denied\n");

    src/disable.ts, line 172

    const raw = (process.env.SECRETGATE_DISABLE ?? "").trim().toLowerCase();

    src/paths.ts, line 43

    "**/.env",

    src/paths.ts, line 44

    "**/.env.*",

    src/paths.ts, line 47

    "**/id_rsa*",

    src/paths.ts, line 53

    "**/.npmrc",

    src/vault/vault.ts, line 40

    return process.env.SECRETGATE_HOME ?? join(homedir(), ".secretgate");

  • 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

    scripts/secretgate-opencode.mjs, line 1

    #!/usr/bin/env node

    scripts/secretgate.mjs, line 1

    #!/usr/bin/env node

    skills/secretgate/scripts/secretgate-opencode.mjs, line 1

    #!/usr/bin/env node

    Show more

    skills/secretgate/scripts/secretgate.mjs, line 1

    #!/usr/bin/env node

  • 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 ab9c9a3c4659. 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: ab9c9a3c4659e20a95eb564b4b29eaa57fcff288

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