Token导航 LogoToken导航

Agent Skill · 研究检索

pentest(pentest 测试)

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

pentest 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 59,221。

总安装 392周安装 16GitHub Stars 222下载 127核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pentest(pentest 测试)
来源仓库:https://github.com/transilienceai/communitytools
仓库路径:skills/pentest
安装命令:
npx skills add https://github.com/transilienceai/communitytools --skill pentest
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/transilienceai/communitytools --skill pentest

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于辅助测试设计、自动化测试和回归验证。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。适合编写单元测试、端到端测试或根据日志定位问题。使用时需确认项目测试框架、运行命令和夹具数据。避免为了通过测试而改坏真实逻辑,注意区分模拟与生产环境。

pentest 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/pentest

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/transilienceai/communitytools --skill pentest;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

pentest 怎么安装?

在终端执行 npx skills add https://github.com/transilienceai/communitytools --skill pentest。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

pentest 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

pentest 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

pentest 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

pentest 用的人多吗?

公开数据是累计安装 392 次,近一周安装 16 次,下载 127 次,GitHub 222 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

pentest 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
pentest

pentest 测试 · 本页

392222需要联网未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Coordinate penetration testing. Deploy executors, aggregate results, generate reports. Use it when user requests pentesting, security assessment, vulnerability testing, bug bounty hunting.

Workflow

Phase 1: Initialization

  1. Gather scope: Target URL, restrictions, testing window
  2. Create engagement folder: outputs/{engagement-name}/

Phase 2: Reconnaissance (Read reference/RECONNAISSANCE_OUTPUT.md to get outputs format)

  1. Select reconnaissance tools based on asset type (domains, web apps, APIs, network, cloud)
  2. Run tools in parallel using pentest-executor agents
  3. Generate asset-specific inventory files (JSON format per asset type) using the defined output format
  4. Generate the final reconnaissance_report.md file using the defined output format

Phase 3: Planning & Approval (MANDATORY)

  1. Analyze reconnaissance findings from the outputs/{engagement}/reconnaissance/ and the reports.md files
  2. Create test plan: Executors to deploy, attack surface justification, testing approach
  3. Present plan to user via AskUserQuestion
  4. Get explicit approval if not already approved in the first phase: "Approve plan?", "Modify executors?", "Cancel?"
  5. CRITICAL: Do NOT proceed to Phase 4 without user approval

Phase 4: Vulnerability Testing

  1. Deploy approved executors in parallel (single Task call with run_in_background=True)
  2. Monitor progress: Periodic TaskOutput(block=False)
  3. Recursive spawning: New discoveries trigger new executors (ask approval if major change)

Phase 5: Aggregation

  1. Collect findings from all executors
  2. Deduplicate (same vuln + location = duplicate)
  3. Identify exploit chains
  4. Calculate severity metrics

Phase 6: Reporting (Read reference/FINAL_REPORT.md - includes DOCX conversion)

  1. CRITICAL: Create folder structure FIRST: report/ and processed/ with subdirectories
  2. Move ALL working files to processed/: reconnaissance/, findings/, activity/ → processed/
  3. Move ALL intermediate files: ANY.md files, drafts, analysis → processed/intermediate-reports/
  4. Generate markdown report: Use reference/FINAL_REPORT.md template → processed/intermediate-reports/pentest-final-report.md
  5. REQUIRED: Generate.docx: Run pandoc command → report/Penetration-Test-Report.docx (cover page, TOC, body, appendix section)
  6. Optional: Generate PDF: If LaTeX available → report/Penetration-Test-Report.pdf, else skip (DOCX is primary deliverable)
  7. Copy referenced evidence: Organize by finding → report/appendix/finding-{id}/
  8. Create report README: Document deliverables in report/README.md
  9. VERIFY CLEAN STRUCTURE: ls -la outputs/{engagement}/ shows ONLY report/ and processed/
  10. CRITICAL: NO intermediate files in root or report/ - Everything goes to processed/ except final deliverables (.docx,.json, README, appendix/)

What This Skill Does

  1. Attack Index - References 50+ attack types with documentation paths
  2. Methodology Frameworks - PTES, OWASP WSTG, MITRE ATT&CK, Flaw Hypothesis
  3. Coordination - Guides pentester agent to deploy specialized attack agents
  4. Documentation - PortSwigger labs, cheat sheets, quickstarts per attack

Execution: Delegated to specialized agents (SQL Injection Agent, XSS Agent, SSRF Agent, etc.)

Attack Categories

