Loading...
Loading...
Analyzes code, CI/CD workflows, and container config for security vulnerabilities and compliance risks, producing fitness scores (1-10) across input validation, authentication/authorization, data protection, dependency security, error handling/logging, and cryptography. Use when the user says "security review", "check vulnerabilities", "audit security", "security issues", /review:review-security, asks to audit GitHub Actions workflows or a Dockerfile for security, or wants security fitness scores before shipping. Only reports findings with confidence >= 7/10.
npx skill4agent add jeffabailey/skills review-securityreferences/rubric.mdreferences/checklist.mdreferences/wisdom.mdgrep -n '^##' references/wisdom.mdsecurity.confidenceThresholdfitness-config.jsonpython3 "${CLAUDE_SKILL_DIR}/../../scripts/fitness-config.py" show --path <target>${CLAUDE_SKILL_DIR}scripts/SKILL.mdeffective.security.confidenceThreshold<!-- BEGIN_EFFECTIVE_CONFIG_JSON --><!-- END_EFFECTIVE_CONFIG_JSON -->Config:Effective weights:references/rubric.mdreferences/checklist.md.github/workflows/Dockerfile*docker-compose*.ymlpermissions:uses:N/A — <reason>command -vgitleaks detect --no-banner --redact -s <target>--redactpip-audit -r requirements.txtnpm audit --omit=devosv-scanner -r <target>zizmor <target>/.github/workflowsactionlint${{ github.event.* }}github.head_refrun:github-scriptpull_request_targetpermissions:uses:persist-credentials: falseUSERENVCMD:latestinputs.*github.shaapi_key|secret|token|password|BEGIN .*PRIVATE KEYreferences/rubric.mdsk-...AKIA...<redacted>git filter-reporeferences/rubric.mdreferences/rubric.mdreferences/checklist.mdpull_request_targetdocs/security-review.mddocs/security-review-<scope-slug>.mddocs/security-review-github.md.github/# Security Fitness Review
**Target:** <path(s) or scope reviewed>
Config: <copied from resolver output>
Effective weights: <copied from resolver output>
**Scanners:** <tools run, or "none installed; manual review">
## Direct Answer
(Only if the user asked a specific question, e.g. "is this workflow safe to merge?": answer it in 1-3 sentences, citing the finding numbers.)
## Summary
Overall fitness score: X.X / 10 (mean of <list of scored dimensions>; capped at 4.0 due to CRITICAL finding N, if applicable)
Status: Healthy / Needs Attention / Critical
| Dimension | Score | Key Finding |
|-----------|-------|-------------|
| Input Validation | X/10 | ... |
| Authentication/Authorization | X/10 | ... |
| Data Protection | X/10 or N/A — reason | ... |
| Dependency Security | X/10 | ... |
| Error Handling/Logging | X/10 | ... |
| Cryptography | X/10 or N/A — reason | ... |
## Detailed Findings
### Finding 1: [Title]
- **Severity:** CRITICAL / HIGH / MEDIUM / LOW
- **Confidence:** X/10
- **Dimension:** [which scoring dimension]
- **Location:** file:line
- **Description:** What the vulnerability is and why it matters.
- **Evidence:** The code pattern found, with any secret value replaced by `<redacted>`.
- **Exploit scenario:** How an attacker could exploit this in practice.
- **Remediation:** Concrete fix with code example or specific steps (for secrets: rotate first).
(repeat for each finding, ordered by severity)
### Input Validation (X/10)
- Evidence: file:line references (for an absence, cite where it should be, e.g. `.github/workflows/ (none)`)
- Issues found
- Recommendations
(repeat for each scored dimension; one line for each N/A dimension)
## Action Items (up to 5, by impact)
1. [CRITICAL/HIGH/MEDIUM] Description -- file:line
2. ...
## Reference
Based on [Fundamentals of Software Security](https://jeffbailey.us/blog/2025/12/02/fundamentals-of-software-security/), [Fundamentals of Privacy and Compliance](https://jeffbailey.us/blog/2025/12/19/fundamentals-of-privacy-and-compliance/), and guidance from https://jeffbailey.us/categories/fundamentals/