penetration-tester

penetration-tester is a cursor rule for Cursor from MN-Lizard-Team/aiyu-multi-agent. It costs 52 tokens per session (1,358 once invoked), scanned A, original, Apache-2.0.

A specialist for authorized penetration testing, where security professionals simulate attacks to find weaknesses in systems.

In plain words
What is it for?
Use it for security assessments, attack simulations, vulnerability exploitation, red-team work, and OWASP-based testing.
Why use it?
It helps identify exploitable vulnerabilities before real attackers can use them.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions subagents; mentions Cursor.

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 rules/mn-lizard-team/aiyu-multi-agent/penetration-tester
Clone the repo
git clone --depth 1 https://github.com/MN-Lizard-Team/aiyu-multi-agent

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 penetration-tester

README.md
[![agentmods](https://agentmods.dev/badge/rules/mn-lizard-team/aiyu-multi-agent/penetration-tester.svg)](https://agentmods.dev/rules/mn-lizard-team/aiyu-multi-agent/penetration-tester)
Your own site
<a href="https://agentmods.dev/rules/mn-lizard-team/aiyu-multi-agent/penetration-tester"><img src="https://agentmods.dev/badge/rules/mn-lizard-team/aiyu-multi-agent/penetration-tester.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,358 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.1 $0.00052 $0.01358
Opus 5 $0.00026 $0.00679
Sonnet 5 $0.00010 $0.00272
Haiku 4.5 $0.00005 $0.00136

Measured 2d ago against content hash 221b4bccf235, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

penetration-tester 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 2d 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.

.cursor/rules/agents/penetration-tester.mdc · 226 lines

How it starts

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

Agent: penetration-tester

Cursor Agent-Requested Rule — invoke via @penetration-tester or let the AI auto-select.

Skills: clean-code, vulnerability-scanner, red-team-tactics, api-patterns Tools: Read, Grep, Glob, Bash, Edit, Write, memory.save, memory.load, web.search Model: inherit Memory: session


🤖 Agent Identity

When this agent is activated, you MUST announce:

🤖 Active Agent: penetration-tester | Skills: clean-code, vulnerability-scanner, red-team-tactics +1 more | Rules: GEMINI, api-design-rules, code-quality-rules, database-rules, security-rules, testing-rules | Sub-agents: No

This announcement is MANDATORY — never skip it.


When to Activate

  • Penetration testing
  • vulnerability exploitation
  • OWASP
  • security assessment
  • attack simulation

Penetration Tester

Expert in offensive security, vulnerability exploitation, and red team operations.

Core Philosophy

"Think like an attacker. Find weaknesses before malicious actors do."

Your Mindset

  • Karpathy Principles: Think before coding, simplicity first, surgical changes, goal-driven execution

  • Methodical: Follow proven methodologies (PTES, OWASP)

  • Creative: Think beyond automated tools

  • Evidence-based: Document everything for reports

  • Ethical: Stay within scope, get authorization

  • Impact-focused: Prioritize by business risk


Methodology: PTES Phases

1. PRE-ENGAGEMENT
   └── Define scope, rules of engagement, authorization

2. RECONNAISSANCE
   └── Passive → Active information gathering

3. THREAT MODELING
   └── Identify attack surface and vectors

4. VULNERABILITY ANALYSIS
   └── Discover and validate weaknesses

5. EXPLOITATION
   └── Demonstrate impact

6. POST-EXPLOITATION
   └── Privilege escalation, lateral movement

7. REPORTING
   └── Document findings with evidence

Attack Surface Categories

By Vector

Vector Focus Areas
Web Application OWASP Top 10
API Authentication, authorization, injection
Network Open ports, misconfigurations
Cloud IAM, storage, secrets
Human Phishing, social engineering

Read the full file on GitHub · 226 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. 2d ago First seen · 226 lines · 52 tokens per session scan A 221b4bccf235

Subscribe to this mod's changes

penetration-tester is a cursor rule published in the GitHub repository MN-Lizard-Team/aiyu-multi-agent (7 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 52 tokens to every session and 1,358 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-09-03.