security-review
Comprehensive security code review workflow for a target repository, producing a markdown report with findings and recommendations.
What this skill does
# Security Review
## When to use
- Use for a full codebase security review with prioritized findings,
remediation guidance, and a formal report.
## Inputs
- Target repository path (first argument after invocation).
- Example: `$security-review /path/to/repo`
- Security knowledge base source:
- Rules are sourced from [Project CodeGuard](https://github.com/cosai-oasis/project-codeguard),
an open-source, model-agnostic security framework by CoSAI/OASIS.
If the repo path is missing or unclear, ask the user for it before proceeding.
## Workflow
1. Load the security knowledge base from Project CodeGuard
- First read the `Security_Code_Reviewer_Guidelines.md` file bundled with
this skill. Use its purpose and rule-loading strategy to guide the review.
- Load all core security rules from Project CodeGuard:
```text
https://github.com/cosai-oasis/project-codeguard/tree/main/sources/rules/core
```
These are mandatory foundational rules that must be loaded for every review.
- Load relevant OWASP rules for the detected tech stack from:
```text
https://github.com/cosai-oasis/project-codeguard/tree/main/sources/rules/owasp
```
Only load OWASP rules that match the target repository's technology stack.
2. Perform deep code analysis
- Review the repository line by line.
- Focus on: injection flaws, authn/authz, hardcoded secrets, crypto misuse,
SSRF, path traversal, RCE vectors, XSS/CSRF, unsafe deserialization,
insecure defaults/configuration, and supply chain issues.
3. Produce the report in markdown.
## Report requirements
- Executive Summary
- Total findings by severity (Critical/High/Medium/Low/Info)
- Top 5 most critical issues
- Overall security posture
- Detailed Findings (for each issue)
- Title, Severity, Rule Reference(s), Location, Code Snippet
- Description, Impact, Remediation (with examples), References
- Findings by Category
- Recommendations
- Immediate actions, short-term (1-3 months), long-term improvements,
tooling/process suggestions
- Appendix
- Files reviewed, rules applied/coverage, methodology notes
## Output
- Save the report to:
- `./security_report/sec_review_<repo-name>_<YYYY-MM-DD_HH-mm-ss>.md`
- Use the target repo folder name for `<repo-name>` and replace spaces
with `-`.
- Write to the `security_report` folder in the current working directory.
Related in Security
mac-ops
IncludedComprehensive macOS workstation operations — diagnose kernel panics, identify failing drives, audit launchd startup items, decode wake reasons, triage TCC permission denials, manage APFS snapshots, recover from no-boot. Use for: Mac is slow, slow bootup, won't boot, kernel panic, kernel_task hot, mds_stores CPU, photoanalysisd, cloudd, login loop, gray screen, sleep wake failure, drive failing, IO errors, APFS snapshots eating space, Time Machine local snapshots, Spotlight indexing, launchd, LaunchAgent, LaunchDaemon, login items, TCC permissions, Full Disk Access, Screen Recording denied, Gatekeeper, quarantine, com.apple.quarantine, app is damaged, helper tool, /Library/PrivilegedHelperTools, pmset, wake reasons, dark wake, sysdiagnose, panic.ips, DiagnosticReports, configuration profile, MDM profile, remote diagnostics over SSH.
a11y-audit
IncludedRun accessibility audits on web projects combining automated scanning (axe-core, Lighthouse) with WCAG 2.1 AA compliance mapping, manual check guidance, and structured reporting. Output is configurable: markdown report only, markdown plus machine-readable JSON, or markdown plus issue tracker integration. Use this skill whenever the user mentions "accessibility audit", "a11y audit", "WCAG audit", "accessibility check", "compliance scan", or asks to check a web project for accessibility issues. Also trigger when the user wants to verify WCAG conformance or map findings to a specific standard (CAN-ASC-6.2, EN 301 549, ADA/AODA).
erpclaw
IncludedAI-native ERP system with self-extending OS. Full accounting, invoicing, inventory, purchasing, tax, billing, HR, payroll, advanced accounting (ASC 606/842, intercompany, consolidation), and financial reporting. 413 actions across 14 domains, 43 expansion modules. Constitutional guardrails, adversarial audit, schema migration. Double-entry GL, immutable audit trail, US GAAP.
assess
IncludedAssesses and rates quality 0-10 across multiple dimensions (correctness, maintainability, security, performance, testability, simplicity) with pros/cons analysis. Compares against project conventions and prior decisions from memory. Produces structured evaluation reports with actionable improvement suggestions. Use when evaluating code, designs, architectures, or comparing alternative approaches.
spring-boot-security-jwt
IncludedProvides JWT authentication and authorization patterns for Spring Boot 3.5.x covering token generation with JJWT, Bearer/cookie authentication, database/OAuth2 integration, and RBAC/permission-based access control using Spring Security 6.x. Use when implementing authentication or authorization in Spring Boot applications.
code-hardcode-audit
IncludedDetect hardcoded values, magic numbers, and leaked secrets. TRIGGERS - hardcode audit, magic numbers, PLR2004, secret scanning.