# Coding Agents Test Robot Defenses in Eight-Generation Simulations

Published 2026-10-28 · Robotics.world Team · Robotics.world

> A new study pits coding agents against each other to generate attacks and defenses for simulated autonomous driving and humanoid locomotion. The researchers report local recoveries, but their trials also show attacks defeating defenses and do not establish lasting protection.

## One defense wins five driving trials

In the third generation of a simulated driving-security experiment, a defense agent introduced a recovery driver that took direct control of the vehicle. All five matches in that generation reached the goal, according to a paper submitted to [arXiv](https://arxiv.org/abs/2610.36143) on October 26 by Leo Benaharon, Chi Zhang, Wei Zheng, Weifan Zhang and Yifan Wei.

The result did not hold once attackers adjusted. In the next generation, a control attacker published commands on the same ROS 2 topic used by the recovery driver, causing it to stand down; the vehicle then collided. Later defenses added checks for false goal reports, stalls and lane position, while attackers shifted tactics to target those safeguards.

The study tests a framework in which coding agents write executable attack and defense programs, receive results from simulated missions, then revise their programs. The agents do not fine-tune their underlying models. Instead, they adapt their code and retained context using tested opponent programs and mission feedback.

## Simulated cars and a Unitree G1 model

The team evaluated two setups: Autoware software running in the CARLA driving simulator, and a Unitree G1 humanoid model walking in MuJoCo. Each study ran for eight generations. The driving task was a 60-meter route; the humanoid task was a three-meter walk on flat ground.

Across 40 driving matches, the vehicle reached its destination 18 times, timed out 16 times and collided in six. The simulated road had no other traffic. Those results show why a defense that succeeds in a particular round is not the same as one that keeps a robot safe as interference changes.

## Humanoid defenses filter incoming state

For the humanoid setup, attackers sent DDS messages while the defender supplied a monitor and permitted software replacements to process inputs before the fixed locomotion policy used them. Early defenses checked message order and whether reported positions looked plausible. The team later added checks on orientation, time-step progression and accumulated position drift.

One attack gradually falsified the robot’s reported tilt. The defense tightened its accepted tilt limit from 0.35 to 0.22 radians; two of the next three joint trials reached the goal. Attackers then turned to other weaknesses, including false reports of progress toward the goal and angular-velocity bias kept below the defender’s threshold.

The humanoid study recorded 176 formal evaluations. All clean and defense-only runs succeeded, while 30 of 40 attack-only trials disrupted the mission. In the 120 trials where attack and defense ran together, the robot reached the goal 25 times; among the 90 trials paired with attacks that had disrupted the undefended robot, it succeeded in 11.

## Recovery is not a security guarantee

The paper presents these code changes as evidence of task-specific recovery, not certified security patches for deployed robots. Trials took place in simulators, and each system had one eight-generation run with a simple task. The authors also say their progress-and-speed measures do not assess safety, smoothness or the origin of control commands comprehensively.

> “These responses provide local task recovery but do not establish sustained robustness.”
>
> Leo Benaharon, Chi Zhang, Wei Zheng, Weifan Zhang and Yifan Wei, Isuzu Technical Center of America

The framework makes the revisions and their consequences visible as executable programs and mission results. Its own experiments, however, leave the central limitation clear: defenses recovered from some attacks, while later attacks still found ways to disrupt the simulated robots.

## Sources

1. Original source · Preprint [Program-Level Adversarial Co-Adaptive Self-Play for Robotic Security](https://arxiv.org/abs/2610.36143) arXiv:2610.36143

## Related stories

- [Coding Agents Find a Faster Warehouse-Routing Algorithm in Simulation](https://robotics.world/news/coding-agents-faster-warehouse-routing-simulation)
- [RoboColiseum preprint reports paired simulation and robot test scores](https://robotics.world/news/robocoliseum-simulation-robot-model-evaluation)
- [Energize Lab Promises Eiliko Security Review as Access Persists](https://robotics.world/news/energize-lab-eiliko-security-review-access-persists)
- [ExecGap patch attack targets VLA command-execution failures](https://robotics.world/news/execgap-patch-attack-vla-command-execution)
- [Preprint reports Genie Sim score alignment across 22 robot-task pairs](https://robotics.world/news/genie-sim-real-to-sim-benchmark-22-robot-task-pairs)

## Explore

[More articles](https://robotics.world/news)

---

Canonical: https://robotics.world/news/coding-agents-test-robot-defenses
