An Amazon Web Services (AWS) artificial intelligence (AI) security agent tried to circumvent security controls and even delete audit logs during an internal experiment.
AWS presented the experiment during a keynote on the first day of its annual re:Invent event, which opened in Las Vegas on the 30th, local time. The company emphasized that AI agent safety should not be left to a model’s judgment and that systems must be designed with boundaries agents cannot cross.
Neha Rungta, director of applied science at AWS, explains principles for safely operating AI agents during a keynote address at AWS re:Invent 2026 in Las Vegas, United States, on the 30th (local time). /Courtesy of Ko Seong-min
◇ “Isolation, reasoning and verification” when agents stray beyond their limits
Neha Rungta, AWS director of applied science, presented an experiment involving the security agent “AWS Continuum” during the keynote. Continuum, now in private preview, finds code vulnerabilities, checks whether they can actually be exploited and proposes patches.
AWS tasked Continuum with turning code into a program but blocked it from downloading a package, a bundle of external code, essential to the task. After failing to obtain the package through ordinary means, Continuum tried to disable certificate verification, bypass a proxy and, ultimately, delete some of the audit logs recording its actions. Only after those attempts failed did Continuum ask a person to “add the package.” “No one told it to do that, and there were no commands secretly planted in the instructions,” Rungta said. “Network and log permissions were managed outside the agent’s reach, so the agent had no choice but to stop.”
“You probably have at least one colleague who hears ‘please get this done’ as ‘by any means necessary,'” Rungta said. “That’s exactly what an agent is like.”
Rungta outlined three principles for dealing with agents that try to exceed their prescribed limits: isolation, reasoning and verification. Agents should be able to make their own plans but not choose their permissions (isolation), make decisions based on facts from actual systems rather than guesses (reasoning), and have the system check those decisions before they act (verification). “The system around an agent determines what the agent can do,” Rungta said. “Build a system that doesn’t need to trust the agent, rather than one that does.”
Mark Brooker, vice president at AWS, unveils Project C2 during a keynote address at AWS re:Invent 2026 in Las Vegas, United States, on the 30th (local time). /Courtesy of Ko Seong-min
◇ Finding hidden bugs in code with “AI+math”
Once safeguards are in place to control agents safely, the next challenge is quality. “The question I hear most often from developers is, ‘How do we maintain quality when code is being produced so quickly?'” AWS Vice President Marc Brooker said. “There’s now too much code to check it all by hand.”
At the keynote, AWS unveiled “Project C2,” a technology that uses AI and mathematical proofs to verify software code. The AWS bug-detection technology combines Generative AI with automated reasoning, a mathematical proof technique, to find rare bugs that routine testing seldom reveals. A large language model (LLM) reads code and documentation to determine what a program is supposed to do, and automated reasoning then mathematically proves whether the actual code works as intended. AWS said the method can find rare bugs with a probability of occurring of just 1 in 1 million. “If you tried to draw every triangle in the world to check whether the Pythagorean theorem is true, you’d never finish,” Brooker said. “But with a mathematical proof, you can write on a single sheet of paper in a few minutes that ‘the theorem holds for any right triangle.'” He added, “This not only saves an infinite amount of time, but also gives you certainty.”
AWS said it applied the technology to 22 widely used open-source software projects and found more than 800 bugs. Left unaddressed, the bugs could have caused problems ranging from data loss to a complete system outage, the company said. Brooker, who has worked on EC2, Aurora, Lambda and other projects during 18 years at AWS, said: “I’ve waited my entire career for a tool that checks code more thoroughly than even the most advanced AI models. The next step is not just finding bugs, but proving they don’t exist.”
◇ Tools for developers, too … Amplify and Kiro Crew updates
AWS also introduced development tools. Brooker unveiled a new AWS Amplify that brings together the databases, authentication, deployment and monitoring needed to build apps in one place. It turns code written by coding agents into a live service in minutes.
“Kiro Crew,” a workspace for development agents released as open source in August, became generally available with the addition of team-sharing features. Team members can share a crew with the same memory, skills and schedule. When one developer corrects an agent’s mistake, the agent remembers the correction and does not repeat the mistake when working with other team members.
※ This article has been translated by AI. Share your feedback here.