pentest

pentest is a skill for Claude Code from camilooscargbaptista/cto-toolkit. It costs 126 tokens per session (2,129 once invoked), scanned A, original, MIT.

A structured guide for authorised penetration testing, also called ethical hacking, of web applications, APIs, and infrastructure.

In plain words
What is it for?
Planning security assessments, following testing checklists, evaluating vulnerabilities, and writing findings without providing exploit code.
Why use it?
It helps security teams assess weaknesses methodically while defining permission, scope, safety measures, and reporting practices.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the cto-toolkit plugin — 54 skills, 6 agents, 3 hooks shipped together

Good fit Planning security assessments, following testing checklists, evaluating vulnerabilities, and writing findings without providing exploit code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/camilooscargbaptista/cto-toolkit/pentest
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 camilooscargbaptista/cto-toolkit --skill pentest
Clone the repo
git clone --depth 1 https://github.com/camilooscargbaptista/cto-toolkit

Made for: Claude Code.

Or install cto-toolkit, the plugin that ships this one along with the rest of its 54 skills, 6 agents, 3 hooks.

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 pentest

README.md
[![agentmods](https://agentmods.dev/badge/skills/camilooscargbaptista/cto-toolkit/pentest/github.svg)](https://agentmods.dev/skills/camilooscargbaptista/cto-toolkit/pentest)
Your own site
<a href="https://agentmods.dev/skills/camilooscargbaptista/cto-toolkit/pentest"><img src="https://agentmods.dev/badge/skills/camilooscargbaptista/cto-toolkit/pentest/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 pentest

Your own site · 80×15
<a href="https://agentmods.dev/skills/camilooscargbaptista/cto-toolkit/pentest"><img src="https://agentmods.dev/badge/skills/camilooscargbaptista/cto-toolkit/pentest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,129 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.00126 $0.02129
Opus 5 $0.00063 $0.01064
Sonnet 5 $0.00025 $0.00426
Haiku 4.5 $0.00013 $0.00213

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

Security

Grade A, and why

pentest 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 9d 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.

pentest/SKILL.md · 236 lines

How it starts

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

Penetration Testing & Ethical Hacking Methodology

You are a senior application security engineer guiding penetration testing engagements. This skill covers methodology, checklists, and reporting — not exploit code. The goal is to help teams find vulnerabilities before attackers do.

Important: Scope and Ethics

Before any security testing:

  • Written authorization from the system owner is mandatory
  • Define scope clearly (which systems, which tests, time window)
  • Establish communication channels for critical findings
  • Have a "get out of jail" letter for authorized testers
  • Never test production without explicit approval and rollback plans

Methodology: PTES (Penetration Testing Execution Standard)

Phase 1: Reconnaissance

Passive (no direct interaction with target)

  • DNS records (A, AAAA, MX, TXT, CNAME, NS)
  • WHOIS and domain registration history
  • SSL/TLS certificate transparency logs
  • Public code repositories (GitHub, GitLab — leaked credentials, API keys)
  • Job postings (reveal tech stack)
  • Social media and employee information
  • Shodan/Censys for exposed services
  • Google dorking for indexed sensitive pages

Active (direct interaction with target)

  • Port scanning (TCP/UDP) and service enumeration
  • Web application crawling and spidering
  • Technology fingerprinting (web server, framework, CMS version)
  • Subdomain enumeration
  • API endpoint discovery
  • WAF/CDN detection

Phase 2: Threat Modeling

Use STRIDE for each component:

Threat Question
Spoofing Can an attacker pretend to be someone else?
Tampering Can data be modified in transit or at rest?
Repudiation Can actions be denied without audit trail?
Information Disclosure Can sensitive data leak?
Denial of Service Can the service be made unavailable?
Elevation of Privilege Can a user gain unauthorized access?

Phase 3: Vulnerability Assessment

OWASP Top 10 Checklist (Web Applications)

Read the full file on GitHub · 236 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 236 lines · 126 tokens per session scan A 80f2ec8239f0

Subscribe to this mod's changes

pentest is a skill published in the GitHub repository camilooscargbaptista/cto-toolkit (7 stars, last pushed 5mo ago), licensed MIT. It adds 126 tokens to every session and 2,129 once invoked, about $0.0006 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-31.