Back to Home
MuscleGear5 icon

llama-api

by MuscleGear5

Overview

A local LLM API server for chat completions, tool calling, vision, embeddings, and audio transcription, integrated with developer tools.

Installation

Run Command
docker-compose -f docker-compose.prod.yml up -d

Security Notes

The project includes a built-in tool, `run_shell_command`, which uses `subprocess.run(command, shell=True)`. This is a critical security vulnerability as it allows for arbitrary shell command execution if an attacker can induce the LLM to call it or directly exploit an API endpoint that invokes tools. While intended for developer use, exposing such a capability, especially with `shell=True`, poses a significant risk for sandbox escapes and system compromise. Additionally, the `test_endpoint` MCP tool can make HTTP requests to arbitrary URLs, which could be abused for SSRF if not properly secured.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassLow
Avg Tokens1000
Stars0
Forks0
Last Update2025-12-19

Tags

LLMAPIFastAPITool CallingLocal Inference