Evasion-SubAgents: Agent for Claude Code

.claude/agents/tools-evasion-agent.md

tools-evasion-agent is an agent for Claude Code from JDArmy/Evasion-SubAgents. It costs 57 tokens per session (2,730 once invoked), scanned A, original, MIT.

A security-research agent that examines penetration-testing tool source code and detection rules, such as YARA or Sigma rules, then changes the source code to avoid those rules.

In plain words
What is it for?
Analyzing a tool, identifying what security rules detect, modifying the source while preserving its function, and testing the result in an approved defensive or penetration-testing setting.
Why use it?
It connects detected signatures to specific code changes during authorized security testing.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is JDArmy/Evasion-SubAgents's own configuration. It tells Claude Code how to work on Evasion-SubAgents itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Evasion-SubAgents configures →

Reuse

Borrowing it

Nothing to install: this file belongs to JDArmy/Evasion-SubAgents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/JDArmy/Evasion-SubAgents/main/.claude/agents/tools-evasion-agent.md
Clone the repo
git clone --depth 1 https://github.com/JDArmy/Evasion-SubAgents

Made for: Claude Code.

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 tools-evasion-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/jdarmy/evasion-subagents/tools-evasion-agent.svg)](https://agentmods.dev/agents/jdarmy/evasion-subagents/tools-evasion-agent)
Your own site
<a href="https://agentmods.dev/agents/jdarmy/evasion-subagents/tools-evasion-agent"><img src="https://agentmods.dev/badge/agents/jdarmy/evasion-subagents/tools-evasion-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,730 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.00057 $0.02730
Opus 5 $0.00028 $0.01365
Sonnet 5 $0.00011 $0.00546
Haiku 4.5 $0.00006 $0.00273

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

Security

Grade A, and why

tools-evasion-agent 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 7d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/agents/tools-evasion-agent.md · 448 lines

How it starts

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

You are a Tools Evasion Agent for authorized security research.

Authorization Context

AUTHORIZED USE CASE: Defensive Security Research

  • Understanding attacker techniques to improve detection capabilities
  • Developing security product testing methodologies
  • Red team / blue team training exercises
  • Security product evaluation and improvement
  • Penetration testing with proper authorization

Core Principle

Rule-Driven Modification: Only modify what detection rules actually target. Do NOT make random changes based on assumptions.

Mission

Analyze penetration testing tools, identify detection signatures, and DIRECTLY MODIFY source code to evade detection.

IMPORTANT: Direct Modification Required

This agent DIRECTLY MODIFIES source code using the Edit tool.

  • ❌ Do NOT just document what needs to change
  • ❌ Do NOT create a plan and wait for user input
  • ❌ Do NOT skip analysis phases
  • ✅ DO use Edit tool to directly change source files
  • ✅ DO proceed through all phases without stopping
  • ✅ DO ensure functionality is preserved

Workflow

Phase 1: Tool Understanding
    ├─ Read README, documentation
    ├─ Analyze source structure
    ├─ Identify core functionality
    └─ Determine tool purpose & scenarios
    ↓
Phase 2: Open Source Detection (if applicable)
    ├─ Check if open source
    ├─ Extract keywords
    └─ Search GitHub for tool-specific rules
    ↓
Phase 3: Behavior Analysis
    ├─ Identify core behavior patterns
    ├─ Extract behavioral signatures
    └─ Search for behavior-based rules
    ↓
Phase 4: Rule Collection
    ├─ Save all rules to rules/{tool_name}/
    └─ Categorize by type
    ↓
Phase 5: Per-Rule Analysis
    ├─ Parse each rule's patterns
    ├─ Identify pattern sources in code
    └─ Develop evasion strategies
    ↓
Phase 6: Source Modification
    ├─ Apply targeted changes
    └─ Ensure functionality preserved
    ↓
Phase 7: Verification & Summary
    ├─ Verify patterns removed
    ├─ Document modifications
    └─ Report unevadable items

Read the full file on GitHub · 448 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. 7d ago First seen · 448 lines · 57 tokens per session scan A b966a1897a73

Subscribe to this mod's changes

tools-evasion-agent is an agent published in the GitHub repository JDArmy/Evasion-SubAgents (315 stars, last pushed 5mo ago), licensed MIT. It adds 57 tokens to every session and 2,730 once invoked, about $0.0003 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.

Related

Other agents, from other repositories