Pentest Report logo

Pentest Report

Community
crazyMarky
pentest-report

按照标准格式生成渗透测试报告,包含项目信息表、漏洞发现清单、漏洞详情(含属性表、描述、复现步骤、证据截图、修复建议)、附录(风险等级定义、CVSS说明、词汇表)。当用户要求生成渗透测试报告、安全测试报告、漏洞报告时使用此技能。严格遵循项目模板目录中的标准格式。

Overview

PublishercrazyMarky
Repositorypentest-skills
Skill namepentest-report
Stars
342
Forks
37
Bundled files
2
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by crazyMarky on GitHub. Read the source before you install it.

Installation

Install the Pentest Report AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/crazyMarky/pentest-skills/tree/main/pentest-report
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/crazyMarky/pentest-skills.git /tmp/pentest-skills
mkdir -p .claude/skills
cp -r /tmp/pentest-skills/pentest-report .claude/skills/pentest-report
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Pentest Report in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Pentest Report on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Pentest Report is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

渗透测试报告生成技能

授权声明

本 Skill 仅用于生成授权渗透测试的报告。使用前请确保:

  • 测试已获得目标系统所有者的明确书面授权
  • 所有漏洞发现均来自合法授权的测试活动
  • 报告仅发送给授权人员
  • 遵守当地法律法规和数据保护要求

未经授权的渗透测试是非法行为。


技能用途

在以下情况下使用此技能:

  • 用户要求生成渗透测试报告
  • 用户要求输出安全测试结果
  • 用户需要总结漏洞发现
  • 用户明确提到"按格式生成报告"或"按照模板"

报告格式要求

必需章节

所有报告必须包含以下章节,按顺序排列:

  1. 标题和项目信息表

    • 格式:# 渗透测试报告:[目标系统名称/项目名称]
    • 包含 4 字段表格:测试目标、测试时间、测试人员、报告日期
  2. 漏洞发现清单 (Vulnerability Summary)

    • 表格形式,包含列:ID、漏洞标题、风险等级、状态
    • ID 格式:VL-001, VL-002, VL-003...
    • 风险等级图标:🔴严重、🟠高危、🟡中危、🔵低危、⚪信息
  3. 漏洞详情 (Detailed Findings)

    • 每个漏洞一个独立章节
    • 章节标题:### [VL-XXX] 漏洞标题
    • 必须包含 4 个子章节:
      • #### 2.1 漏洞描述
      • #### 2.2 复现步骤 (Proof of Concept)
      • #### 2.3 证据截图
      • #### 2.4 修复建议
  4. 附录 (Appendix)

    • ### 3.1 风险等级定义 - 风险等级表格
    • ### 3.2 CVSS 评分说明 - CVSS v3.1 说明
    • ### 3.3 泄露凭证列表(如有)
    • ### 3.4 测试工具参考 - 工具表格
    • ### 3.5 词汇表
    • ### 3.6 参考文档
  5. 报告签署

    • 测试人员信息
    • 免责声明

漏洞详情章节格式

每个漏洞章节必须以属性表格开始:

markdown
| 属性 | 详情 |
| :--- | :--- |
| **风险等级** | 🔴 **严重 (Critical)** / 🟠 **高危 (High)** / 🟡 **中危 (Medium)** / 🔵 **低危 (Low)** |
| **CVSS 评分** | 0.0 - 10.0 |
| **漏洞类型** | [漏洞类型] |
| **受影响URL** | `[完整URL]` |
| **参数** | `[参数名]`(如有)|

代码块格式

  • HTTP 请求使用 http 语言标识
http
POST /api/login HTTP/1.1
Host: example.com
Content-Type: application/json

{"username":"admin","password":"123456"}
  • Bash 命令使用 bash 语言标识
bash
sqlmap -u "http://target.com" --dbs
  • PHP 代码使用 php 语言标识
php
$stmt = $pdo->prepare("SELECT * FROM users WHERE id = ?");
$stmt->execute([$id]);

工作流程

生成渗透测试报告时遵循以下步骤:

步骤 1: 收集信息

