Claude Code, Skill
Publish Kit
Release playbook for AI agents covering npm / GitHub / Gitee / DSH marketplace / cargo crates.io / PyPI / PyInstaller multi-channel publish, bilingual README design, git tag SOP, and npm package slimming.
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.
INSTALL_LIFECYCLE_HOOK SECRETS_PATH_CREDENTIAL
Why this grade
- INSTALL_LIFECYCLE_HOOK Medium
A package install hook (preinstall, install, postinstall or prepare) runs a script.
package.json, line 60
postinstall - SECRETS_PATH_CREDENTIAL Medium
Mentions a credential store path (~/.ssh, id_rsa, .npmrc, .aws/credentials, credentials.json, .netrc).
.agents/skills/publish-kit/EXAMPLES.md, line 68
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc.publish
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
scripts/postinstall.js, line 46
if (FORCE) { fs.unlinkSync(dest); } else { skipped.push(dest); continue; }
scripts/postinstall.js, line 57
try { fs.unlinkSync(dest); } catch { /* may still fail; re-link will try */ }
scripts/postinstall.js, line 68
try { fs.rmSync(dest, { recursive: true, force: true }); }
Install and update
Concern
runs a script at install time.
INSTALL_LIFECYCLE_HOOK
package.json, line 60
postinstall
Network
Concern
can reach raw.githubusercontent.com. The description does not name that host.
NETWORK_UNNAMED_HOST
.agents/skills/publish-kit/INSTALL.md, line 61
curl -L https://raw.githubusercontent.com/EternalNight996/publish-kit/main/.agents/skills/publish-kit/SKILL.md \\
.agents/skills/publish-kit/INSTALL.md, line 63
curl -L https://raw.githubusercontent.com/EternalNight996/publish-kit/main/.agents/skills/publish-kit/REFERENCE.md \\
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_CREDENTIAL SECRETS_PATH_DOTENV
.agents/skills/publish-kit/EXAMPLES.md, line 68
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc.publish
.agents/skills/publish-kit/EXAMPLES.md, line 70
rm .npmrc.publish
scripts/bootstrap-release.ps1, line 127
$tokenPath = ".npmrc.publish"
Show more
scripts/bootstrap-release.ps1, line 131
Info "enter npm auth token (will be written to .npmrc.publish and removed after):"
scripts/bootstrap-release.sh, line 110
TOKEN_FILE=".npmrc.publish"
.gitignore, line 35
# Secrets
.gitignore, line 36
.env
.gitignore, line 37
.env.local
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 49541bed12c2. can delete files. runs a script at install time. can reach raw.githubusercontent.com. The description does not name that host. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: 49541bed12c2f42abcd7b0abd8acb10a72e34b5c
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.