Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacyΒ© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
T-MAP β€” Trajectory-aware evolutionary search framework for red-teaming LLM agents over MCP servers, generating adversarial prompts to map vulnerability landscapes across risk categories. | Kitploit
Tools/GitHubGitHub/pwnhyo/t-map
Vulnerability AnalysisPenetration TestingMachine LearningRed TeamingAI SecurityAdversarial Attack
GitHubpwnhyo/t-map

T-MAP

Trajectory-aware evolutionary search framework for red-teaming LLM agents over MCP servers, generating adversarial prompts to map vulnerability landscapes across risk categories.

View Repository
183848 months agoNot yet reviewed

Most Popular

View all β†’

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    914
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    909
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    686
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    457
  • 5

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    405
  • 6

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    384

Explore all tools

Browse our collection of tools

View all tools β†’
Share

T-MAP: Red-Teaming LLM Agents with Trajectory-aware Evolutionary Search

arXiv

T-MAP Overview

T-MAP is a trajectory-aware evolutionary search framework for red-teaming LLM agents over MCP servers. It iteratively generates and mutates adversarial prompts guided by execution trajectories, mapping the agent's vulnerability landscape across diverse risk categories and attack styles.


πŸ”§ Setup

pip install -r requirements.txt

Requirements: Python 3.11+, API keys for attacker and target models, access to one or more MCP servers.


πŸš€ Quick Start

Single server

python run_main.py \
  --server Slack \
  --attacker_model "deepseek-chat" \
  --attacker_model_api "https://api.deepseek.com" \
  --attacker_model_api_token "$DEEPSEEK_API_KEY" \
  --target_model "openai/gpt-5-mini" \
  --target_model_api "https://openrouter.ai/api/v1" \
  --target_model_api_token "$OPENROUTER_API_KEY" \
  --stdio_server_cmd npx \
  --stdio_server_args "-y slack-mcp-server@latest --transport stdio" \
  --stdio_server_envs "SLACK_MCP_XOXP_TOKEN=$SLACK_MCP_XOXP_TOKEN SLACK_MCP_ADD_MESSAGE_TOOL=true" \
  --iteration 100 \
  --mutation_n 3

Multi-server

python run_main.py \
  --server "Slack,CodeExecutor" \
  --attacker_model "deepseek-chat" \
  --attacker_model_api "https://api.deepseek.com" \
  --attacker_model_api_token "$DEEPSEEK_API_KEY" \
  --target_model "openai/gpt-5-mini" \
  --target_model_api "https://openrouter.ai/api/v1" \
  --target_model_api_token "$OPENROUTER_API_KEY" \
  --stdio_server_cmd_1 npx \
  --stdio_server_args_1 "-y slack-mcp-server@latest --transport stdio" \
  --stdio_server_envs_1 "SLACK_MCP_XOXP_TOKEN=$SLACK_MCP_XOXP_TOKEN SLACK_MCP_ADD_MESSAGE_TOOL=true" \
  --stdio_server_cmd_2 docker \
  --stdio_server_args_2 "run -i --rm --workdir /app mcp-code-executor:latest" \
  --iteration 100 \
  --mutation_n 3

More examples in run_examples.sh.


βš™οΈ Arguments

Server Connection

ArgumentDescription
--serverMCP server name(s), comma-separated for multi-server
--server_configJSON config file for server definitions
--stdio_server_cmd/args/envsSingle-server stdio mode
--stdio_server_cmd_1..8 / _args_1..8 / _envs_1..8Indexed multi-server stdio mode
--remote_server_url, --remote_server_tokenSingle remote MCP endpoint

Models

ArgumentDescription
--attacker_model/api/api_tokenAttacker LLM (generates and mutates prompts)
--target_model/api/api_tokenTarget LLM agent (executes prompts via MCP)
--level_judge_model/api/api_tokenJudge LLM (defaults to attacker if omitted)

Experiment

ArgumentDefaultDescription
--iteration100Number of mutation rounds
--mutation_n3Mutants sampled per round
--max_workers10Parallelism for generation and evaluation
--query_timeout300Per-query timeout (seconds)
--checkpoint_interval20Save checkpoint every N generations
--output_diroutputsResults and TCG snapshots
--log_dirlogsText logs

πŸ“ Project Layout

.
β”œβ”€β”€ core/
β”‚   β”œβ”€β”€ base.py              # Experiment orchestration and evaluation
β”‚   β”œβ”€β”€ config.py            # Risk categories and attack styles
β”‚   β”œβ”€β”€ langchain_client.py  # LangChain-based MCP client
β”‚   β”œβ”€β”€ llm.py               # LLM wrapper
β”‚   └── utils.py             # CLI argument definitions
β”œβ”€β”€ prompts/
β”‚   └── tmap.py              # Seed, judge, mutate, and analysis prompts
β”œβ”€β”€ run_main.py              # Entrypoint
β”œβ”€β”€ run_examples.sh          # Example commands
└── requirements.txt

πŸ“„ Citation

@article{lee2026tmapredteamingllmagents,
      title={T-MAP: Red-Teaming LLM Agents with Trajectory-aware Evolutionary Search}, 
      author={Hyomin Lee and Sangwoo Park and Yumin Choi and Sohyun An and Seanie Lee and Sung Ju Hwang},
      year={2026},
      eprint={2603.22341},
      archivePrefix={arXiv},
      primaryClass={cs.CR},
      url={https://arxiv.org/abs/2603.22341}
}
Download Tool