MCP Vulnerability Reporting

MCP Vulnerability Reporting

Professional vulnerability report generator that creates standardized, well-formatted security reports with AI-generated content, supporting CVSS scoring, evidence management, and markdown export.

Category
访问服务器

README

MCP Vulnerability Reporting

Professional vulnerability report generator for security assessments. This MCP server creates standardized, well-formatted security reports following industry best practices.

⚠️ IMPORTANT: AI-Generated Content

This MCP does not use pre-written templates. Instead, the AI (Claude) generates all report content based on the specific vulnerability instance. The report structure follows the template format from /Users/orhanyildirim/Desktop/mcp-browser-injection-extented/report.md, but the content is dynamically created for each unique finding.

What the AI Generates:

  • ✅ Vulnerability Overview (educational description of the vulnerability type)
  • ✅ Specific Findings (detailed analysis of this instance)
  • ✅ Steps to Reproduce (customized for the target application)
  • ✅ Recommendations (actionable remediation guidance)
  • ✅ Impacts (business and technical impact analysis)
  • ✅ References (OWASP, CWE, security resources)

Features

  • AI-Powered Content Generation: Claude generates comprehensive, contextual report content for each vulnerability
  • Template Structure Compliance: Maintains the exact format from your report template
  • Flexible Content: Adapts to different vulnerability types, severities, and application contexts
  • CVSS Scoring: Automated CVSS v3.1 score and vector calculation
  • Evidence Management: Support for screenshots, HTTP requests/responses, PoC code
  • Markdown Export: Professional markdown reports ready for bug bounty submissions or pentest deliverables
  • Reference Database: Fallback to default OWASP/CWE references if AI doesn't provide custom ones

Installation

npm install
npm run build

Usage with Claude Desktop

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "browser-automation": {
      "command": "node",
      "args": ["/Users/your-username/Desktop/mcp-browser-injection-extented/dist/index.js"]
    },
    "vulnerability-reporting": {
      "command": "node",
      "args": ["/Users/your-username/Desktop/mcp-vulnerability-reporting/dist/index.js"]
    }
  }
}

Tools Available

1. create_vulnerability_report

Creates a new vulnerability report with AI-generated content following the template structure.

IMPORTANT: The AI must generate all content sections. This tool does NOT use pre-written templates.

Parameters:

  • vulnerability: Object containing vulnerability details

    • type: Vulnerability type (e.g., SQL_INJECTION, XSS, SSTI)
    • severity: Severity level (Critical, High, Medium, Low, Informational)
    • url: Target URL
    • parameter: Vulnerable parameter name
    • payload: Successful payload
    • affectedEndpoint (optional): Specific endpoint
    • method (optional): HTTP method
  • overview: AI-GENERATED - General description of the vulnerability type (what is it, how does it work, why is it dangerous)

  • findings: Object with specific findings

    • specificDescription: AI-GENERATED - Detailed description of this specific instance
    • detectedBehaviors: Array of observed behaviors (from testing)
    • confidence: Detection confidence level
  • stepsToReproduce: AI-GENERATED - Array of step-by-step reproduction instructions

  • recommendations: AI-GENERATED - Array of remediation recommendations with format:

    • "- **Bold Header**: Detailed explanation"
  • impacts: AI-GENERATED - Array of potential impacts with format:

    • "- **Bold Header**: What could happen"
  • references (optional): Array of security references

    • If not provided, template defaults are used

Returns: Report ID for future operations

2. add_evidence_to_report

Adds evidence to an existing report.

Parameters:

  • reportId: Target report ID
  • evidenceType: Type of evidence (screenshot, request, response, poc, code)
  • content: Evidence content or file path
  • description: Evidence description

3. calculate_cvss_score

Calculates CVSS score and vector for a report.

Parameters:

  • reportId: Target report ID

4. export_report

Exports report as markdown file.

Parameters:

  • reportId: Report ID to export
  • outputPath: Output file path

5. list_reports

Lists all generated reports.

6. get_report_preview

Previews report in markdown format.

Parameters:

  • reportId: Report ID to preview

7. get_report_template

Gets the exact report template format that AI should follow. Use this before creating reports to understand the required structure.

Parameters: None

Returns: The template with detailed formatting instructions for AI content generation

Example Workflow with Browser MCP

Here's how to use both MCPs together. Claude generates all report content:

User: "Test https://vulnerable-site.com/login for SQL injection and create a professional report"

Claude uses Browser MCP:
1. browser_navigate({ url: "https://vulnerable-site.com/login" })
2. browser_test_payload({
     targetSelector: "#username",
     payload: "' OR 1=1--",
     submitSelector: "#login"
   })
   // Returns: { isVulnerable: true, confidence: "high", detectedBehaviors: [...] }

