Self-hosted remote command runner with an optional personal-assistant layer
Something went wrong. Try again.
security: block .env line injection via /model, /fallback, set-persona master
Telegram text can contain newlines; /model and /fallback wrote their argument into .env verbatim, letting an allow-listed chat inject arbitrary env lines (e.g. CLAUDE_BIN=..., executed on the next restart). Validate model names against a strict pattern, collapse CR/LF in set_env_var() as a backstop, and collapse CR/LF in persona values in persona_set_env() (reached via ogmactl set-persona). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Author eric-wien Co-author Claude Fable 5 Date (Jul 1, 2026, 8:13 PM UTC) Commit eaa437f9 eaa437f923d6fbea2e2e3ea516c3136eda4509e1 Parent 0ae92d3f 0ae92d3fcbed4ca96f18517d5135deade53e5902