agentleFS
pr-purgatorypr-purgatory/redteam-skill/redteam/SKILL.md

redteam

Skill2 starsChanged 7 months agoApache-2.0View on GitHub

Perform a "red team" security and risk assessment of the codebase. Use when user says "/redteam", "red team this code", or asks for a security/vulnerability audit.

12 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use premortem.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • neurofooSkill

    premortem

    Pre-mortem analysis that imagines a plan has failed, then works backward to identify causes and preventions. Use before launches, major decisions, or risky initiatives to surface hidden risks.

    Also in 3 projects that use this

The file

Files
SKILL.md

Redteam Skill

Overview

This skill implements a comprehensive red teaming methodology to identify weaknesses, blind spots, and potential improvements in a codebase. It investigative failures from multiple angles including security, architecture, and logic.

Workflow

  1. Analyze: Audit the codebase using the specialized lenses defined in criteria.md.
  2. Report: Save all findings to RedTeamFindings.md in the workspace root.
  3. Default Output Format:
    • * [Module/File] [Vulnerability Name or CVE] - [One-line description]
  4. Verbose Output Format:
    • Triggered by "verbose", "detailed", or "/redteam --verbose".
    • Include sub-bullets for each finding:
      • - Finding: [Detailed explanation of the technical root cause]
      • - Exploit: [Step-by-step description of how an attacker would leverage this]
      • - Resolution: [Actionable code changes or configuration fixes to mitigate]

Usage Examples

  • /redteam: Run standard audit.
  • /redteam verbose: Run audit with detailed exploit and resolution notes.
  • "red team the auth module": Perform a targeted audit on a specific component.

Methodology

The skill uses 10+ investigative angles including:

  • Premortem Analysis: Why would this fail in 6 months?
  • Security Audit: Auth bypass and privilege escalation.
  • Architecture Stress: 100x load failure points.
  • Supply Chain: Dependency vulnerabilities.
  • Abuse Scenarios: Weaponization for spam/DDoS.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.