Agent skill

Csrf Testing

by NeoTheCapt in NeoTheCapt/RedteamAgent

Cross-site request forgery testing for state-changing operations

No licenceAuto-check passedSecurity

Install Csrf Testing

skills CLI
$ npx skills add NeoTheCapt/RedteamAgent --skill csrf-testing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install NeoTheCapt/RedteamAgent csrf-testing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/NeoTheCapt/RedteamAgent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agent/skills/csrf-testing .claude/skills/csrf-testing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
csrf-testing
GitHub stars
140
Token cost
~791 tokens
SKILL.md length
338 words
Files
1
Skills in repo
25
Repo updated
First seen
Licence
None found

At a glance

Cross-site request forgery testing for state-changing operations

  • Works in 7 steps: Identify CSRF Protections → Test Token Validation → Test SameSite Cookie Bypass → …
  • Tasks that involve Web application vulnerabilities
  • SKILL.md covers When to Activate, Tools, Methodology and What to Record
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Csrf Testing is an agent skill from NeoTheCapt/RedteamAgent. Cross-site request forgery testing for state-changing operations

Its SKILL.md is about 790 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Security, covering Web application vulnerabilities and Penetration testing. The repository describes itself as: An AI red-team agent for authorized labs and web app pentesting workflows. Turns Claude Code / OpenCode / Codex into a structured recon → test → exploit → report workflow, with…

When your agent uses it

  • Tasks that involve Web application vulnerabilities
  • Tasks that involve Penetration testing

Example prompts

  • “/csrf-testing”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Identify CSRF Protections
  2. Test Token Validation
  3. Test SameSite Cookie Bypass
  4. Test Referer/Origin Validation
  5. Build CSRF PoC
  6. High-Value Targets
  7. Chained Attacks

What it can do on your machine

Read from SKILL.md and the folder at commit 2e60476. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Csrf Testing loads about 791 tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 338 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~19
When it runs · the whole SKILL.md, loaded when a task matches
~791

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 338 words (~791 tokens).

name
csrf-testing
origin
RedteamOpencode

Read the full SKILL.md on GitHub

Files

Just SKILL.md in agent/skills/csrf-testing of NeoTheCapt/RedteamAgent.

Open the folder on GitHubat commit 2e60476

Compare with similar skills

Csrf Testing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Csrf Testing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Csrf Testing this skillNeoTheCapt/RedteamAgent140—~791Automated safety check: PassNone
Strix Code Vulnerability Scanusestrix/strix67k—~1.1kAutomated safety check: PassApache-2.0
Code Audit3stoneBrother/code-audit8931 repos~2.7kAutomated safety check: PassNone
Fix Strix Security Findingsusestrix/strix67k—~1.5kAutomated safety check: PassApache-2.0
Wooyun Legacytanweai/wooyun-legacy1.8k—~1.9kAutomated safety check: PassCustom licence
OWASP Top 10 Testing with Strixusestrix/strix67k—~1.6kAutomated safety check: PassApache-2.0

