Grades are a hygiene check, not a security guarantee.

Claude Code, Plugin

trailhead

Chart a project from a loose idea, then navigate it ticket by ticket on GitHub Issues.

Compatibility: Not stated.

Grade B

Minor issues only, no Medium or High. Worth a quick look at the findings below 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 dd83789e4464.

PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV OBFUSCATION_FILE_OVER_READ_CAP

Why this grade

  • PERMISSION_DELETE_FILES Low

    Contains a call that can delete files.

    bin/trailhead.js, line 134 const rmrf = (p) => fs.rmSync(p, { recursive: true, force: true });

  • NETWORK_NO_FIXED_HOST Low

    Makes a network call whose host is not written as a fixed address.

    plugins/trailhead/hooks/trailhead-secret-guard.js, line 30 // - a body file produced by an unrecognised writer (curl -o, a script, ...) in the

  • SECRETS_PATH_DOTENV Low

    Mentions a .env file.

    plugins/trailhead/hooks/trailhead-secret-read-guard.js, line 3 // Restores the `.env`/`.secrets` read protection that three `Read()` deny

  • OBFUSCATION_FILE_OVER_READ_CAP Note

    A file was over the read cap and was not fully read.

    site/package-lock.json, line 1 {

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

    Concern

    can delete files.

    PERMISSION_DELETE_FILES

    bin/trailhead.js, line 134

    const rmrf = (p) => fs.rmSync(p, { recursive: true, force: true });

    bin/trailhead.test.js, line 1536

    const noAgentsPkg = brokenPkg((p) => fs.rmSync(path.join(p, 'plugins', 'trailhead', 'agents'), { recursive: true, force: true }));

    bin/trailhead.test.js, line 1549

    const pkg = brokenPkg((p) => fs.rmSync(path.join(p, 'plugins', 'trailhead', 'skills', 'trailhead-view', 'SKILL.md'), { force: true }));

    Show more

    bin/trailhead.test.js, line 1557

    const pkg = brokenPkg((p) => fs.rmSync(path.join(p, 'plugins', 'trailhead', 'skills', '_shared', 'substrate.md'), { force: true }));

    bin/trailhead.test.js, line 1564

    const missingBodyGuardPkg = brokenPkg((p) => fs.rmSync(path.join(p, 'plugins', 'trailhead', 'hooks', 'trailhead-body-guard.js'), { force: true }));

    bin/trailhead.test.js, line 2184

    fs.rmSync(d, { recursive: true, force: true });

    bin/lib/install-verify.test.js, line 145

    fs.rmSync(path.join(configDir, 'hooks', 'trailhead-body-guard.js'));

    bin/lib/install-verify.test.js, line 151

    fs.rmSync(path.join(configDir, 'hooks', 'trailhead-body-guard.js'));

  • 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

    plugins/trailhead/hooks/trailhead-secret-guard.js, line 30

    // - a body file produced by an unrecognised writer (curl -o, a script, ...) in the

    plugins/trailhead/hooks/trailhead-secret-guard.test.js, line 355

    ok('an unknown producer piped to gh -F - blocks as unresolved', unres(runHook(`curl -s http://x/y | ${G} -F -`)));

    plugins/trailhead/hooks/trailhead-secret-guard.test.js, line 434

    code(runHook(`curl -so ${N} http://x/y; ${G}`), 'SECRET_GUARD_UNREADABLE_BODY_FILE'));

    Show more

    plugins/trailhead/templates/statusline-trailhead.sh, line 321

    r = json.load(urllib.request.urlopen(req, timeout=timeout))

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_PATH_DOTENV

    plugins/trailhead/hooks/trailhead-secret-read-guard.js, line 3

    // Restores the `.env`/`.secrets` read protection that three `Read()` deny

    plugins/trailhead/hooks/trailhead-secret-read-guard.js, line 15

    // operand, an option value (`--file=.env`, `-f .env`, glued `-f.env`),

    plugins/trailhead/hooks/trailhead-secret-read-guard.js, line 17

    // A "secret pattern" is a basename that is exactly `.env`, exactly

    Show more

    plugins/trailhead/hooks/trailhead-secret-read-guard.js, line 18

    // `.secrets`, or matches `.env.<anything>` (e.g. `.env.local`,

    plugins/trailhead/hooks/trailhead-secret-read-guard.js, line 19

    // `.env.production`), matched CASE-INSENSITIVELY (`.ENV`/`.SECRETS` are the

    plugins/trailhead/hooks/trailhead-secret-read-guard.js, line 20

    // same file on macOS/Windows). Matched on basename, so `app/.env` and

  • 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

    site/package-lock.json, line 1

    {

  • 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 dd83789e4464. can delete files. 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: dd83789e44648b047b6793e1de15ade6cb55ccb0

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