red-team

Attacks code changes with adversarial inputs to expose defects before shipping.

Updated Jun 28, 2026
One-click install
npx skills add https://github.com/sicambria/talkteach-asr --skill red-team-sicambria
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: red-team
Source: https://github.com/sicambria/talkteach-asr/tree/main/.claude/skills/red-team
Command: npx skills add https://github.com/sicambria/talkteach-asr --skill red-team-sicambria

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Code that passes the happy path often hides defects in edge cases, error handling, and boundary conditions. This Skill forces systematic adversarial testing of a change before it ships, turning "it works" into verified evidence of what held under attack. ## Core Features & Use Cases - Black-box attack pass: Enumerates empty, null, malformed, overflow, duplicate, out-of-order, concurrent, and injection inputs against the stated contract. - White-box attack pass: Reads the implementation to find unchecked assumptions, unreached branches, and resource-exhaustion or interruption risks. - Test-gaming detection: Checks whether existing tests would still pass if the behavior were subtly wrong, flagging meaningless assertions. - Use Case: Before merging a new input-validation function, run an adversarial pass to enumerate hostile inputs, confirm each is handled with a pinned test, fix real defects, and report what held. ## Quick Start Ask the AI to red-team the current diff by attacking it with hostile inputs, edge cases, and injection vectors, then report which attacks were handled, which were defects, and which are out of scope.

Frequently Asked Questions about red-team

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

FAQPage Schema
How do I adversarially test a code change before merging?▼

State the contract the code promises, then run a black-box pass enumerating empty, malformed, overflow, duplicate, and injection inputs, followed by a white-box pass reading the implementation for unchecked assumptions. Rank each attack as handled, a real defect, or explicitly out of scope.

What is the difference between black-box and white-box attack passes?▼

Black-box attacks the boundary using only the stated contract, testing inputs like null, maximum values, and injection strings. White-box reads the actual implementation to find unreached branches, unchecked assumptions, and resource-exhaustion or mid-write interruption risks.

When should I not run an adversarial review on a change?▼

Skip it for pure documentation or comment changes with no runtime surface to attack, since there is nothing to break. It is intended for changes touching control flow, parsing, validation, error handling, security, or boundaries.

How do I detect tests that were gamed to pass?▼

Ask whether each test would still pass if the behavior were subtly wrong. A test that asserts nothing meaningful or was edited to accept the current output is test-gaming and counts as a finding, not a pass.

What should the output of an adversarial testing pass include?▼

Report how many attack vectors were tried, how many were handled with pinned tests, how many were real defects that got fixed, and which are out of scope with explicit reasons. The goal is evidence, not reassurance.