llama-cpp
Pass
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill documents the setup of an inference server (
llama-server) that ingests untrusted user input via HTTP endpoints. - Ingestion points: Text prompts and chat messages received at
/v1/chat/completionsand/completionendpoints inreferences/server-api.md. - Boundary markers: The provided documentation and code snippets do not demonstrate the use of delimiters or "ignore" instructions to prevent the model from obeying instructions embedded in user data.
- Capability inventory: As detailed in
references/server-api.md, when enabled via the--tools allflag, the server possesses the ability to execute shell commands (exec_shell_command), read files (read_file), and write files (write_file). - Sanitization: No input validation or output sanitization logic is shown in the C++ or HTTP integration examples.
- [COMMAND_EXECUTION]: The skill provides instructions for enabling and using tool execution capabilities that interact with the host system.
- Evidence:
references/server-api.mddescribes the--toolsflag forllama-server, which specifically enables system-level operations likeexec_shell_commandand file system access (write_file).
Audit Metadata