agentleFS
th3r-devth3r-dev/th3-skills/skills/in-progress/pentesting/SKILL.md

qa-pentesting

Skill3 starsChanged 6 days agoMITView on GitHub

Penetration testing toolkit under qa: plan, scope and execute an authorised pentest with ARTEX (autonomous multi-agent pentest platform), analyse vulnerable dependencies with dependency-vuln-explainer, and practise against known-vulnerable machines. Use WHENEVER the work is "pentest this", "run a security assessment", "test this target", "find vulnerabilities", "is this exploitable", "set up ARTEX", "practice pentesting", "ทดสอบเจาะระบบ", or "ตรวจสอบความปลอดภัย". Read the sub-skill's SKILL.md before acting.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Authorised targets only: Never test a system the user does not own or have written permission to test.

    line 29
  2. Distinctive:

    No production without explicit approval: Default to staging, dev or lab environments.

    line 31
  3. Distinctive:

    No destructive payloads: Prefer detection over exploitation.

    line 33
  4. Distinctive:

    Evidence over claims: Every finding carries the command that produced it and its output.

    line 36
  5. Very specific:

    Read references/artex.md for setup, configuration and the task-creation workflow.

    line 51

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

pentesting — sub-skills

When the work is...Read
"explain this CVE / Dependabot alert", "is this vuln real for us", "reachability"dependency-vuln-explainer/SKILL.md
"pentest this target", "run ARTEX against ...", "autonomous security assessment"This file, sections below
"scan my site", "find vulns on my site", "vulnerability harness", "VDH"harness/vdh/ — recon→hunt→validate→report against your own target
"set up a practice lab", "I want to practise pentesting", "vulnerable machine"references/practice-targets.md
"audit this properly", "coverage", "we scanned it but did we really look", "bug bounty / VDP submission"references/cloudflare-audit.md
"is this agent skill safe to install", "review this skill", "supply chain", "prompt injection in a skill"references/skillspector.md and references/agentic-skills-top10.md
"spawn an agent to do this pentest", "delegate the audit", "subagent brief"references/subagent-brief.md
"multi-agent hunt", "parallel hunters", "orchestrate agents for pentest", "fan out vuln classes"references/multi-agent-hunt.md
"what classes to hunt", "payloads", "tools for SQLi / XSS / SSRF", "fuzzing"references/vuln-classes.md
"write the report", "submit to Bugcrowd / HackerOne", "evidence", "severity rating", "make it readable"references/evidence-report.md

Safety rules (apply to everything under this skill)

  • Authorised targets only. Never test a system the user does not own or have written permission to test. Ask for confirmation of scope before the first offensive action.
  • No production without explicit approval. Default to staging, dev or lab environments. Prod requires the user to say "yes, production" after seeing the risk.
  • No destructive payloads. Prefer detection over exploitation. When exploitation is needed to prove impact, use the minimum payload (write a marker file, print a sentinel) and clean up after.
  • Evidence over claims. Every finding carries the command that produced it and its output. A scanner flag without manual confirmation is "unverified".
  • Secrets stay out of the repo. API keys, tokens, credentials and target IPs go in env vars or gitignored config, never committed.
  • Draft, show, then act. The user reviews the attack plan and the findings report before anything is sent to a third party.

ARTEX integration

ARTEX is an autonomous, LLM-driven, multi-agent pentest platform. A planner splits a goal into intents, workers execute real tools (nmap, nuclei, httpx, katana, ffuf, dalfox, sqlmap), and results go into dual graphs (asset graph + exploration graph). Findings carry evidence from a recording MITM proxy and browser extension.

Read references/artex.md for setup, configuration and the task-creation workflow.

When to use ARTEX

  • Broad surface scan of an authorised target (subdomains, services, endpoints).
  • Automated vulnerability discovery with tool chaining (recon → scan → exploit → verify).
  • Retest: re-run findings after a fix to confirm "fixed" or "still reproducible".

