Claude Code, Skill
dif
Skills for authoring, validating and concluding feature flags and A/B tests kept as Markdown files with the dif CLI.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 72faace26571, unchanged since the check below.
PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV INSTALL_DOCUMENTED_INSTALLER SECRETS_ENV_READ
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
cli/packages/cli/install.js, line 131
try { fs.unlinkSync(destPath); } catch { /* best-effort */ } - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
cli/crates/dif-cli/assets/claude/skills/dif-conclude-experiment/references/cloud-api.md, line 65
curl --fail-with-body -sS -H "Authorization: Bearer $DIF_TOKEN" "$DIF_CLOUD_URL/v1/projects?repo=$REPO" - SECRETS_PATH_DOTENV Low
Mentions a .env file.
.gitignore, line 1
.env - INSTALL_DOCUMENTED_INSTALLER Note
Documentation shows an installer that pipes a download into a shell.
README.md, line 58
curl -fsSL https://dif.sh/install.sh | sh - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
cli/packages/sdk/src/server.ts, line 4
// const dif = new DifServer({ apiKey: process.env.DIF_KEY });
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
cli/packages/cli/install.js, line 131
try { fs.unlinkSync(destPath); } catch { /* best-effort */ }
cli/packages/cli/install.js, line 171
try { fs.unlinkSync(sumPath); } catch { /* best-effort */ }
cli/packages/cli/install.js, line 261
fs.unlinkSync(found);
Show more
cli/packages/cli/install.js, line 267
try { fs.unlinkSync(tmp); } catch (_) { /* best-effort */ }
cli/packages/cli/install.js, line 268
try { fs.rmSync(staging, { recursive: true, force: true }); } catch (_) { /* best-effort */ }
Install and update
Note
README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell.
INSTALL_DOCUMENTED_INSTALLER
README.md, line 58
curl -fsSL https://dif.sh/install.sh | sh
cli/packages/cli/README.md, line 20
curl -fsSL https://dif.sh/install.sh | sh
skills/dif-docs/SKILL.md, line 13
npm install -D @dif.sh/cli # or: curl -fsSL https://dif.sh/install.sh | sh
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
cli/crates/dif-cli/assets/claude/skills/dif-conclude-experiment/references/cloud-api.md, line 65
curl --fail-with-body -sS -H "Authorization: Bearer $DIF_TOKEN" "$DIF_CLOUD_URL/v1/projects?repo=$REPO"
cli/crates/dif-cli/assets/claude/skills/dif-conclude-experiment/references/cloud-api.md, line 66
curl --fail-with-body -sS -H "Authorization: Bearer $DIF_TOKEN" "$DIF_CLOUD_URL/v1/projects/<slug>/overview"
cli/crates/dif-cli/assets/claude/skills/dif-conclude-experiment/references/cloud-api.md, line 67
curl --fail-with-body -sS -H "Authorization: Bearer $DIF_TOKEN" "$DIF_CLOUD_URL/v1/projects/<slug>/experiments/<id>/results"
Show more
cli/crates/dif-cli/assets/claude/skills/dif-conclude-experiment/references/cloud-api.md, line 68
curl --fail-with-body -sS -H "Authorization: Bearer $DIF_TOKEN" "$DIF_CLOUD_URL/v1/projects/<slug>/learnings?surface=<surface>&limit=20"
cli/crates/dif-cli/assets/claude/skills/dif-triage-experiments/references/cloud-api.md, line 65
curl --fail-with-body -sS -H "Authorization: Bearer $DIF_TOKEN" "$DIF_CLOUD_URL/v1/projects?repo=$REPO"
cli/crates/dif-cli/assets/claude/skills/dif-triage-experiments/references/cloud-api.md, line 66
curl --fail-with-body -sS -H "Authorization: Bearer $DIF_TOKEN" "$DIF_CLOUD_URL/v1/projects/<slug>/overview"
cli/crates/dif-cli/assets/claude/skills/dif-triage-experiments/references/cloud-api.md, line 67
curl --fail-with-body -sS -H "Authorization: Bearer $DIF_TOKEN" "$DIF_CLOUD_URL/v1/projects/<slug>/experiments/<id>/results"
cli/crates/dif-cli/assets/claude/skills/dif-triage-experiments/references/cloud-api.md, line 68
curl --fail-with-body -sS -H "Authorization: Bearer $DIF_TOKEN" "$DIF_CLOUD_URL/v1/projects/<slug>/learnings?surface=<surface>&limit=20"
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
cli/packages/sdk/src/server.ts, line 4
// const dif = new DifServer({ apiKey: process.env.DIF_KEY });
.gitignore, line 1
.env
cli/crates/dif-cli/assets/claude/skills/dif-conclude-experiment/references/cloud-api.md, line 91
- Do not write the token into `.env`, `.mcp.json` or any other file.
Show more
cli/crates/dif-cli/assets/claude/skills/dif-triage-experiments/references/cloud-api.md, line 91
- Do not write the token into `.env`, `.mcp.json` or any other file.
skills/dif-conclude-experiment/references/cloud-api.md, line 91
- Do not write the token into `.env`, `.mcp.json` or any other file.
skills/dif-triage-experiments/references/cloud-api.md, line 91
- Do not write the token into `.env`, `.mcp.json` or any other file.
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 72faace26571. can delete files. 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 a host that is not written as a fixed address. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: 72faace26571806ab3528f9857f8a6c6e8506b28
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.