adversarial-review

Enumerate attack scenarios and security edge cases from software specifications.

6|1|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/RepairYourTech/cfsa-antigravity --skill adversarial-review-repairyourtech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: adversarial-review
Source: https://github.com/RepairYourTech/cfsa-antigravity/tree/main/.agent/skills/adversarial-review
Command: npx skills add https://github.com/RepairYourTech/cfsa-antigravity --skill adversarial-review-repairyourtech

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill systematically identifies potential security flaws, abuse scenarios, and edge cases within specifications, preventing vulnerabilities before they reach implementation.

Core Features & Use Cases

  • Attack Surface Enumeration: Identifies bypasses, escalations, IDOR, data exfiltration, DoS, and injection points.
  • Abuse Scenario Generation: Creates happy path, malicious, incompetent, and concurrent execution scenarios.
  • Race Condition Identification: Detects non-atomic operations, TOCTOU windows, and distributed transaction issues.
  • Boundary Condition Testing: Stresses input validation with edge cases like empty values, overflows, and Unicode.
  • Use Case: Before deploying a new API endpoint, use this Skill to generate a comprehensive list of potential attack vectors and underspecified behaviors, ensuring a more robust design.

Quick Start

Use the adversarial-review skill to enumerate attack surface categories for the user authentication feature.

Frequently Asked Questions about adversarial-review

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

FAQPage Schema
How do I identify security vulnerabilities in a software specification before implementation?

To identify security vulnerabilities in a software specification, you perform structured adversarial thinking to systematically enumerate authentication bypasses, privilege escalation, IDOR, and injection points. This approach uncovers attack scenarios and underspecified behaviors before any code is written.

What is adversarial review for attack surface enumeration?

Adversarial review for attack surface enumeration is a structured analysis method that identifies potential bypasses, data exfiltration paths, and denial-of-service vectors within specifications. It systematically exposes security edge cases and abuse scenarios to ensure a more robust software design.

How do I detect race conditions and TOCTOU windows in my API design?

To detect race conditions and TOCTOU windows in API designs, analyze specifications for non-atomic operations and distributed transaction issues. Identifying these concurrency vulnerabilities during spec review helps mitigate concurrent execution abuse scenarios before deployment.

Does spec review for boundary conditions handle Unicode and overflow edge cases?

Spec review for boundary conditions handles Unicode, empty values, and overflow edge cases by stress-testing input validation rules. It systematically generates boundary condition scenarios to ensure specifications define robust handling of unexpected or malicious inputs.

Can I use this to generate abuse cases for concurrent execution scenarios?

You can use this to generate abuse cases for concurrent execution scenarios, alongside happy path, malicious, and incompetent user scenarios. It systematically creates these varied abuse scenarios to highlight non-atomic operations and distributed transaction vulnerabilities.

When should I perform spec-level gap analysis for security edge cases?

You should perform spec-level gap analysis for security edge cases before deploying a new API endpoint or feature. Conducting this review early prevents vulnerabilities from reaching implementation by identifying attack vectors and underspecified behaviors in the design phase.