kata-security-review

Review code diffs for OWASP Top 10 vulnerabilities and produce severity-prioritized markdown reports.

Updated Sep 3, 2025
One-click install
npx skills add https://github.com/guardiatechnology/design-system --skill kata-security-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kata-security-review
Source: https://github.com/guardiatechnology/design-system/tree/main/.claude/skills/kata-security-review
Command: npx skills add https://github.com/guardiatechnology/design-system --skill kata-security-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents security regressions by systematically reviewing the implemented code changes against common real-world vulnerabilities and weak auth patterns.

Core Features & Use Cases

  • OWASP Top 10 verification: Checks each relevant category explicitly in the changed diff, capturing file/line evidence and actionable recommendations.
  • Authentication & authorization assessment: Validates endpoint protections, permission checks, ownership enforcement, and token data exposure.
  • Sensitive data & dependency risk control: Flags credential leakage, unsafe error/log output, and runs CVE scanning for touched dependencies with severity-based prioritization.
  • Gate-ready reporting: Consolidates findings into a structured markdown report and updates the workflow checkpoint for orchestrated progression.

Quick Start

Run a security review pass by examining your pull request diff against the kata steps and write the results to .ahrena/issues/{n}/05-security-review.md.

Frequently Asked Questions about kata-security-review

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

FAQPage Schema
How do I run an OWASP Top 10 security review on a pull request diff?

To run a security review, examine your pull request diff against the issue steps and write the results to a markdown report file. This systematically checks the changed code against OWASP Top 10 vulnerabilities and weak authentication patterns.

What does an authentication and authorization code review cover?

An authentication and authorization code review validates endpoint protections, permission checks, ownership enforcement, and token data exposure. It systematically verifies that implemented code changes do not introduce weak auth patterns or security regressions.

How does CVE scanning work for vulnerable dependencies in code changes?

CVE scanning for vulnerable dependencies runs against touched dependencies identified within the code diff. It flags dependency risks with severity-based prioritization to ensure critical vulnerable libraries are addressed before deployment.

Can I limit the security review scope to only changed files in a pull request?

Yes, you can limit the security review scope to only changed files because the process enforces diff-limited constraints. This ensures the review focuses strictly on the pull request diff and relevant architecture context without scanning the entire repository.

What is a severity-prioritized security report and how does it block critical findings?

A severity-prioritized security report consolidates vulnerabilities into a structured markdown document ordered by severity. It enforces review constraints by blocking the workflow checkpoint when critical findings are discovered, preventing security regressions from merging.

How do I prevent sensitive data leakage and credential exposure in my code changes?

To prevent sensitive data leakage and credential exposure, review your code changes for unsafe error output and logging practices. The sensitive data risk control flags credential leakage and validates that secure error handling is implemented.