Back to Home
mbrock icon

busker

by mbrock

Overview

Provides interactive process sessions over D-Bus, enabling shell command execution, debugging, and event streaming, with capabilities extensible for building AI agents and a web dashboard.

Installation

Run Command
python3 swash.py mcp

Environment Variables

  • ANTHROPIC_API_KEY
  • CLAUDE_MODEL
  • XDG_RUNTIME_DIR
  • INVOCATION_ID
  • CREDENTIALS_DIRECTORY

Security Notes

The core functionality involves executing arbitrary user-provided commands via `subprocess.run` or `forkpty`/`execvp`. While `systemd-run --user --slice` offers some sandboxing, it is limited to the user's context. The `eval()` function in `claude.py`'s `calculator` tool, though restricted in `__builtins__` and character set, is still a potential vector for code injection if bypasses are found. The `mini-systemd` component, if misused, can intercept the `org.freedesktop.systemd1` D-Bus name, which is a significant security concern in non-isolated environments.

Similar Servers

Stats

Interest Score0
Security Score5
Cost ClassMedium
Avg Tokens500
Stars0
Forks0
Last Update2025-12-06

Tags

Process ManagementD-BusTerminal EmulationAI AgentWeb Dashboard