security-review
Use when reviewing code for security vulnerabilities, auditing authentication/authorization, handling secrets, or assessing OWASP Top 10 risks.
Skill by UgochukwuChidera
Chalk Labs
Need help deploying security-review?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ugochukwuchidera-security-review
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/security-review
What's inside
- Skill name
security-review- Description
- Use when reviewing code for security vulnerabilities, auditing authentication/authorization, handling secrets, or assessing OWASP Top 10 risks. Covers XSS, CSRF, injection attacks, auth patterns (JWT, OAuth, sessions), secret management, dependency scanning, CSP headers, and secure defaults.
- License
- GPL-3.0
- Instructions
- 113 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
## Git Delegation Rule
**HARD RULE**: NEVER run git commands. Delegate ALL git operations to `git-wrangler`.
# Security Review
## OWASP Top 10 — Quick Reference
| # | Vulnerability | What to Look For |
|---|--------------|------------------|
| 1 | **Broken Access Control** | No auth checks on endpoints, IDOR (user A sees user B's data), role bypass |
| 2 | **Cryptographic Failures** | Passwords stored in plaintext, HTTP instead of HTTPS, weak hashes (MD5, SHA1) |
| 3 | **Injection** | Raw SQL concatenation, eval(), unsafe `innerHTML`, shell command injection |
| 4 | **Insecure Design** | No rate limiting, missing encryption at rest, trust of client-side validation |
| 5 | **Security Misconfiguration** | Default credentials, debug endpoints in prod, verbose error messages, unnecessary features enabled |
| 6 | **Vulnerable Components** | Outdated npm/pip/gem packages, known CVEs in dependencies |
| 7 | **Auth Failures** | Weak password policies, no MFA, session fixation, JWTs without expiry |
| 8 | **Data Integrity Failures** | No CSRF protection, unsigned JWTs, missing integrity checks on updates |
| 9 | **Logging & Monitoring** | No audit trail, missing alerting on auth failures, insufficient logging |
| 10 | **SSRF** | User-supplied URLs fetched server-side without allowlisting |
## Web App Security Checklist
### Authentication
- [ ] Passwords hashed with bcrypt (cost ≥ 10), argon2, or scrypt — never MD5/SHA1
- [ ] Rate limiting on login endpoints (5 attempts → 15s lockout)
- [ ] Session tokens are: random, long (≥128 bits), HttpOnly, Secure, SameSite=Strict
- [ ] JWT: signed with strong secret (RS256 or HS256 with ≥256-bit key), short expiry (≤15 min), `iat`/`exp` validated
- [ ] Password reset tokens are one-time-use and expire in ≤ 1 hour
- [ ] MFA is offered for any privileged action
### Authorization
- [ ] Every endpoint checks the user **can** perform the action on **that specific resource**
- [ ] No IDOR — test: can user A access `/api/users/B/data`?
- [ ] Role-based checks at the controller/middleware level, not scattered in templates
- [ ] Admin endpoints are not discoverable via directory brute-force (no `/admin` that bypasses checks)
### Input Validation
- [ ] All user input is validated server-side (client validation is UX only)
- [ ] SQL: use parameterized queries or an ORM — **never** string interpolation
- [ ] HTML: use a sanitizer (DOMPurify, Bleach) before rendering user content
- [ ] File uploads: validate type by content (not extension), set size limits, store outside webroot
- [ ] Shell commands: avoid `exec()` / `eval()` / `child_process.exec()` with user input
### Output Encoding
- [ ] Context-aware encoding: HTML entity encode for HTML, JS encode for `<script>`, URL encode for query params
- [ ] Template engines with auto-escaping (React JSX, Handlebars, Jinja2) — prefer those
- [ ] JSON responses: set `Content-Type: application/json` and escape `<`/`>` to prevent XSS in old browsers
### Headers
```
Content-Security-Policy: default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
Strict-Transport-Security: max-age=31536000; includeSubDomains
Referrer-Policy: strict-origin-when-cross-origin
Permissions-Policy: camera=(), microphone=(), geolocation=()
```
### Secrets Management
- [ ] No secrets in source code — use environment variables or a vault (HashiCorp Vault, AWS Secrets Manager)
- [ ] `.env` files are in `.gitignore` — never committed
- [ ] API keys, tokens, passwords are rotated regularly
- [ ] Commit history scanned for accidental secret commits (git-secrets, truffleHog)
## API Security
### Rate Limiting
- Apply per-IP and per-user (authenticated)
- Stricter limits on auth endpoints, password reset, and mutation operations
- Return `Retry-After` header and `429` status
### CORS
```json
{
"Access-Control-Allow-Origin": "https://trusted-frontend.com", // NOT "*" for auth APIs
"Access-Control-Allow-Methods": "GET, POST, PATCH, DELETE",
"Access-Control-Allow-Headers": "Authorization, Content-Type",
"Access-Control-Allow-Credentials": "true" // only if needed
}
```
## Dependency Security
- Run `npm audit`, `pip audit`, `cargo audit`, etc. in CI
- Pin major versions, review minor/patch updates
- Use Dependabot or Renovate for automated PRs
- For critical vulnerabilities: patch within 24h (critical), 7d (high), 30d (medium)
- Remove unused dependencies — they're attack surface
## Secure Defaults
```
❌ opt-in security ("you must add auth...")
✅ opt-out security ("auth is on by default")
❌ "We'll add HTTPS later"
✅ HTTPS from day 1 (LetsEncrypt is free)
❌ "No one will find this debug endpoint"
✅ Disable in production via env var
```
## Code Review Questions
1. Can a user access data they shouldn't? (IDOR check)
2. Is there any SQL/command injection path? (trace user input to exec)
3. Are secrets hardcoded?
4. Is encryption used correctly? (not just "uses crypto" but "uses it right")
5. Are error messages leaking internals? (stack traces = bad)
6. Is authentication checked on every protected route?
7. Is there a rate limit on this endpoint?
8. Are file uploads validated and stored safely?
9. Is CSP set and effective?
10. Would this pass a pen test?From UgochukwuChidera/Opencode-Agents, GPL-3.0.
More from UgochukwuChidera/Opencode-Agents
- 0.474score
tool-preference
UgochukwuChidera
Use when deciding whether to use a plugin tool or bash.
SkillCFreshness: CClaude Code +9 - 0.474score
grill-with-docs
UgochukwuChidera
Use when you need to conduct a structured design interview AND persist the results as documentation.
SkillCFreshness: CClaude Code +9 - 0.474score
segmented-prompt-execution
UgochukwuChidera
Use when executing prompts sequentially from a build plan.
SkillCFreshness: CClaude Code +9 - 0.474score
grill-me
UgochukwuChidera
Use when conducting structured design interviews to discover shared language, uncover implicit assumptions, and refine project terminology before planning or…
SkillCFreshness: CClaude Code +9 - 0.474score
api-design
UgochukwuChidera
Use when designing REST or GraphQL APIs, defining endpoints, request/response shapes, error responses, pagination, versioning, authentication, or OpenAPI specs.
SkillCFreshness: CClaude Code +9 - 0.474score
authentication-authorization
UgochukwuChidera
Use when implementing auth — login, registration, session management, JWT, OAuth, password hashing, RBAC, API keys, MFA, and security headers.
SkillCFreshness: CClaude Code +9 - 0.474score
database-data-layer
UgochukwuChidera
Use when designing or implementing database schemas, data models, migrations, seeding, and query layers.
SkillCFreshness: CClaude Code +9 - 0.474score
deployment-devops
UgochukwuChidera
Use when setting up deployment, Docker, CI/CD, environment configuration, hosting, and infrastructure.
SkillCFreshness: CClaude Code +9 - 0.474score
design-system-implementation
UgochukwuChidera
Use when implementing UI components from design token specifications.
SkillCFreshness: CClaude Code +9 - 0.474score
error-handling
UgochukwuChidera
Use when handling errors, building error boundaries, designing error responses, or adding logging/observability.
SkillCFreshness: CClaude Code +9 - 0.474score
meta-architect-patterns
UgochukwuChidera
Use when executing a Meta-Architect build plan from plan.json.
SkillCFreshness: CClaude Code +9 - 0.474score
react-patterns
UgochukwuChidera
Use when discussing React component design, hooks, state management, or rendering patterns.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 6, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- GPL-3.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from UgochukwuChidera
- 0.474score
grill-with-docs
UgochukwuChidera
Use when you need to conduct a structured design interview AND persist the results as documentation.
SkillCFreshness: CClaude Code +9 - 0.474score
grill-me
UgochukwuChidera
Use when conducting structured design interviews to discover shared language, uncover implicit assumptions, and refine project terminology before planning or…
SkillCFreshness: CClaude Code +9 - 0.474score
api-design
UgochukwuChidera
Use when designing REST or GraphQL APIs, defining endpoints, request/response shapes, error responses, pagination, versioning, authentication, or OpenAPI specs.
SkillCFreshness: CClaude Code +9 - 0.474score
authentication-authorization
UgochukwuChidera
Use when implementing auth — login, registration, session management, JWT, OAuth, password hashing, RBAC, API keys, MFA, and security headers.
SkillCFreshness: CClaude Code +9 - 0.474score
database-data-layer
UgochukwuChidera
Use when designing or implementing database schemas, data models, migrations, seeding, and query layers.
SkillCFreshness: CClaude Code +9 - 0.474score
deployment-devops
UgochukwuChidera
Use when setting up deployment, Docker, CI/CD, environment configuration, hosting, and infrastructure.
SkillCFreshness: CClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get security-review running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
security-review skill. Agent Mart. https://agentmart.dev/skills/ugochukwuchidera-security-review (last updated 2026-10-24)