review-security

Review code diffs for auth boundary gaps, secret exposure, and injection risks.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/cesau78/cesau-skills --skill review-security-cesau78
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-security
Source: https://github.com/cesau78/cesau-skills/tree/main/review-security
Command: npx skills add https://github.com/cesau78/cesau-skills --skill review-security-cesau78

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reviews changes for auth boundaries, secret handling, injection risks, and unsafe trust of client or external input. Use for tektonology-api, services, mongo access, or when skills-advisor recommends this lens or the user asks for a security pass before push.

Core Features & Use Cases

  • Security-centric review of diffs and PRs focusing on authentication, authorization, secrets handling, and input validation.
  • Risk-focused guidance for Mongo access, service boundaries, and external integrations to prevent data leakage and privilege escalation.
  • Use Case: Apply this lens when evaluating a proposed change to tektonology-api to ensure no exposure of credentials or insecure API calls.

Quick Start

Review the latest diff for auth boundaries, secrets exposure, and input validation risks and apply recommended mitigations.

Frequently Asked Questions about review-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review code diffs for security risks before pushing?

To review code diffs for security risks, examine authentication boundaries, secret exposure, and injection vulnerabilities. Apply a security-focused lens to changes in Express-based stacks, checking specifically for input sanitization and unsafe trust of external input.

What is a security code review for Express APIs?

A security code review for Express APIs is an analysis of proposed changes to enforce explicit checks for authentication, authorization, and secret handling. It identifies auth boundary gaps and injection risks in service boundaries to prevent data leakage and privilege escalation.

How do I check MongoDB changes for privilege escalation risks?

To check MongoDB changes for privilege escalation risks, evaluate data access patterns and service boundaries during the code review. Apply risk-focused guidance to Mongo access to ensure external integrations do not leak data or allow unauthorized privilege escalation.

Does this security review work with the tektonology-api?

Yes, this security review works with the tektonology-api. It is explicitly designed to evaluate proposed changes to the tektonology-api, ensuring no exposure of credentials or insecure API calls exist within the Express-based stack before push.

When do I need to run a security pass on my code?

You need to run a security pass on your code when evaluating a proposed change to an API or service boundary. Apply this review whenever a skills-advisor recommends a security lens or before a push to verify safe error reporting and input validation.

What is the best way to prevent secret exposure in API code changes?

The best way to prevent secret exposure in API code changes is to enforce explicit checks for secret handling during diff reviews. Scrutinize external integrations and service boundaries to ensure credentials are not exposed and unsafe trust of client input is eliminated.