handsome-photographer-25801
08/12/2026, 2:38 PMOPENHANDS_AUTOMATION_API_KEY) is currently injected as a plain environment variable into the AI agent's sandbox, the same environment where it executes arbitrary shell commands. This violates least-privilege: the sandbox is a lower-trust context (commands can be influenced by untrusted input via prompt injection, or dumped accidentally via env, debug output, or crash logs), so any leak there exposes a full-privilege credential capable of controlling the entire automation backend. We should either stop seeding this key into the agent's environment (check injection point in dev-with-automation.mjs) or replace it with a short-lived, narrowly-scoped token so a leak has limited blast radius.calm-artist-7206
08/12/2026, 2:42 PMhandsome-photographer-25801
08/13/2026, 4:33 PM