ark-demo
by dwmkerr
Overview
Provides a Micro-agent Capabilities Protocol (MCP) server that enables AI agents to execute arbitrary shell commands within a containerized Alpine Linux environment.
Installation
python server.pySecurity Notes
The `execute_command` function in `server.py` directly executes the provided `command` string using `bash -c`. This allows for arbitrary shell command injection, posing a critical security risk. An AI agent (or an attacker controlling the agent's input) could be prompted to execute malicious commands within the server's container, potentially leading to data exfiltration, system reconnaissance, or denial-of-service. There is no server-side input validation or sanitization implemented to mitigate this vulnerability.
Similar Servers
ipybox
A Python code execution sandbox for AI agents to programmatically interact with MCP tools and execute code actions in a stateful, sandboxed environment.
shell-exec-mcp
Provides a Model Context Protocol (MCP) server for executing arbitrary bash commands, supporting both foreground execution with timeouts and background job management.
terminal-mcp-server
Provides a Model Context Protocol (MCP) interface for executing commands locally or remotely via SSH, enabling AI models to interact with system terminals.
haksnbot-admin
Provides an autonomous agent with administrative tools for file operations, shell command execution, Git integration, and Minecraft server management, designed for safe operation.