con un clic
audit
Security audit with fix recommendations for JS/TS projects
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Security audit with fix recommendations for JS/TS projects
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
| name | audit |
| version | 0.4.0 |
| description | Security audit with fix recommendations for JS/TS projects |
| allowed-tools | Bash, Read, Grep, Glob, Edit |
Security audit with intelligent fix recommendations for JavaScript/TypeScript projects.
This skill helps you:
IMPORTANT: Always follow these defaults unless the user explicitly requests otherwise:
Work in a branch - Never commit directly to main. Create a feature branch:
git checkout -b security/fix-vulnerabilities
Create a PR - After committing fixes, create a pull request:
gh pr create --title "fix: resolve security vulnerabilities" --body "## Summary
- Fixed X vulnerabilities (Y critical, Z high)
## Vulnerabilities Fixed
[list vulnerabilities]
## Testing
- All tests passing
- Audit re-run shows resolved issues"
No attribution - Do NOT include any of these in commits or PRs:
Co-Authored-By: Claude or any Claude attribution🤖 Generated with Claude Code or similar footersupkeep binary must be installed and available on your PATH. Install it with:
brew install llbbl/tap/upkeep
(or download a binary from the GitHub releases).upkeep command, verify it is on PATH and stop with a clear message if not:
command -v upkeep >/dev/null 2>&1 || {
echo "upkeep not found on PATH — install it with: brew install llbbl/tap/upkeep" >&2
exit 1
}
upkeep audit --json
This returns vulnerabilities with:
Group and present vulnerabilities in order:
For each vulnerability, explain:
For each fixable vulnerability:
upkeep risk <package> --from <current> --to <fix-version> --json
This helps understand:
For direct dependencies:
<pm> update <package>
# or for specific version:
<pm> install <package>@<fix-version>
For transitive dependencies: The fix often requires updating a parent dependency. Check which direct dependency pulls in the vulnerable package and update that instead.
Use upkeep imports <parent-package> to understand the impact.
upkeep audit --json<pm> testSome vulnerabilities may not have fixes yet. Options:
User: "Check my project for security issues"
upkeep detect --json to understand the projectupkeep audit --json to scan for vulnerabilities| Severity | Direct Dep | Transitive Dep |
|---|---|---|
| Critical | Fix immediately | Fix immediately |
| High | Fix soon | Assess risk, fix if low risk |
| Moderate | Schedule fix | Fix if easy, otherwise accept |
| Low | Optional | Usually accept |
| Command | Purpose |
|---|---|
upkeep audit | Run security audit |
upkeep detect | Detect package manager |
upkeep risk <pkg> | Assess upgrade risk |
upkeep imports <pkg> | Find package usage |
upkeep deps | List all outdated packages |
Lower priority since it doesn't affect production. Still fix if:
npm-force-resolutions or similarupkeep risk