9 categories, 50+ attack types:

  • Injection (6) | Client-Side (6) | Server-Side (6)
  • Authentication (4) | API Security (4) | Web Applications (6)
  • Cloud & Containers (5) | System (3) | IP Infrastructure (8) | Physical & Social (1)

See reference/ATTACK_INDEX.md for complete list with agent mappings.

Reconnaissance Asset Types

Five asset-specific output formats:

  • Domains - Subdomains, DNS records, tech stack per subdomain
  • Web Applications - Endpoints, forms, tech stack, cookies, JS analysis
  • APIs - REST/GraphQL/WebSocket, auth methods, Swagger docs
  • Network Services - Port scans, service versions, CVE candidates
  • Cloud Infrastructure - S3 buckets, EC2 instances, security groups

See reference/RECONNAISSANCE_OUTPUT.md for complete format specifications and JSON schemas.

Final report

See reference/FINAL_REPORT.md for complete format specifications of the final report.

Output Structure

Complete folder organization (See reference/OUTPUT_STRUCTURE.md for details):

outputs/{engagement-name}/
├── report/                         # Complete deliverable package (3 files + appendix)
│   ├── Penetration-Test-Report.docx     # Main report (includes Referenced Files section)
│   ├── Penetration-Test-Report.pdf      # Optional PDF export
│   ├── pentest-report.json              # Machine-readable export
│   └── appendix/                        # Referenced evidence only
│       ├── finding-001/
│       ├── finding-002/
│       └── reconnaissance-summary.json
└── processed/                      # All working/testing artifacts
    ├── reconnaissance/             # Phase 2 outputs
    │   ├── inventory/
    │   ├── analysis/
    │   └── reconnaissance_report.md
    ├── findings/                   # Phase 4 raw findings
    │   └── {finding-id}/
    ├── activity/                   # NDJSON logs
    │   └── {executor-name}.log
    ├── helpers/                    # Testing utilities
    ├── test-frameworks/            # Testing scripts
    └── intermediate-reports/       # Drafts, markdown source, etc.

Critical: report/ = 3 files max + appendix/ subfolder. ALL intermediate files go to processed/.

Methodologies

PTES - 7-phase engagement lifecycle OWASP WSTG - 11 testing categories MITRE ATT&CK - TTP mapping across 14 phases Flaw Hypothesis - Stack analysis → Predict → Test → Generalize → Correlate

Integration

  • /authenticating - Authentication testing workflows
  • /ai-threat-testing - LLM vulnerability testing
  • /domain-assessment - Domain reconnaissance
  • /web-application-mapping - Web app reconnaissance
  • /cve-testing - CVE vulnerability testing

Critical Rules

Testing Rules

  • Orchestration only - Never execute attacks directly
  • Delegate execution - Deploy specialized agents for testing
  • Documentation index - Reference attack folders for techniques
  • Working PoCs required - Specialized agents must provide evidence
  • Activity logging - All agents log actions to NDJSON activity logs

Output Organization Rules (PHASE 6 - CRITICAL)

  • Two-folder structure ONLY: report/ (final deliverables) and processed/ (working files)
  • NO files in engagement root: Everything must be in report/ or processed/
  • Report folder contents: ONLY pentest-report.json, README.md, appendix/ folder (max 2-3 files + 1 folder)
  • ALL intermediate files → processed/:.md files, drafts, analysis, summaries, checklists
  • Reconnaissance → processed/reconnaissance/: ALL recon outputs
  • Findings → processed/findings/: ALL raw finding details
  • Activity logs → processed/activity/: ALL NDJSON logs
  • Test frameworks → processed/test-frameworks/: SQL injection, command injection scripts
  • Markdown reports → processed/intermediate-reports/: pentest-final-report.md, executive-summary.md, etc.
  • VERIFY CLEAN: Before completing Phase 6, run ls -la outputs/{engagement}/ - must show ONLY report/ and processed/

Payload Reference

Each attack category contains a payloads/ subdirectory with curated PATT payloads (<200 lines/file).

  • Browse: attacks/<group>/<category>/payloads/
  • On-demand fetch: patt-fetcher agent → "<category name>"
  • Standard: PATT_STANDARD.md — follow this for future curation sessions
  • P1/P2 stubs: stub files with priority: high/medium — ready to fill next session

平台分布

Codex

37.18%
按下载量换算47

Claude

30.91%
按下载量换算39

Cursor

16.54%
按下载量换算21

Gemini CLI

9.24%
按下载量换算12

安全审计

Gen Agent Trust Hub

未通过

Socket

未通过

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills