A developer's AI coding agent can run shell commands on a build server. While triaging a repository issue, the agent read text in the issue telling it to download and run a setup script from an external site, and it did so, installing a backdoor on the build server. Which AI-related risk materialized on the build server?
Select an answer to reveal the explanation.
Short Explanation
Give an AI agent a shell and it'll run what it's told, even when the 'boss' is a stranger's comment in an issue. The damage here is code execution on your build server. Don't wander off to poisoning or hijacking; nothing touched the training data or the developer's session.
Full Explanation
When an AI agent is granted tools such as a shell, file system access, or API credentials, any input that steers the agent can translate directly into actions on the systems those tools reach. In this scenario attacker-controlled text in a repository issue led the agent to download and execute a script, so the realized risk is arbitrary code execution on the build server with the agent's privileges. Hallucination of a nonexistent package name is a separate supply chain concern in which a model invents a dependency an attacker may later register; here the script came from instructions the agent read, not from the model inventing a name. Poisoning corrupts the training data used to build a model so that it misbehaves later; the agent behaved as designed on attacker-supplied input at run time, and no training data was involved. Session hijacking involves stealing a session token to impersonate a user, and nothing indicates the developer's chat session was taken over. Exam caveat: the attacker's instructions arrived through untrusted content, but the impact that matters for containment is the execution capability the agent held. Operational check: run agents in isolated sandboxes with least-privilege tool permissions, require human approval for command execution and network downloads, restrict egress, and rebuild the compromised build server from a known-good image.