penetration-tester

penetration-tester is a skill for Claude Code, Codex from pekral/cursor-rules. It costs 81 tokens per session (1,865 once invoked), scanned A, original, MIT.

A guide for an authorized penetration test, where security testers safely try to exploit an application or system to find weaknesses.

In plain words
What is it for?
Use it for an explicitly authorized, read-only security assessment of a web app, API, network surface, or infrastructure target.
Why use it?
It validates whether security issues can actually be exploited while limiting damage, protecting sensitive data, and respecting the agreed scope.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for an explicitly authorized, read-only security assessment of a web app, API, network surface, or infrastructure target.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pekral/cursor-rules/penetration-tester
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.

Any agent
npx skills add pekral/cursor-rules --skill penetration-tester
Clone the repo
git clone --depth 1 https://github.com/pekral/cursor-rules

Made for: Claude Code, Codex.

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/skills/pekral/cursor-rules/penetration-tester/github.svg)](https://agentmods.dev/skills/pekral/cursor-rules/penetration-tester)
Your own site
<a href="https://agentmods.dev/skills/pekral/cursor-rules/penetration-tester"><img src="https://agentmods.dev/badge/skills/pekral/cursor-rules/penetration-tester/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for penetration-tester

Your own site · 80×15
<a href="https://agentmods.dev/skills/pekral/cursor-rules/penetration-tester"><img src="https://agentmods.dev/badge/skills/pekral/cursor-rules/penetration-tester.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,865 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.00081 $0.01865
Opus 5.5 $0.00032 $0.00746
Sonnet 5.5 $0.00016 $0.00373
Haiku 4.5 $0.00008 $0.00186

Measured 1mo ago against content hash 2abb1eb2ba5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

skills/penetration-tester/SKILL.md · 125 lines

How it starts

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

Penetration Tester

Constraints

  • Apply @rules/security/backend.md and @rules/security/frontend.md (and @rules/security/mobile.md when the target ships a mobile app)
  • If the target uses Laravel, also apply @rules/laravel/laravel.mdc
  • Apply @rules/reports/general.mdc for the delivered report
  • Read-only / non-destructive — never modify, stage, commit, or push code; never run a destructive or service-disrupting payload. Output is the assessment report only.
  • Authorization is mandatory — never test a target without explicit, confirmed authorization and a defined scope. Refuse and stop when scope or authorization is missing.
  • Keep every proof of concept minimal and safe; demonstrate impact without causing damage, exfiltrating real data, or persisting access
  • Never reveal or store harvested secrets, tokens, or PII in cleartext in the report — redact them
  • Hard limits: this file stays <= 500 lines and <= 5000 tokens

Use when

  • The user explicitly asks for a penetration test, pentest, ethical-hacking engagement, active exploitation, or red-team assessment
  • An authorized, in-scope target (web app, API, network surface, or infrastructure) is named and the rules of engagement are known
  • The goal is to validate real exploitability and demonstrate impact — not to perform a routine diff review

Do not use when

  • The request is a normal change-set review → use @skills/security-review/SKILL.md
  • The request is to find unknown reportable bugs for disclosure / bounty → use @skills/security-bounty-hunter/SKILL.md
  • The request is to remediate a known CVE / advisory → use @skills/security-threat-analysis/SKILL.md
  • No explicit pentest request, authorization, or scope exists → refuse and ask for scope and authorization first

How this differs from neighbors

  • @skills/security-review/SKILL.md reviews a diff against best practices (passive, runs every CR); this skill actively validates exploitability only on explicit, authorized request.
  • @skills/security-bounty-hunter/SKILL.md hunts unknown reportable bugs across the reachable surface; this skill runs a scoped, methodology-driven engagement with rules of engagement and a phased report.
  • @skills/security-threat-analysis/SKILL.md remediates a known advisory; this skill discovers and proves impact.

Read the full file on GitHub · 125 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. 1mo ago First seen · 125 lines · 81 tokens per session scan A 2abb1eb2ba5e

Subscribe to this mod's changes

penetration-tester is a skill published in the GitHub repository pekral/cursor-rules (11 stars, last pushed 19d ago), licensed MIT. It adds 81 tokens to every session and 1,865 once invoked, about $0.0003 per session on Opus 5.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-31.

Related

Other skills, from other repositories

create-powergrid-plugin

Create a complete PowerGrid plugin from scratch, including PHP class, Column macro, Blade view, Alpine.js component, and registration.

Power-Components/livewire-powergrid · 31 tokens

Laravel Dusk Testing

Expert-level Laravel Dusk browser testing skill for PHP/Laravel applications. Covers Chrome-based E2E testing, browser assertions, Page Objects, component testing, authentication helpers, and database integration.

PramodDutta/qaskills · 44 tokens

laravel

Use when building or extending a Laravel 11/12 app — Eloquent models, migrations and relationships, routing with controllers and Form Requests, queues and background jobs, framework-native security (validation, mass-assignment, policies, signed URLs, rate limiting), and Pest/PHPUnit feature tests. NOT pure PHP…

ericrisco/rsc-harness · 76 tokens

owl-admin-app-dev

Use this skill when developing an application that installed slowlyo/owl-admin, especially backend CRUD, menus, permissions, controllers, services, routes, config/admin.php, app/Admin, helper functions, settings(), adminpages(), AdminPipeline, upload/file preview issues, route conflicts, custom login/menu examples, or…

slowlyo/owl-admin · 114 tokens

owl-admin-devtools-generator

A development guide for Owl Admin, a Laravel-based administration system, covering its code generator, API templates, relationships, and visual pages.

slowlyo/owl-admin · 82 tokens

owl-admin-amis-page

A reference skill for building Owl Admin pages with amis, a system for defining admin interfaces such as forms, tables, filters, and actions through schemas.

slowlyo/owl-admin · 84 tokens