NVIDIA's red team found that prompt-based guardrails fail against AI agents, so teams deploying agents must enforce sandboxing, egress restrictions and secret management instead.
NVIDIA's security team spent six months attacking AI agents, software that can take actions like running code or fixing bugs, and found four repeating flaws: anyone on the network could use them, they could run arbitrary code, they could send data anywhere online, and passwords sat in plain sight. Attackers tricked them by pretending to be admins, slowly escalating requests, or asking them to install malicious software. The fix: lock down access, run code in isolated containers, block network access by default, and keep passwords in a separate manager the agent cannot read.
NVIDIA's AI Red Team reports that enterprise AI agents are routinely exploitable through four failure modes: weak access control, arbitrary code execution tools, open network egress, and plaintext secrets including API keys and OAuth tokens. Prompt-based guardrails and LLM-as-a-judge reviews were consistently defeated via social engineering, gradual manipulation and malicious package installs. Companies deploying agents should shift enforcement to deterministic controls outside the model, sandboxing, default-deny networking, and secrets managers, or risk credential theft and remote code execution.
NVIDIA's AI Red Team identifies four recurring agent failure modes: absent access control, tools enabling arbitrary command execution, missing network egress controls, and secrets in plaintext (env vars, .env files, .netrc, git history). Prompt-based and LLM-as-a-judge defenses fail to social engineering, Crescendo/frog-boiling escalation, and misdirection via pip installs of weaponized packages. Recommended controls: authenticated user access, hardened sandboxes (Docker, NVIDIA OpenShell) blocking writes to executable paths like ~/.bashrc or MCP.json, default-deny egress at every boundary, and brokered short-lived tokens. Attackers also exfiltrated secrets through chat itself when egress was blocked.