Claude Code, Skill
Ai Repo Safety Skill
Git-hook-backed secret and supply-chain gates for AI-coded repos.
Compatibility: Not stated.
Grade D
Two or more Medium findings, or a High. Only try it in a sandbox.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
PERMISSION_SHELL_UNDECLARED SECRETS_PATH_CREDENTIAL
Why this grade
- PERMISSION_SHELL_UNDECLARED Medium
Runs shell commands that the manifest or description does not mention.
scripts/local-github-checks.py, line 37
completed = subprocess.run(command, cwd=ROOT, env=env, check=False) # noqa: S603 - SECRETS_PATH_CREDENTIAL Medium
Mentions a credential store path (~/.ssh, id_rsa, .npmrc, .aws/credentials, credentials.json, .netrc).
src/ai_repo_safety/bootstrap.py, line 39
".env", ".env.*", "*.pem", "*.key", "*.p12", "*.pfx", "id_rsa", "id_ed25519",
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
requests shell access. No manifest field names shell or command execution.
PERMISSION_SHELL_UNDECLARED
scripts/local-github-checks.py, line 37
completed = subprocess.run(command, cwd=ROOT, env=env, check=False) # noqa: S603
src/ai_repo_safety/github_guard.py, line 34
re.compile(r"(?i)base64 -d|powershell.*iex|Invoke-Expression"),
src/ai_repo_safety/gitlab_guard.py, line 43
re.compile(r"(?i)base64 -d|powershell.*iex|Invoke-Expression"),
Show more
src/ai_repo_safety/sbom.py, line 60
proc = subprocess.run( # nosec
src/ai_repo_safety/scan_output.py, line 45
proc = subprocess.run(
src/ai_repo_safety/util.py, line 138
proc = subprocess.run( # nosec
src/ai_repo_safety/verify_release.py, line 250
proc = subprocess.run(args, cwd=cwd, capture_output=True, text=True, timeout=300) # nosec
src/ai_repo_safety/assets/scripts/agent_hook_runner.py, line 30
proc = subprocess.run( # nosec
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
src/ai_repo_safety/tools.py, line 330
with urllib.request.urlopen(download_url) as response: # nosec B310
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_CREDENTIAL SECRETS_PATH_DOTENV
scripts/smoke-wheel.sh, line 41
test -f .tmp-smoke/target/.repo-safety/templates/.env.example
src/ai_repo_safety/bootstrap.py, line 39
".env", ".env.*", "*.pem", "*.key", "*.p12", "*.pfx", "id_rsa", "id_ed25519",
src/ai_repo_safety/bootstrap.py, line 103
("templates/universal/env.example", ".repo-safety/templates/.env.example"),
Show more
src/ai_repo_safety/bootstrap.py, line 131
if copy_asset("templates/universal/env.example", root / ".env.example", overwrite=overwrite):
src/ai_repo_safety/bootstrap.py, line 132
actions.append("created .env.example")
src/ai_repo_safety/bootstrap.py, line 134
actions.append("kept existing .env.example")
src/ai_repo_safety/fast_scan.py, line 29
".env",
src/ai_repo_safety/fast_scan.py, line 30
".env.*",
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 5530bd29a9a8. requests shell access. No manifest field names shell or command execution. 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: 5530bd29a9a89acfb88b9b9b7703d972a33917e4
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.