从用户获取以下信息:

  • 测试目标(URL 或系统名称)
  • 测试日期范围
  • 测试人员信息
  • 发现的漏洞列表
  • 每个漏洞的详细信息(类型、影响、证据、PoC)

步骤 2: 确定漏洞 ID

为每个漏洞分配 ID:

  • 第一个漏洞:VL-001
  • 第二个漏洞:VL-002
  • 以此类推

步骤 3: 评估风险等级

根据 CVSS 评分确定风险等级:

CVSS 范围风险等级图标
9.0 - 10.0严重 (Critical)🔴
7.0 - 8.9高危 (High)🟠
4.0 - 6.9中危 (Medium)🟡
0.1 - 3.9低危 (Low)🔵
0.0信息 (Info)⚪

步骤 4: 生成报告主体

按以下顺序生成:

  1. 项目信息表 - 填充 4 个必需字段

  2. 漏洞发现清单 - 创建表格,包含所有漏洞的摘要信息

  3. 漏洞详情 - 为每个漏洞创建独立章节:

    • 属性表格(风险等级、CVSS、类型、URL、参数)
    • 2.1 漏洞描述(2-3 段,说明原理、影响、危害)
    • 2.2 复现步骤(详细的步骤,包含 HTTP 请求和命令)
    • 2.3 证据截图(占位符或描述)
    • 2.4 修复建议(包含错误和正确代码示例)
  4. 附录 - 按模板包含所有必需子章节

步骤 5: 验证格式

生成报告后检查:

  • 标题格式正确
  • 项目信息表包含 4 个字段
  • 漏洞发现清单包含 ID、标题、风险等级、状态
  • 每个漏洞有属性表格
  • 每个漏洞有 4 个子章节(2.1-2.4)
  • 附录包含所有必需子章节
  • 风险等级使用正确的图标
  • 代码块使用正确的语言标识

步骤 6: 输出报告

将生成的报告保存到用户的 reports 目录:

/Users/huimingliao/Documents/code/pentest-skills/reports/

文件命名格式:

pentest_report_[目标系统]_[日期].md

重要注意事项

必须遵守的格式规则

  1. 表格格式:所有表格必须包含表头分隔行 | :--- | :--- |
  2. 风险等级图标:必须使用指定的 emoji 图标
  3. 章节编号:严格遵守 2.1、2.2、2.3、2.4 的子章节编号
  4. 代码语言:所有代码块必须指定语言标识
  5. ID 格式:漏洞 ID 必须是 VL-XXX 格式,3 位数字

避免常见错误

❌ 不要省略附录章节 ❌ 不要混合使用不同的风险等级表示方式 ❌ 不要在属性表中缺少必需字段 ❌ 不要在复现步骤中省略 HTTP 请求示例 ❌ 不要在修复建议中只提供文字说明(必须包含代码示例)

✅ 每个漏洞必须包含完整的 4 个子章节 ✅ 修复建议必须包含代码对比(错误 vs 正确) ✅ 所有表格必须有正确的 Markdown 格式 ✅ 必须包含免责声明


模板资源位置

  • 报告模板:/Users/huimingliao/Documents/code/pentest-skills/templates/pentest_report_template.md
  • 参考报告:/Users/huimingliao/Documents/code/pentest-skills/reports/pentest_report_localhost_9999_v2.md
  • 报告目录:/Users/huimingliao/Documents/code/pentest-skills/reports/

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Pentest Report AI skill do?

按照标准格式生成渗透测试报告,包含项目信息表、漏洞发现清单、漏洞详情(含属性表、描述、复现步骤、证据截图、修复建议)、附录(风险等级定义、CVSS说明、词汇表)。当用户要求生成渗透测试报告、安全测试报告、漏洞报告时使用此技能。严格遵循项目模板目录中的标准格式。

Why use Pentest Report on TypingMind?

Because you install it once and use it with any model. Pentest Report is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Pentest Report in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/crazyMarky/pentest-skills/tree/main/pentest-report. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Pentest Report?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Pentest Report?

As many as you like. As long as a model supports skills, you can use Pentest Report with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Pentest Report AI skill free?

Yes. It is published on GitHub by crazyMarky under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