AI Pentesting

Use AI agents to autonomously conduct penetration tests on web applications. Combine LLM reasoning with security tools (nmap, subfinder, nuclei, sqlmap, browser automation) to find and prove vulnerabilities with minimal human intervention.

Overview

The AI Pentesting skill, hosted within the TerminalSkills/skills repository, enables autonomous security assessments of web applications. By integrating large language model reasoning with industry-standard security utilities, this skill allows agents like Claude, Gemini, and Codex to perform complex vulnerability discovery. The system utilizes tools such as nmap for network scanning, subfinder for subdomain discovery, and nuclei for template-based scanning. It further incorporates sqlmap and browser automation to identify and validate security flaws with minimal human oversight. This implementation, part of a project with 71 stars on GitHub, provides a structured approach for AI agents to conduct end-to-end security reviews, leveraging Python-based automation to bridge the gap between LLM intelligence and practical security tooling.

Use Cases

Automated discovery of subdomains and open ports on target web applications.
Identification and proof-of-concept validation for SQL injection vulnerabilities.
End-to-end security scanning using browser automation to simulate user interactions.

Install Notes

# Review source first
open https://github.com/TerminalSkills/skills/blob/main/skills/ai-pentesting/SKILL.md

Copy or clone the skill folder into your agent skills directory after reviewing its instructions and scripts.

Security Notes

This skill executes active security scanning tools and browser automation, which may trigger defensive alerts or impact target system stability. Users should ensure they have explicit authorization before deploying these autonomous agents against any infrastructure, as the LLM-driven reasoning process may perform unpredictable sequences of security tests.

Related Skills

Security And Hardening

addyosmani/agent-skills

Security

Hardens code against vulnerabilities. Use when auditing an input handler for vulnerabilities, when handling user input, authentication, data storage, or external integrations, or when checking a login flow is safe against the OWASP Top Ten. Use when building any feature that accepts untrusted data, manages user sess...

securityreview
97,909 StarsMIT

Mermaid To Proverif

trailofbits/skills

Security

Translates Mermaid sequenceDiagrams describing cryptographic protocols into ProVerif formal verification models (.pv files). Use when generating a ProVerif model, formally verifying a protocol, converting a Mermaid diagram to ProVerif, verifying protocol security properties (secrecy, authentication, forward secrecy)...

Claude CodeClaude
securityresearch
7,190 StarsSource linked

Testing Handbook Generator

trailofbits/skills

Security

Generates Claude Code skills from the Trail of Bits Testing Handbook (appsec.guide), analyzing handbook pages and emitting SKILL.md files with the structure each skill type requires. Use when creating or refreshing a skill from handbook content, or when the user names the testing handbook or appsec.guide. Not for an...

Claude CodeClaude
securitytesting
7,190 StarsSource linked

Semgrep

trailofbits/skills

Security

Runs a Semgrep security scan over a codebase: detects languages, selects rulesets, presents the plan for explicit approval, then runs every approved ruleset through scripts/run-scans.sh, which batches the semgrep processes and writes scans.json, and merges the output to SARIF. Supports two scan modes, "run all" for...

Claude CodeClaude
pythonsecurity
7,190 StarsSource linked

Audit Augmentation

trailofbits/skills

Security

Augments Trailmark code graphs with external audit findings from SARIF static analysis results, weAudit annotation files, and version-gated Trailmark 0.4.x binary-analysis graph exports. Maps findings to graph nodes by file and line overlap, creates severity-based subgraphs, and enables cross-referencing findings wi...

Claude CodeClaude
pythonsecurity
7,190 StarsSource linked

Diagramming Code

trailofbits/skills

Security

Generates Mermaid diagrams from Trailmark code graphs. Produces call graphs, class hierarchies, module dependency maps, containment diagrams, complexity heatmaps, and attack surface data flow visualizations. Use when visualizing code architecture, drawing call graphs, generating class diagrams, creating dependency m...

Claude CodeClaude
pythonsecurity
7,190 StarsSource linked