Code Review Excellence Skill Security Audit
What the author says it does (original text)
Master effective code review practices to provide constructive feedback, catch bugs early, and foster knowledge sharing while maintaining team morale. Use when reviewing pull requests, establishing review standards, or mentoring developers.
No obvious risks found in this check
- Files checked
- 1
- Risks found
- 0
Inside this skill
This Skill is a code-review methodology guide for reviewing changes, establishing team standards, and mentoring developers; its stated goals include finding bugs, improving maintainability, sharing knowledge, and enforcing coding standards.
View source
- Reviewing pull requests and code changes- Establishing code review standards for teams- Mentoring junior developers through reviews- Conducting architecture reviews- Creating review checklists and guidelines- Improving team collaboration- Catch bugs and edge cases- Ensure code maintainability- Share knowledge across team- Enforce coding standards- Improve design and architecture- Build team cultureIts workflow calls for reading the PR description, linked issue, CI status, and business requirement, followed by architecture, testing, line-level logic, security, performance, and maintainability checks, then an approve, comment, or request-changes decision.
View source
1. Read PR description and linked issue2. Check PR size (>400 lines? Ask to split)3. Review CI/CD status (tests passing?)4. Understand the business requirement5. Note any relevant architectural decisions```1. **Logic & Correctness** - Edge cases handled? - Off-by-one errors? - Null/undefined checks? - Race conditions?2. **Security** - Input validation? - SQL injection risks? - XSS vulnerabilities? - Sensitive data exposure?3. **Performance** - N+1 queries? - Unnecessary loops? - Memory leaks? - Blocking operations?```markdown1. Summarize key concerns2. Highlight what you liked3. Make clear decision: - ✅ Approve - 💬 Comment (minor suggestions) - 🔄 Request Changes (must address)4. Offer to pair if complex```The Skill provides a security-review checklist covering authentication and authorization, secret protection, input and upload restrictions, SQL injection, XSS, sensitive-data protection, dynamic execution, CSRF, and rate limiting.
View source
### Authentication & Authorization- [ ] Is authentication required where needed?- [ ] Are authorization checks before every action?- [ ] Is JWT validation proper (signature, expiry)?- [ ] Are API keys/secrets properly secured?### Input Validation- [ ] All user inputs validated?- [ ] File uploads restricted (size, type)?- [ ] SQL queries parameterized?- [ ] XSS protection (escape output)?### Data Protection- [ ] Passwords hashed (bcrypt/argon2)?- [ ] Sensitive data encrypted at rest?- [ ] HTTPS enforced for sensitive data?- [ ] PII handled according to regulations?### Common Vulnerabilities- [ ] No eval() or similar dynamic execution?- [ ] No hardcoded secrets?- [ ] CSRF protection for state-changing operations?- [ ] Rate limiting on public endpoints?```The supplied content consists of guidance, checklists, a review-comment template, and examples explicitly marked as good or bad; the visible source contains no installation steps, command-execution instructions, credential requests, data-upload directions, or implementation that automatically changes files.
View source
```markdown## Summary[Brief overview of what was reviewed]## Strengths- [What was done well]- [Good patterns or approaches]## Required Changes🔴 [Blocking issue 1]🔴 [Blocking issue 2]## Suggestions💡 [Improvement 1]💡 [Improvement 2]## Questions❓ [Clarification needed on X]❓ [Alternative approach consideration]## Verdict✅ Approve after addressing required changes```Files and check records1 files
Coverage and gaps
Content covered in each file
These are the source ranges included in this check, not a guarantee that every issue has been resolved.
SKILL.mdFull text included
This report is for the version above. We read the available code and instructions without running the skill or checking extra packages it installs. This is not a promise of safety: a different version or setup may behave differently.
SKILL.mdInstructions
Operations mentioned in code and instructions
Connect to websites
async function fetchUser(id: string) { const response = await fetch(`/api/users/${id}`); return response.json(); // What if network fails? try { const response = await fetch(`/api/users/${id}`); if (!response.ok) {- Lines read
- 530
- File checksum (to compare versions)
- 5ddb61d462e19129db555ace045777234b1467f851c5bee21a26ec45b6386983