A critical weakness in an AI terminal tool shows how headless automation can turn untrusted repository content into a dangerous trust-boundary problem.