# Pentest engagement

> Pentest engagement is an open-source agent skill for security. Runs scoped web or network penetration tests with coverage tracking and a PDF report. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/transilienceai/communitytools/tree/main/skills/pentest-engagement
- **Repository:** https://github.com/transilienceai/communitytools
- **GitHub stars:** 641
- **License:** MIT
- **Skill name:** pentest-engagement
- **Collection:** https://github.com/transilienceai/communitytools
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-02

## About

This skill orchestrates a scoped penetration engagement in one of two modes. Web mode expands an apex domain into its discovered attack surface, then works through OWASP attack classes with active but reversible testing, validating each candidate finding before it is kept. Network mode takes a list of IPs or CIDR ranges, splits them into batches, and runs nmap-based host discovery, port and service scans, and CVE surfacing, writing a consistent per-host output tree before deeper review of the highest-value hosts.

The workflow is built around an attack-class coverage matrix. A class only counts as covered when it has a validated finding, a justified not-applicable note, or a genuine negative result, so the run continues until applicable areas are tested. Reports are assembled deterministically from validated findings and rendered as a PDF in a Transilience style or through a custom command. Credentials are referenced by environment variable name only and read from a local .env file.

The skill expects a written scope file or an inline scope, along with a Python 3 environment for its helper tools. Network scans depend on nmap and related scanners being available on the host running the workflow.

## When your agent uses it

> Run a professional penetration engagement OR a network vulnerability scan from a scope. WEB mode (apex domains / app URLs) — mandatory surface expansion, systematic OWASP attack-class coverage, reversible active exploitation, authoritative validation, Transilience PDF. NETWORK mode (a list of IPs/CIDRs, e.g. 1500 hosts) — machine-prudent BATCHED tool-first nmap sweep (host discovery + bounded common+less-common port/service scan + CVE surfacing) with a uniform per-IP output tree, then bounded deep-dives on the highest-value hosts. The general (non-CTF) analogue of hackthebox/htb-solve.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/transilienceai/communitytools/tree/HEAD/skills/pentest-engagement)
- [License: MIT](https://github.com/transilienceai/communitytools/tree/HEAD/skills/pentest-engagement)

## Features

- **Surface expansion:** Discovers subdomains, certificate-log entries and origin hosts behind CDNs or WAFs for each in-scope domain.
- **Batched network scanning:** Splits IP and CIDR lists into slices and runs host discovery, port scanning and service detection in parallel batches.
- **Attack-class coverage matrix:** Tracks each OWASP-style attack class per asset and keeps testing until applicable classes are covered by validated results.
- **Per-finding validation:** Checks each candidate finding on fresh agents before it is kept, removing findings that do not hold up.
- **CVE surfacing:** Runs vulnerability scripts and nuclei, then enriches CVE identifiers with NVD data.
- **Deterministic PDF reporting:** Assembles the report from validated findings and renders it through a fixed generator, with an attack pattern coverage section.

## Good for

- Run a web penetration test against a set of company domains and their APIs
- Scan a list of 1,500 IP addresses for live services and known vulnerabilities
- Map the external attack surface of an apex domain before testing
- Produce a PDF pentest report from validated findings for a client
- Prioritise hosts in a network sweep for deeper manual-style review

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/pentest-engagement` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/pentest-engagement &&
cp -R "$tmp/skills/pentest-engagement" ~/.claude/skills/pentest-engagement &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/pentest-engagement` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/pentest-engagement` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/pentest-engagement &&
cp -R "$tmp/skills/pentest-engagement" ~/.agents/skills/pentest-engagement &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/pentest-engagement` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/pentest-engagement` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/pentest-engagement &&
cp -R "$tmp/skills/pentest-engagement" ~/.cursor/skills/pentest-engagement &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/pentest-engagement` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/transilienceai/communitytools.git --path skills/pentest-engagement
```

Or copy the folder to `~/.gemini/skills/pentest-engagement` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/pentest-engagement`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/pentest-engagement &&
cp -R "$tmp/skills/pentest-engagement" ~/.copilot/skills/pentest-engagement &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/pentest-engagement` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/transilienceai/communitytools.git
```

Then copy `communitytools/skills/pentest-engagement` into your agent's skills folder as `pentest-engagement`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

A scope defined as apex domains and asset URLs for web mode, or a list of IPs and CIDRs for network mode. Credentials are referenced by environment variable name and read from a repo .env file.

### Does Pentest engagement run intrusive tests?

Active exploitation is limited to reversible actions. Destructive operations, denial of service, brute force and out-of-scope tenants are prohibited by the rules of engagement.

### How does Pentest engagement choose between web and network mode?

The workflow detects the mode from the scope in its setup phase: predominantly IP addresses or CIDRs lead to network mode, and domains or app URLs lead to web mode.

### What does the report contain?

Only validated or repaired findings appear in the report, along with an attack pattern coverage section. Rejected and dropped candidates are excluded.

### How do I install Pentest engagement in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/pentest-engagement to use it in all your projects, or to .claude/skills/pentest-engagement in one project.

### Does Pentest engagement run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Pentest engagement?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Pentest engagement?

The closest alternatives to Pentest engagement are Reconnaissance, Coordination, Infrastructure, Systematic attacking and Ad methodology.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Reconnaissance](https://ai-powered.com/skills/reconnaissance): Reconnaissance is an open-source agent skill for security.
- [Coordination](https://ai-powered.com/skills/coordination): Coordination is an open-source agent skill for security.
- [Infrastructure](https://ai-powered.com/skills/infrastructure): Infrastructure is an open-source agent skill for security.
- [Systematic attacking](https://ai-powered.com/skills/systematic-attacking): Systematic attacking is an open-source agent skill for security.
- [Ad methodology](https://ai-powered.com/skills/ad-methodology): Ad methodology is an open-source agent skill for security.
- [Essential tools](https://ai-powered.com/skills/essential-tools): Essential tools is an open-source agent skill for security.
- [Hackerone](https://ai-powered.com/skills/hackerone): Hackerone is an open-source agent skill for security.
- [Attack path stitcher](https://ai-powered.com/skills/attack-path-stitcher): Attack path stitcher is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/pentest-engagement
