with one click
audit
Security audit with fix recommendations for JS/TS projects
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Security audit with fix recommendations for JS/TS projects
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| 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