Back to Home
cqfn icon

aibolit-mcp-server

by cqfn

Overview

A server for AI agents to identify the most critical design issues in Java code using the Aibolit static analyzer.

Installation

Run Command
npx aibolit-mcp-server

Security Notes

The `aibolit` function (src/aibolit.ts) directly passes the `path` argument, which originates from user input through the MCP server's `find_the_most_critical_design_issue` tool, into a shell command executed via `child_process.execSync`. This is done without proper sanitization or escaping of the path. This creates a severe command injection vulnerability, allowing an attacker to execute arbitrary shell commands if they can control the `path` input (e.g., by injecting shell metacharacters).

Similar Servers

Stats

Interest Score41
Security Score2
Cost ClassLow
Avg Tokens100
Stars21
Forks5
Last Update2025-12-02

Tags

AI Agent ToolJava Code AnalysisMCP ServerStatic AnalysisCode Quality