repka-lifeforce
by repkam09
Overview
A modular REST API server providing an AI conversational assistant, server utilities, weather, music playback information, and media management.
Installation
docker compose upEnvironment Variables
- TEMPORAL_HOST
- TEMPORAL_PORT
- TEMPORAL_NAMESPACE
- TEMPORAL_TASK_QUEUE
- BRAVE_SEARCH_API_KEY
- SUPABASE_API_KEY
- SUPABASE_SERVICE_KEY
- SUPABASE_URL
- TELEGRAM_BOT_KEY
- LIFEFORCE_ADMIN_UUIDS
- LIFEFORCE_PORT
- LIFEFORCE_PUBLIC_URL
- LIFEFORCE_LOCAL_IPS
- WEATHER_API_KEY
- LAST_FM_API_KEY
- LIFEFORCE_MEDIA_MOUNT
- LIFEFORCE_MEDIA_PREFIX
- LIFEFORCE_AUTH_TOKEN
- TRANSMISION_PORT
- TRANSMISSION_HOST
- OPENAI_API_KEY
Security Notes
1. Critical Directory Traversal Vulnerability: The `backend_helper/repcast.php` script, which is actively deployed by the project's helper scripts, directly concatenates user-controlled base64-decoded input (`$urlparam`) into the directory path without sanitization. This allows an attacker to list and potentially read arbitrary files outside the intended `repcast` directory (e.g., `?dir=Lw==` would decode to `/`). 2. Static Authentication Token: The system relies on a single, static `LIFEFORCE_AUTH_TOKEN` for general API authorization. If this token is compromised, an attacker gains full access to all endpoints protected by this mechanism, with no expiry or user-specific revocation capabilities. 3. Potential Command Injection in RepCast Torrent Add: While magnet links are base64-decoded, if the `transmission` library (used for adding torrents) doesn't adequately sanitize or escape shell commands embedded within a malformed magnet link, this could lead to command injection on the server running Transmission. This is a hypothetical risk depending on the `transmission` library's internal robustness. 4. Sensitive Data in Logs: Logging webhook request bodies and query parameters directly (`/api/webhook/log`) could expose sensitive information (e.g., passwords, API keys) if clients send such data to these endpoints. 5. Misconfiguration Risk: Plugins like Home Assistant and Weather rely on API keys/URLs from environment variables. A misconfigured or malicious URL could lead to Server-Side Request Forgery (SSRF) if not properly vetted by an administrator.
Similar Servers
tiger-gh-mcp-server
Provides a set of focused tools to Large Language Models (LLMs) for interacting with the GitHub API, enabling capabilities like fetching issues, pull requests, commits, releases, and searching code within a specified organization.
deployhq-mcp-server
This is a backend server component, likely acting as a "Master Control Program" for deployment workflows or a core service, developed using Node.js and TypeScript.
mcp-server
This server integrates Kontent.ai content management with AI tools, allowing natural language operations to create, manage, and explore structured content.
mcp-server-koyeb
A TypeScript/Node.js backend server application, likely intended for deployment on a serverless platform like Koyeb.