When NOT to use ARTEX

  • Dependency-level analysis (use dependency-vuln-explainer instead).
  • One-off manual checks where a single tool suffices (just run nmap directly).
  • Targets the user has no authorisation for.

Workflow

  1. Scope — confirm target, boundaries, noise profile (quiet|balanced|aggressive), and token/turn budget with the user.
  2. Configure — set ARTEX_TARGETS, approval gates, scope gates in .env. See references/artex.md.
  3. Launch — docker compose up -d --build or ./start.sh.
  4. Create task — in the ARTEX UI or API: goal, target, budget, noise.
  5. Monitor — the planner dispatches intents; workers write back findings. Findings are verified only with bound proof and verbatim evidence.
  6. Report — export the task archive. Summarise: target, scope, findings by severity, evidence, remediation. The report follows the work-report discipline from dependency-vuln-explainer/references/work-report.md.
  7. Retest — after fixes, the retester agent re-runs each finding.

Practice targets

For learning and CTF practice, references/practice-targets.md lists vulnerable machines and platforms by difficulty. These are intentionally vulnerable — never point production tools at them thinking they are safe; they are safe to attack, not safe to expose.

Testing

Structure selfcheck (links, frontmatter, reference sections):

uv run skills/in-progress/pentesting/scripts/check_pentest.py selfcheck

Scenario bench against a live target (DVWA, Juice Shop) with ARTEX in Docker:

cd skills/in-progress/pentesting/harness && docker compose up -d --build
# after ARTEX setup in the UI:
uv run skills/in-progress/pentesting/scripts/bench_pentest.py run --target dvwa
uv run skills/in-progress/pentesting/scripts/bench_pentest.py selftest   # no Docker needed

See references/test-harness.md for the architecture and harness/targets/ for expected-findings per target.

VDP / Bug Bounty

For submitting to programs like NASA VDP on Bugcrowd, read references/vdp-workflow.md — covers scoping, methodology, report format, and what maps from this skill's output to a submission.

Methodology, coverage and skill hygiene

Three references extend the toolkit beyond "run a tool at a target":

  • references/cloudflare-audit.md — the coverage-led audit method (Cloudflare security-audit-skill): build a ledger of every unit of attack surface, hunt from the ledger, then let a fresh verifier try to disprove each candidate. Use it whenever the deliverable is "we audited this", not "we scanned this". A coverage gap is a finding class of its own.
  • references/agentic-skills-top10.md — OWASP AST10, the ten risks in agent skills. A pentesting skill is the highest-privilege skill category that exists: it runs shells and holds credentials, so it is over-privileged by construction. Review third-party skills before installing them.
  • references/skillspector.md — NVIDIA SkillSpector, the automated first pass over a skill directory (71 patterns / 17 categories, OSV CVE lookups, MCP least-privilege and tool-poisoning checks). Pattern-based, therefore bypassable: a clean run is a filter result, not a safety proof.

Delegating to subagents

A subagent does not share this conversation's context, and in offensive security a vague brief is a safety defect: an agent not told its authorization boundary may test an out-of-scope host or claim a finding it never reproduced. Use references/subagent-brief.md — eight mandatory blocks (read-first list, one answerable question, hard scope, forbidden actions, ordered job, exact deliverable paths, style rules, machine-checkable finish line), plus the parallel rules: disjoint write scopes and the finder is never the verifier.

Reporting a finding

Once one finding survives the audit, references/evidence-report.md covers the rest: the submittability gate against the program's exclusion list, what evidence to capture before writing prose (raw request/response plus a negative control, because a status code is not proof), rating it honestly on the VRT P1–P5 ladder, the four submission fields, the humanizer pass over the prose, the attack-path diagram, and the house-style PDF/DOCX build.

Reply to the user

Lead with the scope confirmation or the finding count. Then the report link or path, the ranked findings, and what to fix first.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.