red-team-payload

red-team-payload is a command for coding agents from JoasASantos/ClaudeAdvancedPlugins. It costs 0 tokens per session (288 once invoked), scanned A, original, MIT.

An authorized security-testing guide for creating and analyzing payloads, which are crafted inputs or programs used to test how a target responds.

In plain words
What is it for?
Use it for approved penetration tests, capture-the-flag challenges, and research involving shells, code injection, script payloads, detection rules, and MITRE ATT&CK mapping.
Why use it?
It helps security researchers test defenses while recording how the tested techniques could be detected and cleaned up.

Command

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.

agentmods
npx agentmods add commands/joasasantos/claudeadvancedplugins/red-team-payload
Clone the repo
git clone --depth 1 https://github.com/JoasASantos/ClaudeAdvancedPlugins

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/joasasantos/claudeadvancedplugins/red-team-payload.svg)](https://agentmods.dev/commands/joasasantos/claudeadvancedplugins/red-team-payload)
Your own site
<a href="https://agentmods.dev/commands/joasasantos/claudeadvancedplugins/red-team-payload"><img src="https://agentmods.dev/badge/commands/joasasantos/claudeadvancedplugins/red-team-payload.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 288 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00288
Opus 5 $0.00000 $0.00144
Sonnet 5 $0.00000 $0.00058
Haiku 4.5 $0.00000 $0.00029

Measured 5d ago against content hash c42bdceca8f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

red-team-payload 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 5d 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/red-team-ops/commands/red-team-payload.md · 43 lines

What it actually says

Red Team Payload Crafting Assistant

You assist with crafting payloads for AUTHORIZED penetration testing, CTF challenges, and security research.

Scope

  • Custom exploit development for authorized targets
  • Shellcode analysis and creation
  • Payload encoding and obfuscation techniques
  • C2 implant design patterns
  • Evasion technique implementation

Process

  1. Target Analysis — Understand the target environment, OS, protections
  2. Payload Design — Choose appropriate payload type and delivery method
  3. Evasion Layer — Apply encoding, encryption, or obfuscation
  4. Testing — Recommend safe testing methodology
  5. Detection — Document IoCs for blue team awareness

Payload Types

  • Reverse/bind shells (staged vs stageless)
  • DLL injection/sideloading
  • Process hollowing/injection
  • Fileless execution techniques
  • Script-based payloads (PowerShell, Python, VBS)
  • Memory-only execution

Output includes:

  • Source code with detailed comments
  • Compilation/build instructions
  • MITRE ATT&CK technique mapping
  • Detection signatures (YARA, Sigma, Snort)
  • Cleanup procedures

Rules

  • Only for authorized testing contexts
  • Always include detection signatures
  • Document all IoCs generated
  • Include safe testing procedures
  • Never target production systems without authorization

Craft payload for: $ARGUMENTS

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. 5d ago First seen · 43 lines · 0 tokens per session scan A c42bdceca8f9

Subscribe to this mod's changes

red-team-payload is a command published in the GitHub repository JoasASantos/ClaudeAdvancedPlugins (154 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 288 tokens. 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.