Similar skills

  • Runs a Strix white-box security review that reads the source, then exploits what it finds in a sandbox so each reported issue has a proof-of-concept.

    67k GitHub stars~1.1k tokensUpdated yesterday
    SecurityAuto-check passed
  • Code Audit

    3stoneBrother/code-audit

    Professional code security audit skill covering 55+ vulnerability types.

    893 GitHub starsUsed in 1 repo~2.7k tokens
    SecurityAuto-check passed
  • Triages findings from a Strix pentest by severity, fixes each root cause with a minimal change, and re-runs Strix to confirm the exploit no longer works.

    67k GitHub stars~1.5k tokensUpdated yesterday
    SecurityAuto-check passed
  • Wooyun Legacy

    tanweai/wooyun-legacy

    WooYun business logic vulnerability methodology — 22,132 real cases across 6 domains (authentication bypass, authorization bypass, payment tampering, information disclosure, logic flaws…

    1.8k GitHub stars~1.9k tokensUpdated 2 mo ago
    SecurityAuto-check passed
  • Runs Strix's autonomous exploit agents against each OWASP Top 10:2025 category and the API Security Top 10, reporting only what could actually be proven with a proof-of-concept.

    67k GitHub stars~1.6k tokensUpdated yesterday
    SecurityAuto-check passed
  • Client Request Signature Reversal

    awarexone/Agentic-Bug-Hunter

    Recovers a client-side request signature or anti-bot token just far enough to replay blocked requests in bug bounty testing, starting from a captured packet.

    5.3k GitHub stars~4.7k tokensUpdated 2 days ago
    SecurityAuto-check passed

More from NeoTheCapt/RedteamAgent

All 25 skills in this repo
  • Auth Bypass

    NeoTheCapt/RedteamAgent

    Test for authentication and authorization flaws including credential attacks, session issues, and access control bypasses

    140 GitHub stars~1.3k tokensUpdated 2 mo ago
    Auto-check passed
  • Business Logic Testing

    NeoTheCapt/RedteamAgent

    Business logic vulnerability detection — workflow bypass, price manipulation, state abuse, and application-specific flaws

    140 GitHub stars~2.8k tokensUpdated 2 mo ago
    Auto-check passed
  • Cors Testing

    NeoTheCapt/RedteamAgent

    CORS misconfiguration testing for data theft and access control bypass

    140 GitHub stars~904 tokensUpdated 2 mo ago
    Auto-check passed
  • Deserialization Testing

    NeoTheCapt/RedteamAgent

    Insecure deserialization detection and gadget chain exploitation

    140 GitHub stars~836 tokensUpdated 2 mo ago
    Auto-check passed
  • Directory Fuzzing

    NeoTheCapt/RedteamAgent

    Discover hidden directories, files, and endpoints on a web server

    140 GitHub stars~737 tokensUpdated 2 mo ago
    Auto-check: notes
  • Open Redirect Testing

    NeoTheCapt/RedteamAgent

    Test for unvalidated redirects — URL parameters, login flows, OAuth callbacks that redirect to attacker-controlled domains

    140 GitHub stars~608 tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Csrf Testing

What does Csrf Testing do?

Cross-site request forgery testing for state-changing operations. Csrf Testing is an agent skill from NeoTheCapt/RedteamAgent.

When should I use Csrf Testing?

Csrf Testing fits situations like: tasks that involve Web application vulnerabilities; tasks that involve Penetration testing.

How do I install Csrf Testing in Claude Code?

Run `npx skills add NeoTheCapt/RedteamAgent --skill csrf-testing -a claude-code`. Or copy the skill folder (agent/skills/csrf-testing in NeoTheCapt/RedteamAgent) into .claude/skills/csrf-testing in your project. Claude Code loads it when a task matches its description.

How do I install Csrf Testing in Codex?

Run `npx skills add NeoTheCapt/RedteamAgent --skill csrf-testing -a codex`. Or copy the skill folder (agent/skills/csrf-testing in NeoTheCapt/RedteamAgent) into .agents/skills/csrf-testing in your project. Codex loads it when a task matches its description.

Can I use Csrf Testing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add NeoTheCapt/RedteamAgent --skill csrf-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/csrf-testing, .gemini/skills/csrf-testing, .github/skills/csrf-testing and .opencode/skills/csrf-testing in your project.

What does Csrf Testing need to run?

SKILL.md names no scripts, command-line tools or credentials: Csrf Testing is instructions for the agent only.

Does Csrf Testing access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Csrf Testing safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Csrf Testing use?

No licence was found for Csrf Testing or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Csrf Testing use?

About 791 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Csrf Testing?

Skills that share tags, products or a category with Csrf Testing: Strix Code Vulnerability Scan (usestrix/strix, 67k stars), Code Audit (3stoneBrother/code-audit, 893 stars), Fix Strix Security Findings (usestrix/strix, 67k stars) and Wooyun Legacy (tanweai/wooyun-legacy, 1.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Csrf Testing?

NeoTheCapt (a GitHub user) maintains it in NeoTheCapt/RedteamAgent, which has 140 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on August 2, 2026.

Source: NeoTheCapt/RedteamAgent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.