red-team-reviewer

red-team-reviewer is an agent for Claude Code, Cursor from tdwhere123/do-it. It costs 33 tokens per session (383 once invoked), scanned A, original, MIT.

A read-only adversarial review of a code change or design. It examines trust boundaries, permissions, state, saved data, asynchronous work, failures, retries, cancellation, replay, and concurrent actions from an attacker's perspective.

In plain words
What is it for?
Use it to inspect a change or design for security and reliability weaknesses. It returns evidence-backed findings with impact, confidence, and the smallest mitigation, while separating confirmed defects from hypotheses.
Why use it?
Normal review may miss failures that happen only during retries, partial success, race conditions, or recovery. This review looks for concrete paths to unauthorized access, data loss, false success, stale state, or leaks.

Agent for Claude CodeCursor

Written for Cursor and Claude Code: shipped in a Cursor plugin, but also a Claude Code subagent (agents/*.md).

Part of the do-it-cursor plugin — 11 skills, 10 agents shipped together

Good fit Use it to inspect a change or design for security and reliability weaknesses. It returns evidence-backed findings with impact, confidence, and the smallest mitigation, while separating confirmed defects from hypotheses.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/tdwhere123/do-it/red-team-reviewer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/tdwhere123/do-it

Made for: Claude Code, Cursor.

Or install do-it-cursor, the plugin that ships this one along with the rest of its 11 skills, 10 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for red-team-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/tdwhere123/do-it/red-team-reviewer/github.svg)](https://agentmods.dev/agents/tdwhere123/do-it/red-team-reviewer)
Your own site
<a href="https://agentmods.dev/agents/tdwhere123/do-it/red-team-reviewer"><img src="https://agentmods.dev/badge/agents/tdwhere123/do-it/red-team-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for red-team-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/tdwhere123/do-it/red-team-reviewer"><img src="https://agentmods.dev/badge/agents/tdwhere123/do-it/red-team-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 383 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.00383
Opus 5.5 $0.00013 $0.00153
Sonnet 5.5 $0.00007 $0.00077
Haiku 4.5 $0.00003 $0.00038

Measured 14d ago against content hash a48f856aadb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

red-team-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/do-it-cursor/agents/red-team-reviewer.md · 17 lines

What it actually says

Act as a read-only adversarial reviewer. Start at the highest-risk trust, state, persistence, async, or failure boundary in the assigned scope.

Test plausible malicious, retry, cancellation, replay, partial-success, and concurrent paths. Look for authorization gaps, silent loss, stale truth, false success, leaks, or unsafe recovery. Keep confirmed defects separate from hypotheses, and do not invent a broad security program outside the evidence.

For security claims, trace the relevant caller or attacker control through a reachable operation to the claimed impact; a suspicious pattern alone is not a finding. For serialization leaks, identify the actual sensitive-data holder, the serialization path, and the sink that receives it. Check counterevidence such as validation, authorization, redaction, or unreachable paths, and qualify unproven links. State and concurrency defects can be established by violated contracts and interleavings without attacker-controlled input.

Return severity-ordered findings with location or contract evidence, impact, confidence, and the smallest mitigation; during initial deep-audit review, withhold mitigations until fresh independent synthesis and return counterevidence, inspected scope, and gaps instead. Report a clean result when warranted. Include residual risk and NOT_CHECKED. The parent integrates the result.

Work only the assigned slice. Gather evidence and reach conclusions independently. Treat parent opinions as hypotheses, not authority; preserve the goal, settled decisions, source facts, and authorization boundary. Do not commit, merge, push, tag, publish, revert peer work, or expand the write scope. Return NOT_CHECKED for anything not inspected. The parent owns integration, the task contract, and the completion claim.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 14d ago Changed · +3 lines a48f856aadb4
  2. 1mo ago Changed f5d2c5bcde6b
  3. 1mo ago Changed · +3 lines 9b2478d38925
  4. 1mo ago First seen · 11 lines · 33 tokens per session scan A e97caa03081a

Subscribe to this mod's changes

red-team-reviewer is an agent published in the GitHub repository tdwhere123/do-it (28 stars, last pushed 10d ago), licensed MIT. It adds 33 tokens to every session and 383 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

refactor-expert

Code refactoring specialist focused on clean architecture, SOLID principles, and technical debt reduction. Use proactively for code quality improvements and architectural refactoring.

alirezarezvani/claude-code-tresor · 34 tokens

rn-code-reviewer

Reviews React Native implementation for bugs, logic errors, RN-specific convention violations, and testability issues. Uses confidence-based filtering to report only high-priority issues that truly matter. Triggers: "review this code", "check for bugs", "review the implementation", "are there any issues", "check…

Lykhoyda/rn-dev-agent · 234 tokens

arch-review

Principal-level software architect for architecture reviews, pre-implementation specification reviews, and spec-conformance verification. Use when the user asks to review architecture, evaluate design decisions, audit system boundaries, check for anti-patterns, evaluate whether a specification is ready to be…

sergeyklay/.agents · 122 tokens

reviewer

Use proactively for critical review of documents or code when you need contradictions, missing requirements, hidden complexity, or vague assumptions identified.

kohj1018/agentic-dev-harness · 28 tokens

validator

Use proactively after implementation to verify scope alignment, document consistency, obvious regression risk, and completion readiness.

kohj1018/agentic-dev-harness · 22 tokens

quality-reviewer

Quality reviewer for inspections, quality scoring, technical debt, code smells, maintainability, rework planning, and agentic fixture coverage.

45ck/skill-harness · 31 tokens