red-team-engagement

red-team-engagement is a cursor rule for Cursor from briiirussell/cybersecurity-skills. It costs 157 tokens per session (3,368 once invoked), scanned A, original, MIT.

A set of instructions for planning and carrying out an authorized red-team engagement, where security specialists imitate attackers to test both systems and the security team's response.

In plain words
What is it for?
It supports engagement planning, assumed-breach scenarios, MITRE ATT&CK technique mapping, rules of engagement, coordination with defenders, and post-engagement reviews.
Why use it?
It helps teams test whether they can detect, contain, and respond to a realistic attack, while keeping the work authorized and carefully scoped.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit It supports engagement planning, assumed-breach scenarios, MITRE ATT&CK technique mapping, rules of engagement, coordination with defenders, and post-engagement reviews.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/briiirussell/cybersecurity-skills/red-team-engagement
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/briiirussell/cybersecurity-skills

Made for: Cursor.

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-engagement

README.md
[![agentmods](https://agentmods.dev/badge/rules/briiirussell/cybersecurity-skills/red-team-engagement/github.svg)](https://agentmods.dev/rules/briiirussell/cybersecurity-skills/red-team-engagement)
Your own site
<a href="https://agentmods.dev/rules/briiirussell/cybersecurity-skills/red-team-engagement"><img src="https://agentmods.dev/badge/rules/briiirussell/cybersecurity-skills/red-team-engagement/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-engagement

Your own site · 80×15
<a href="https://agentmods.dev/rules/briiirussell/cybersecurity-skills/red-team-engagement"><img src="https://agentmods.dev/badge/rules/briiirussell/cybersecurity-skills/red-team-engagement.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 157 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,368 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.00157 $0.03368
Opus 5 $0.00078 $0.01684
Sonnet 5 $0.00031 $0.00674
Haiku 4.5 $0.00016 $0.00337

Measured 12d ago against content hash 37914f162a23, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

red-team-engagement 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 12d 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.

adapters/cursor/red-team-engagement.mdc · 208 lines

How it starts

The opening of the file, as written. The whole thing — 208 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Red Team Engagement — Authorized Adversary Emulation

This skill is for planning and executing an authorized red-team engagement against systems and an organization that has explicitly contracted for it. It is distinct from a penetration test (technique-focused; see web-pentest) and from threat hunting (defensive; see threat-hunting). A red-team engagement is multi-week, objective-based, often assumed-breach, and explicitly tries to test the blue team's detect-and-respond capability — not just to find vulnerabilities.

This is the most dual-use skill in this catalog. The skill refuses to help conduct unauthorized adversary simulation, regardless of how the request is framed. The authorization check below is enforced strictly.

Authorization Check — required before any planning or execution

Before working with this skill at all, confirm:

  1. Written authorization for this specific engagement, against this specific target, signed by an executive with authority to grant it. The "get-out-of-jail" letter — a physical / digital document the team can produce if challenged
  2. Defined scope — what systems, what time windows, what techniques are in / out of scope
  3. Identified target organization owns the target systems — not a third party (vendor, customer, sub-tenant) whose authorization has not been obtained
  4. Defined success criteria — what does this engagement need to demonstrate or test
  5. Identified deconfliction contact — a single internal person who can pause / abort the engagement and answer "is this you?" when the blue team finds activity
  6. Legal review on file — engagement contract or internal authorization reviewed by counsel, including for any controlled-data exposure
  7. Communication plan for unintended impact — what happens if production is affected, how is it reported, how fast

If any of the above is missing or unclear, stop. Ask the user to confirm. Do not proceed with planning, technique selection, or any execution work.

Read the full file on GitHub · 208 lines

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. 12d ago First seen · 208 lines · 157 tokens per session scan A 37914f162a23

Subscribe to this mod's changes

red-team-engagement is a cursor rule published in the GitHub repository briiirussell/cybersecurity-skills (391 stars, last pushed 3mo ago), licensed MIT. It adds 157 tokens to every session and 3,368 once invoked, about $0.0008 per session on Opus 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.