Back to Home
irockel icon

tda

by irockel

Overview

Headless analysis of Java thread dumps for diagnosing performance issues, deadlocks, and virtual thread problems, primarily for integration with AI agents or automated pipelines.

Installation

Run Command
java -Djava.awt.headless=true -jar path/to/tda.jar --mcp

Environment Variables

  • BROWSER

Security Notes

The `parse_log` tool accepts an arbitrary file path, which could lead to unauthorized local file reading if the input is not strictly validated (e.g., preventing directory traversal). The `Browser.open` utility, used for opening external links (e.g., from welcome page or help dialogs), uses `Runtime.getRuntime().exec` to launch an external browser, which introduces a command injection risk if the URL argument can be manipulated to execute arbitrary commands, especially if the `BROWSER` environment variable is hijacked or misconfigured. This server is intended for local process communication, but the lack of input sanitization for file paths and external command execution makes it vulnerable if the AI agent is compromised or given malicious instructions.

Similar Servers

Stats

Interest Score51
Security Score3
Cost ClassMedium
Avg Tokens750
Stars529
Forks95
Last Update2026-01-19

Tags

Thread Dump AnalysisJavaPerformance MonitoringAI IntegrationMCP Server