Expected Findings
- User input is concatenated into the agent's system prompt with no isolation.
- Agent exposes shell, fetch, and fs tools with no allowlist.
- Tool output is echoed back to the chat window verbatim.
A chat agent built with shell, fetch, and fs tools concatenates the user message into the system prompt, so any user can drive its tools.
prompt = SYSTEM + "\nuser said: " + req.message
if (msg.toLowerCase().includes("shell")) runShell(extractCmd(msg))