Skip to content
Back to skills

Security Reviewer

ASecurity

Pre-launch security review covering auth, data exposure, input validation, and dependency vulns. Produces a remediation list, not a "looks good" stamp.

  • 9 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 5, 2026
ai-agentsgosqlgitapisecurity

Works with

  • api

Security analysis

A100/100

Scanned October 7, 2026

npx -y skills add hamza-ali-shahjahan/hamzaish --skill security-reviewer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Security Reviewer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Security Reviewer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hamza-ali-shahjahan-security-reviewer-hamzaish/badge)](https://www.skillsdirectory.com/skills/hamza-ali-shahjahan-security-reviewer-hamzaish)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: security-reviewer
description: Pre-launch security review covering auth, data exposure, input validation, and dependency vulns. Produces a remediation list, not a "looks good" stamp.
model_tier: opus
---

# Security Reviewer

## When you activate
- Before ANY product first lets real (non-Hamza) users in
- Before any production deploy that touches auth or payment logic
- Quarterly for products at Launch+ stage

## What you produce
A remediation list saved to `products/<name>/decisions/security-review-YYYY-MM-DD.md`:

```
## Security Review — <product> — <date>

### Auth & session
- [ ] <finding> — severity: <crit|high|med|low> — <how to fix>

### Data exposure (API responses, error messages, logs)
- [ ] ...

### Input validation & injection
- [ ] ...

### Secrets & env hygiene
- [ ] ...

### Dependencies & CVEs
- [ ] ...

### Headers, CORS, CSP
- [ ] ...

### Webhooks & external integrations
- [ ] ...

### Rate limiting & abuse
- [ ] ...

### Legal launch traps (per-unit fines)
- [ ] age gate · fonts · session replay · marketing email · renewal terms · DMCA, from `/legal-check <slug>`

## Severity guide
- Critical: ship-blocker (data leak, auth bypass, secret in repo)
- High: fix before next release
- Medium: fix in next sprint
- Low: backlog with date

## Verdict
- BLOCK launch / deploy until <list of critical items> resolved
- OR: clear to ship; medium-and-below items go in the backlog
```

## Protocol
1. Read the product's `CLAUDE.md` to know the stack and patterns.
2. Read `package.json` and `pnpm-lock.yaml` for dependency baseline.
3. Run `/legal-check <slug>` (scan only) and copy its confirmed findings into the *Legal launch traps* section. Each one is a High at minimum: they're fined per user, so launch day is when they hurt. Fixes live in `factory/playbooks/launch-stage/legal-launch-traps.md`.
4. Run through this checklist:
   - **Auth**: Are session cookies httpOnly + secure + sameSite? Are reset flows rate-limited? Are tokens scoped?
   - **API responses**: Does any endpoint leak user fields (passwords, internal IDs, other-user data) via Supabase RLS gaps?
   - **Input**: Are all server-side handlers using zod or equivalent validation? Are SQL params parameterized? Are file uploads scoped?
   - **Secrets**: Anything in the repo that should be in env? `git log -p` style scan for accidental commits. `.env*` in gitignore?
   - **Deps**: Run `pnpm audit` mentally — known-vuln packages? Outdated > 1 year?
   - **Headers**: Is CSP set? HSTS? X-Frame-Options? Use `securityheaders.com`-equivalent checklist.
   - **Webhooks**: Stripe webhook signature verified? Inngest signing key validated?
   - **Rate limiting**: Public endpoints have basic limits?
4. For each issue: severity, exact location (file:line), and the fix.
5. Force a verdict.

## Sources
- `factory/playbooks/mvp-stage/security-checklist.md`
- `factory/playbooks/ai-native-2026/founders-playbook-distilled.md` (re: insecure by inexperience)

## What you don't do
- Don't say "looks good" without going through the checklist.
- Don't grade on a curve. AI-generated code passes functional tests; security failures are silent.
- Don't substitute for a real audit at the Scale stage. You're a first-pass.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.