3. browser_screenshot({ path: "./evidence/sqli-bypass.png" })

Claude uses Reporting MCP (AI GENERATES ALL CONTENT):
4. get_report_template()
   // Returns: Template with exact structure and formatting requirements

5. create_vulnerability_report({
     vulnerability: {
       type: "SQL_INJECTION",
       severity: "Critical",
       url: "https://vulnerable-site.com/login",
       parameter: "username",
       payload: "' OR 1=1--",
       method: "POST"
     },

     // AI WRITES THIS OVERVIEW:
     overview: "SQL Injection is a code injection technique that exploits security vulnerabilities in an application's database layer. This vulnerability occurs when user-supplied input is incorporated into SQL queries without proper sanitization...",

     findings: {
       // AI WRITES THIS SPECIFIC DESCRIPTION:
       specificDescription: "The login form at /login endpoint is vulnerable to SQL injection via the username parameter. The application directly concatenates user input into SQL queries without using parameterized statements...",
       detectedBehaviors: ["SQL_ERROR_MESSAGE", "AUTHENTICATION_BYPASS"],
       confidence: "high"
     },

     // AI GENERATES THESE STEPS:
     stepsToReproduce: [
       "Navigate to https://vulnerable-site.com/login",
       "In the username field, enter: ' OR 1=1--",
       "In the password field, enter any value",
       "Click the login button",
       "Observe successful authentication bypass",
       "Verify by checking session cookie"
     ],

     // AI WRITES THESE RECOMMENDATIONS:
     recommendations: [
       "- **Use Parameterized Queries**: Implement prepared statements with parameterized queries for all database interactions...",
       "- **Input Validation**: Implement strict server-side input validation...",
       "- **Principle of Least Privilege**: Configure database accounts with minimal permissions..."
     ],

     // AI WRITES THESE IMPACTS:
     impacts: [
       "- **Complete Authentication Bypass**: An attacker can bypass the login mechanism entirely...",
       "- **Sensitive Data Exfiltration**: Using UNION-based attacks, attackers can extract database contents...",
       "- **Database Manipulation**: Attackers could modify or delete records..."
     ]
   })

6. add_evidence_to_report({
     reportId: "vuln_report_xxx",
     evidenceType: "screenshot",
     content: "./evidence/sqli-bypass.png",
     description: "Authentication Bypass - Successfully logged in as admin"
   })

7. calculate_cvss_score({ reportId: "vuln_report_xxx" })

8. export_report({
     reportId: "vuln_report_xxx",
     outputPath: "./reports/sql-injection-login-bypass.md"
   })

See USAGE_EXAMPLE.md for a complete detailed example.

Report Format

Reports follow the exact template structure from /Users/orhanyildirim/Desktop/mcp-browser-injection-extented/report.md:

## Vulnerability Overview
[AI-generated general description of vulnerability type]

### Finding Details
[AI-generated specific findings for this instance]

### Steps To Reproduce
1. [AI-generated step]
2. [AI-generated step]
...

## Recommendations
To address this finding, implement the following:
[AI-generated recommendations with bold headers]

## References
See the following for more information:
[AI-generated or template default references]

## Impacts
If not addressed, this finding could lead to the following:
[AI-generated impacts with bold headers]

How It Works

  1. Template Loading: MCP reads report.md template from its directory
  2. AI Reads Template: Use get_report_template() to see the exact structure required
  3. Template Structure: The markdown format is fixed and matches your report template exactly
  4. AI Content: Claude generates all descriptive content based on:
    • The specific vulnerability found during testing
    • Security best practices and industry standards
    • Context from the target application
    • Severity and confidence levels
    • Template format guidelines
  5. Flexibility: Content adapts to different vulnerability types, applications, and contexts
  6. Fallback References: If AI doesn't provide custom references, the vulnerability database provides defaults for common types (SQL Injection, XSS, SSTI, Command Injection, NoSQL, LDAP, XXE)

Development

# Run in development mode
npm run dev

# Build for production
npm run build

# Run production build
npm start

Architecture

  • index.ts: Main MCP server implementation
  • vulnerability-db.ts: Vulnerability knowledge base with templates
  • dist/: Compiled JavaScript output

Integration with Browser Automation MCP

This MCP is designed to work seamlessly with the mcp-browser-injection-extended MCP server. The browser MCP handles:

  • Automated vulnerability testing
  • Payload generation and testing
  • Evidence collection (screenshots, HTTP responses)

The reporting MCP then transforms those findings into professional security reports.

License

MIT

Contributing

Contributions welcome! Please submit issues and pull requests.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选