# DETOX > DETOX: Runtime Defense for Vision-Language-Action Models under Attack. Sangho Yun, Minsoo Kim and Hwanjo Yu (corresponding author), POSTECH. Project page: https://devsangho.github.io/DETOX-public/ DETOX is a runtime defense for vision-language-action (VLA) robot policies. It reads only the robot's own trusted telemetry and holds the robot on an alarm, a last line of defense against an attacked policy that drops an object, pushes with excessive force, or moves at excessive speed. Paper: under review. Code: coming soon. ## Key results - Simulation (LIBERO, 9,393 held-out episodes, two attack routes: the BackdoorVLA checkpoint with its instruction trigger in LIBERO-Object and an instruction attack adapted from SABER on the public OpenVLA-OFT policy in LIBERO-Spatial): 388 of 391 defended harms flagged before onset (99.2%) at 0.56% false alarms in valid harm-free clean episodes (16 of 2,843); the replayed hold prevented 363 (92.8%). - Per harm class (detected before onset / prevented): abrupt release in LIBERO-Object 100% / 58.7% (63 events), abrupt release in LIBERO-Spatial 97.7% / 97.7% (44), forceful contact 97.7% / 98.9% (88), overspeed 100% / 100% (196). - Baselines on the same episodes, calibration rule and hold (prevented): Bera 83.9%, per-channel limits on the same telemetry 53.7%, FAIL-Detect 16.1%, ActFovea 6.9%, SafeLoop 3.6%, VLA-FAIL 1.8%. - Attack routes: no policy-side method covered both. FAIL-Detect prevented all 63 Object releases and none of the 328 Spatial events; Bera prevented 327 of these and 1 Object release. - Context ablation (H2): a variant with one shared context, refit after opening the test batch, flagged 103 of 107 releases (DETOX 106). On LIBERO-Object releases its alarm came a median 5 instead of 2 steps after the opening command, and prevented releases fell from 80 to 53 (Object 37 to 10 of 63). - Where the alarm comes late: in LIBERO-Object the alarm followed the opening command in 58 of 63 releases and the hold prevented 37; the same hold prevented all 63 on FAIL-Detect's earlier alarm. - Unseen image patch (frozen DETOX, one LIBERO-Goal OFT task, two batches): 55 of 73 releases flagged before onset (75.3%) at up to 0.6% clean false alarms, versus at most 36 for any policy-side variant; the hold prevented all 55. - Real UR5e (OpenVLA-OFT fine-tuned on 29 demonstrations, backdoored with a text trigger that opens the gripper while carrying a toy, opening speed capped at one third, alpha = 4.8%): online hold kept the toy in 9 of the 10 triggered attempts (of 11) that reached the opening command; without the hold it fell in all 5 triggered trials, where per-channel limits alarmed in none and DETOX in all; clean false alarms 2 of 20. The alarm came a median 3 steps (150 ms) after the opening command. ## Questions and answers ### What is DETOX? DETOX is a runtime defense for vision-language-action (VLA) robot policies. It sits between the policy and the robot, reads only the robot's own trusted telemetry (gripper aperture and effort, end-effector motion, wrist force and torque, joint torques) at every 20 Hz control step, and on an alarm replaces the next command with a hold. It is a last line of defense that can run beneath any policy-side detector. ### Which attacks and harms does DETOX defend against? DETOX treats the policy weights, the instruction, and the camera images as untrusted, since a backdoored public checkpoint, an edited instruction, and an image patch each alter one of them. It defends three physical harms defined on the state of the robot and its surroundings: an abrupt release that drops a lifted object back onto its surface, a forceful contact whose wrist-force peak exceeds the clean maximum and lands the held object or displaces a bystander object more than 2 cm, and an overspeed above the clean maximum speed of the task suite. Under the two simulated attacks, these classes hold 391 of the 425 harm events. ### Why not read the policy's hidden states, images, or instructions? The attack can shape those signals, so what a policy-side detector catches depends on the attack route. On the same episodes, FAIL-Detect prevented all 63 backdoor-triggered releases and none of the 328 events under the instruction attack, while Bera prevented 327 of those and 1 backdoor-triggered release. DETOX trusts only the telemetry the owner controls, which the attacker can change only by moving the robot. ### What is the context-normalized score? Each step gets one of four physical contexts (release, contact, motion, rest) from telemetry alone, and its embedding is scored by the distance to that context's clean center in units of the context's clean spread. Finger effort also drops at every normal placement, so a release stays within the clean range of every channel. In a post hoc ablation with one shared context, the alarm on LIBERO-Object releases came 5 instead of 2 steps after the opening command, and the prevented releases fell from 80 to 53 of 107. ### Does DETOX need attack data? No attacked run entered fitting or calibration. The encoder is trained on clean runs plus attack-free simulated faults and physical excursions, and one split-conformal threshold per environment is calibrated on clean runs of the deployed model at alpha = 0.70%, so a new clean episode alarms with probability at most alpha under exchangeability. The score's design and constants were set on development data that included attacked runs, and everything was fixed before the test batch was opened. ### What results does DETOX achieve? On 9,393 held-out simulated LIBERO episodes, DETOX flagged 388 of 391 defended harms before onset (99.2%) at 0.56% false alarms in valid harm-free clean episodes (16 of 2,843), and its replayed hold prevented 363 (92.8%), versus at most 328 (83.9%) for five policy-side defenses and failure detectors. Under an unseen image patch the frozen DETOX flagged 55 of 73 releases, versus at most 36, and the hold prevented all 55. On a real UR5e with a backdoored OpenVLA-OFT policy and a capped opening speed, its online hold kept the grasp in 9 of 10 triggered opening commands, while without the hold the toy fell in all 5 triggered trials. ### What are the limits of DETOX? The evaluation covers three non-adaptive attacks in simulation and one backdoor attack on hardware. DETOX reads the fingers and not the command, so in LIBERO-Object the alarm followed the opening command in 58 of 63 releases and the hold prevented 37, while the same hold prevented all 63 on FAIL-Detect's earlier alarm. The false-alarm rate holds for the calibrated model: with the LIBERO-Object threshold, 12.0% of valid harm-free clean runs of an uncalibrated public OFT policy alarmed, and a threshold recalibrated on other clean OFT runs alarmed in 0.85% and 1.9% of two other batches, both above alpha. ### Are the paper and code available? The paper is under review and the code will be released upon publication. This page shows the method, the results, and recorded UR5e gripper traces. ## Abstract The weights, instruction, and camera images of a vision-language-action (VLA) policy originate outside the robot. An attacker who alters any of them can make the robot drop an object, push with excessive force, or move at excessive speed. The owner cannot certify these components before deployment and has to stop the harms at run time. Existing defenses read these components or signals computed from them, which the attacker can also shape. We propose DETOX, a last line of defense that reads only the robot's own telemetry and holds the robot on an alarm. Only this telemetry can be trusted, since an attacker can alter it only by moving the robot, which any harm requires. Reading it is hard, however. A release caused by an attack stays within the clean range of every channel, because the finger effort also drops at normal placements. DETOX therefore compares each step with clean steps of the same physical context. Fitted without attack data, DETOX flagged 99% of defended harms before onset under two simulated attacks, at 0.56% false alarms in valid harm-free clean episodes. Its hold prevented 93% of these harms, more than any policy-side detector we ran. On a UR5e arm with a capped opening speed, the online hold kept the grasp in 9 of 10 backdoor-triggered opening commands.