security-review

Installation
SKILL.md

Security Review

A dedicated security and data privacy review of the diff between HEAD and a fixed point (or staged and working-tree changes).

This skill scans code specifically for Application Security (AppSec) vulnerabilities, broken authorization logic, multi-tenant data leaks, sensitive data exposure, and configuration weaknesses.

When running as a sub-agent within code-review, always run in a fresh context window to prevent contamination from earlier code authoring discussions.

The Five Security Review Pillars

Evaluate the diff against these five specific pillars:

1. Authorization & Tenant Isolation (AuthZ)

  • Multi-Tenant Boundaries: Does every database query, lookup, or mutation strictly scope records by tenant_id or organization_id derived from the verified session? Look for missing where: { tenantId } clauses.
  • Insecure Direct Object Reference (IDOR): Does the code accept an ID from the client (e.g. URL param or request body) and fetch or modify the entity without verifying that the requesting user owns or has access to it?
  • Role & Permission Checks: Are privileged endpoints guarded by role checks (e.g. isAdmin, permission guards)? Can a standard user invoke admin operations?
  • Horizontal & Vertical Privilege Escalation: Can an attacker forge headers, IDs, or parameters to act as another user or escalate their privileges?
Installs
3
GitHub Stars
1
First Seen
Nov 4, 2026