Javasinktracer MCP
J

Javasinktracer MCP

A Java source code vulnerability auditing tool based on function-level taint analysis. It provides security analysis capabilities for AI assistants through the MCP protocol, supporting the detection of multiple vulnerability types and call chain tracing.
2.5 points
5.6K

What is JavaSinkTracer MCP?

JavaSinkTracer MCP is an intelligent Java source code security analysis tool specifically designed for AI assistants (such as Claude). It can automatically scan Java projects, trace back from dangerous functions to external input sources, and discover potential security vulnerability chains. Through the integration of the Model Context Protocol (MCP), you can directly use natural language commands in AI conversations for code security auditing.

How to use JavaSinkTracer MCP?

Using JavaSinkTracer MCP is very simple: First, install the Python dependencies and configure Claude Desktop, then restart Claude. After the configuration is completed, you can directly request the AI assistant in the conversation to scan the security vulnerabilities of the Java project, and the AI will automatically call the corresponding analysis tool and return the results.

Applicable scenarios

JavaSinkTracer MCP is particularly suitable for the following scenarios: 1. Quickly check code security during the development process 2. Assist in discovering potential vulnerabilities during code review 3. Learn the principles and detection methods of Java security vulnerabilities 4. Demonstrate code security analysis in an educational environment 5. Security assessment of small to medium-sized Java projects

Main features

Intelligent vulnerability scanning
Automatically trace back from dangerous functions (such as Runtime.exec, Statement.execute) to external entry points (such as HttpServletRequest.getParameter) to discover potential security vulnerability chains. It supports the detection of 13 common vulnerability types.
Call graph analysis
Build a complete function call relationship graph for Java projects, supporting call tracing across files and classes. Visualize the call relationships between functions to help understand the code structure.
Function-level taint analysis
Adopt an innovative function-level taint analysis technology to effectively avoid the chain break problem of traditional variable-level analysis in complex scenarios (threads, reflection, callbacks), and improve the analysis coverage.
Intelligent code extraction
Automatically extract the complete source code of each function on the vulnerability chain for in-depth analysis by humans or AI. Support on-demand extraction to avoid loading too much code at once.
Support for mainstream frameworks
Support the vulnerability detection rules of mainstream Java frameworks such as Spring Boot, MyBatis, Fastjson, OkHttp, and Log4j to improve the analysis accuracy of actual projects.
AI assistant integration
Seamlessly integrate with AI assistants such as Claude through the MCP protocol. You can perform complex security analysis using natural language, reducing the usage threshold.
Advantages
No complex configuration required: It can be used through AI conversations, reducing the technical threshold.
Intelligent analysis: Combine the understanding ability of AI to provide more accurate analysis results.
Efficient tracing: Function-level taint analysis effectively handles complex call scenarios.
Comprehensive coverage: Support 13 common vulnerability types and mainstream Java frameworks.
Cache optimization: Use the cache after the first analysis to significantly improve the speed of subsequent analyses.
Limitations
Possible false positives: Function-level analysis may produce certain false positives, which need to be confirmed by AI or humans.
Slow first analysis: It takes time to build the AST and call graph for large projects for the first time.
Dependent on Claude Desktop: You need to configure Claude Desktop to use it.
Not suitable for binary analysis: Only support Java source code analysis.

How to use

Install dependencies
Ensure that Python 3.8+ is installed, then install the dependency packages required by the project.
Configure Claude Desktop
Edit the Claude Desktop configuration file according to the operating system and add the MCP server configuration.
Restart Claude Desktop
After saving the configuration file, restart the Claude Desktop application to make the configuration take effect.
Start using
In the Claude conversation, use natural language commands to request security analysis.

Usage examples

Comprehensive security audit
Conduct a comprehensive security vulnerability scan on a newly developed Java Web application to discover potential security risks.
Targeted vulnerability detection
Detect specific types of vulnerabilities, such as SQL injection and command execution vulnerabilities.
Vulnerability confirmation analysis
Conduct in-depth analysis of the discovered vulnerabilities to confirm whether they are real vulnerabilities.
Code structure understanding
Understand the code structure and function call relationships of complex projects through call graph analysis.

Frequently asked questions

What should I do if the tool is not displayed in Claude?
What should I do if the analysis speed of large projects is very slow?
What should I do if there are false positives in the analysis results?
Which Java versions are supported?
How to add custom vulnerability detection rules?
Can the tool be used offline?

Related resources

Video demonstration
A practical usage demonstration video of JavaSinkTracer MCP.
GitHub repository
The source code and detailed documentation of the JavaSinkTracer project.
MCP protocol documentation
The official documentation and specifications of the Model Context Protocol.
Claude Desktop configuration guide
The official usage and configuration guide for Claude Desktop.
CWE vulnerability classification
The Common Weakness Enumeration (CWE) vulnerability classification standard.

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "javasinktracer": {
      "command": "python",
      "args": [
        "/path/to/JavaSinkTracer/mcp_server.py"
      ],
      "description": "Java源代码漏洞审计工具 - 基于函数级污点分析"
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

V
Vestige
Vestige is an AI memory engine based on cognitive science. By implementing 29 neuroscience modules such as prediction error gating, FSRS - 6 spaced repetition, and memory dreaming, it provides long - term memory capabilities for AI. It includes a 3D visualization dashboard and 21 MCP tools, runs completely locally, and does not require the cloud.
Rust
6.0K
4.5 points
M
Moltbrain
MoltBrain is a long-term memory layer plugin designed for OpenClaw, MoltBook, and Claude Code, capable of automatically learning and recalling project context, providing intelligent search, observation recording, analysis statistics, and persistent storage functions.
TypeScript
7.0K
4.5 points
B
Bm.md
A feature-rich Markdown typesetting tool that supports multiple style themes and platform adaptation, providing real-time editing preview, image export, and API integration capabilities
TypeScript
14.2K
5 points
S
Security Detections MCP
Security Detections MCP is a server based on the Model Context Protocol that allows LLMs to query a unified security detection rule database covering Sigma, Splunk ESCU, Elastic, and KQL formats. The latest version 3.0 is upgraded to an autonomous detection engineering platform that can automatically extract TTPs from threat intelligence, analyze coverage gaps, generate SIEM-native format detection rules, run tests, and verify. The project includes over 71 tools, 11 pre-built workflow prompts, and a knowledge graph system, supporting multiple SIEM platforms.
TypeScript
5.8K
4 points
P
Paperbanana
Python
7.2K
5 points
B
Better Icons
An MCP server and CLI tool that provides search and retrieval of over 200,000 icons, supports more than 150 icon libraries, and helps AI assistants and developers quickly obtain and use icons.
TypeScript
8.6K
4.5 points
A
Assistant Ui
assistant - ui is an open - source TypeScript/React library for quickly building production - grade AI chat interfaces, providing composable UI components, streaming responses, accessibility, etc., and supporting multiple AI backends and models.
TypeScript
7.0K
5 points
A
Apify MCP Server
The Apify MCP Server is a tool based on the Model Context Protocol (MCP) that allows AI assistants to extract data from websites such as social media, search engines, and e-commerce through thousands of ready-to-use crawlers, scrapers, and automation tools (Apify Actors). It supports OAuth and Skyfire proxy payment and can be integrated into MCP clients such as Claude and VS Code through HTTPS endpoints or local stdio.
TypeScript
8.1K
5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
36.9K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
25.7K
4.3 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
76.2K
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
22.6K
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
36.0K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
67.3K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
50.3K
4.8 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
22.9K
4.5 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2026AIBase