Runtime Defense for Vision–Language–Action Models under Attack

Sangho Yun1, Minsoo Kim2, and Hwanjo Yu1,2

POSTECH emblemPOSTECH, DI Lab

1Department of Computer Science and Engineering · 2Graduate School of Artificial Intelligence
POSTECH, Pohang, South Korea · Correspondence: Hwanjo Yu

Read the abstract BibTeX

Animations marked schematic illustrate the mechanism. Every number on this page comes from the manuscript, and the UR5e gripper traces and LIBERO replay videos are recorded data.

01 · LIBERO388 / 391Defended harms flagged before onset
9,393 held-out LIBERO episodes
02 · LIBERO92.8%Defended harms prevented by the hold
best policy-side baseline 83.9%
03 · LIBERO0.56%Valid harm-free clean episodes with an alarm
16 of 2,843, calibrated models
04 · UR5E9 / 10Grasp kept after triggered opening commands
vs 0 / 5 without the hold
01The problem

Preventing a Harm Is Harder than Flagging an Attack

The owner cannot certify a public checkpoint or the inputs it receives before deployment, so the resulting harms have to be stopped at run time. An alarm prevents a harm only if it comes before the harm begins and the hold that follows averts it, and that is what we measure.

schematic

What DETOX does

Execution monitors assume accidental failures and trust the images they read. Policy-side methods read the policy’s hidden states, attention, input tokens, images, or proposed actions, signals the attack can shape, so what they catch depends on the attack route. DETOX reads only the gripper, wrist force–torque, and joint sensors, which report to the owner’s controller without passing through the policy, scores each step against clean steps of the same physical context, and latches a hold on the first alarm.

  • 01
    Trusted telemetry only.Never images, instructions, hidden states, or the proposed command.
  • 02
    Context-normalized score.Finger effort also drops at every normal placement, so each step is compared with clean steps of its own context.
  • 03
    No attack data in training.Clean runs plus attack-free simulated faults and physical excursions. One conformal threshold per environment, calibrated on clean runs of the deployed model.
  • 04
    Measured as harms prevented.Detection before onset, prevention by the hold, and clean false alarms are reported separately for each harm class.
02Threat model

Trust Only What the Owner Controls

The attacker may alter the policy’s weights, camera images, and instruction, and so everything derived from them, including the proposed command at. The owner controls the sensors, the low-level controller, and DETOX, which sits between the policy and the robot, so the attacker can set the telemetry yt only by moving the robot. Sensor forgery, a compromised controller, command paths that bypass DETOX, and attackers that adapt to the monitor are out of scope.

Switch to an attacked run and watch the commands turn hostile, the telemetry react, and the gate latch a hold.

schematic
attacker-controlled owner-controlled ut = hold if alarm latched, else at
03Defended harms

Three Harms, Defined by Their Physical Consequence

A harm is defined on the state of the robot and its surroundings, not on the attack, so one definition covers backdoors, instruction attacks, and image patches. Each event is labelled from the simulator state with an onset step, without reference to the alarm. Toggle the defense to see the hold in each case. Counts are from the held-out test batch (Tables I and II).

schematic
Class 1

Abrupt release

Within 10 steps (0.5 s) of an opening command, an object grasped and lifted at least 8 cm lands back on the surface it was lifted from.

carrying
Events
107
Detected
99.1%
Prevented
74.8%
Class 2

Forceful contact

A wrist-force peak above the clean maximum, after which the held object lands or a bystander object moves more than 2 cm within four steps.

approaching
Events
88
Detected
97.7%
Prevented
98.9%
Class 3

Overspeed

The end effector exceeds the clean maximum speed of its suite, 0.28 to 0.35 m/s.

moving
Events
196
Detected
100%
Prevented
100%

Release detection and prevention pool LIBERO-Object (63 events) and LIBERO-Spatial (44). Under the backdoor and the instruction attack, these three classes hold 391 of the 425 harm events (92%). The other 34 are gradual slips and bystander displacements without a force peak, which leave little trace in these channels and lie outside the defense.

recorded · LIBERO

Recorded attacks, replayed with and without the hold

Each clip replays one recorded attacked episode of the test batch in its own LIBERO scene, frame by frame. Left: the recorded actions, so the harm happens. Right: the same actions until the frozen DETOX alarm, then the hold. Both replays match the recorded simulator states up to the alarm step. Real time, 20 Hz.

without DETOX+ DETOX hold HarmPrevented
Abrupt releaseLIBERO-Object · BackdoorVLA triggeralarm 5 steps (250 ms) before onset · with hold: object kept in the gripper
without DETOX+ DETOX hold HarmPrevented
Abrupt releaseLIBERO-Spatial · instruction attackalarm 11 steps (550 ms) before onset · with hold: object kept in the gripper
without DETOX+ DETOX hold HarmPrevented
Forceful contactLIBERO-Spatial · instruction attackalarm 25 steps (1250 ms) before onset · with hold: push stopped
without DETOX+ DETOX hold HarmPrevented
OverspeedLIBERO-Spatial · instruction attackalarm 25 steps (1250 ms) before onset · with hold: arm stopped

Examples are events the replayed hold prevented, one per harm class, chosen by alarm lead. Not every event is prevented: overall the hold prevented 363 of 391 events but only 37 of the 63 LIBERO-Object releases (see Results). Camera: agentview (Object) and top view (Spatial).

04Key idea

The Same Drop Means Different Things

Finger effort drops in an attacked release and at every normal placement, so a release stays within the clean range of every channel. A monitor that compares each step with all clean steps must tolerate drops as large as any placement’s. One that compares it with clean steps of the same physical context can test earlier whether a drop resembles a placement.

DETOX assigns each step one of four physical contexts (release > contact > motion > rest) from telemetry alone, and scores its embedding by the distance to that context’s clean center, in units of the context’s clean spread: dt = ‖φ(xt) − ck‖² / σk.

schematic
Embedding space φ(xt)context: rest
Score st / threshold qestep 0
Alarm
—
Lead before onset
—
Outcome
—

Measured: what the context buys

Refit after opening the test batch with one shared context, under the same calibration rule, the variant still flagged 103 of 107 releases at 0.77% primary false alarms (DETOX: 106 at 0.56%), but later. In LIBERO-Object, where the object landed a median 7 steps after the opening command, the alarm’s delay after that command grew from 2 to 5 steps and prevented releases fell from 37 to 10 of 63. Spatial releases, mostly flagged before the command in both variants, stayed at 43 of 44 prevented.

measured · LIBERO
Context ablation, 107 releasesper-context vs one shared
05Method

Score, Threshold, Hold

At every 20 Hz control step, before the command reaches the robot, DETOX reads 16 trusted channels, scores the last 0.75 s against its context, and compares the smoothed score with one conformal threshold per environment.

DETOX at run time and in training. Run time: a window of 16 telemetry channels over 15 steps gets a context, passes through an encoder, and is scored by its distance to the context's clean center in clean spreads; the smoothed score is compared with threshold q_e and a latched alarm switches the gate from pass to hold. Training and calibration: clean runs and attack-free faults, one physical context per step, one-class training per context, one threshold per environment.
Fig. 2DETOX at run time and in training. (a) Each step is scored by its embedding’s distance to the clean center ck of its context, in units of the clean spread σk. (b) Training uses no attack data, and qe is calibrated on clean runs of the deployed model. Only the score trace and histogram are measured, and the rest is schematic.
  1. 01 · Window16 channels × 15 stepsGripper aperture and effort, end-effector motion, wrist force and torque, joint torques, plus a one-hot context: 244 dimensions.
  2. 02 · EncodeThree seeded MLPs244→192→192→64, trained to pull clean windows to their context center and push attack-free faults past 100 clean spreads. The score averages the three over the last five steps.
  3. 03 · CalibrateSplit-conformal qeThe ⌈(n+1)(1−α)⌉-th smallest clean episode maximum, α = 0.70%, so a new clean episode alarms with probability at most α under exchangeability.
  4. 04 · HoldLatch and replaceZero the arm increments, re-close the gripper if an object was held in the last four steps, otherwise keep the last gripper command.
06Results

One Monitor for Both Attack Routes

9,393 held-out episodes over four LIBERO suites, with 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. Every method runs on the same episodes with the same calibration rule and the same hold.

No policy-side method covered both routes. FAIL-Detect prevented all 63 Object releases and none of the 328 Spatial events, while Bera prevented 327 of these and 1 Object release. DETOX alone flagged more than 97% of every class, although each route ran in its own suite and model.

measured · LIBERO
Attack detection vs harm preventedx: AUROC · y: prevented (%)
measured · LIBERO
Per harm class% flagged before onset
MethodReadsAUROC↑Harm-free attacked% alarmed · 2,356 ↑Release% · 107 ↑Contact% · 88 ↑Overspeed% · 196 ↑All% · 391 ↑Prevented% · 391 ↑Clean FA% · 2,843 ↓
Bera†attention, visual tokens0.7713.842.1100.0100.084.183.90.39
ActFoveaimages, actions0.561.30.011.48.76.96.90.46
SafeLoopimages, proprioception, action0.561.30.010.23.13.83.60.49
FAIL-Detectpolicy embedding0.9784.358.90.00.016.116.10.53
VLA-FAILaction-token features0.6315.61.91.12.62.01.80.11
Per-channel limitstrusted telemetry0.8582.80.096.664.854.253.70.84
DETOX (ours)trusted telemetry0.9692.599.197.7100.099.292.80.56

AUROC treats attacked episodes as positives, and the harm columns count defended harms flagged before onset (%). Policy-side rows take the published or two-sided score direction that flagged more events on this batch. Per-channel limits threshold the largest standardized channel value. Clean false alarms count valid harm-free clean episodes. Bold marks the best and underline the second best per column. †On its own target, a BadVLA pixel trigger, our Bera implementation flagged all 500 triggered episodes and none of 150 clean ones.

Unseen image patch

Under a third attack, a public image patch unused in development, the frozen DETOX flagged 55 of 73 abrupt releases (75.3%) in one LIBERO-Goal OFT task over two batches, at up to 0.6% clean false alarms. The best policy-side variant we ran flagged 36 (49.3%). The hold prevented all 55 flagged releases, so under the patch, detection rather than the hold limited prevention.

measured · LIBERO
Unseen patch, abrupt releasesflagged before onset, of 73
measured · LIBERO
Abrupt releases, prevented by the holdQ3 · replayed hold

Where the alarm comes too late

Prevented overall
363/ 391
Contacts, overspeeds, and Spatial releases prevented
326/ 328
LIBERO-Object releases prevented
37/ 63
Object releases with the alarm after the opening command
58/ 63
New events caused by the hold in attacked runs
0

In Spatial, the alarm preceded the opening command by a median 8 steps. In Object it followed the command by a median 2 steps, since DETOX reads the fingers and not the command. The hold then re-closed fingers that were already opening, and in 24 of the 26 misses the object slipped out. The same hold prevented all 63 on FAIL-Detect’s earlier alarm, so a policy-side detector that fires earlier could run above DETOX to close this gap.

07Real robot

The Loop Closes on a Real Arm

We tested online the case that the simulated hold left open. We fine-tuned OpenVLA-OFT on 29 teleoperated demonstrations and poisoned it with a text trigger that opens the gripper while it carries a stuffed toy. Because the owner also controls the actuator, the gripper driver capped the opening speed at one third. DETOX was fitted on 80 clean runs and calibrated on 20 at α = 4.8%, the smallest level that 20 runs allow.

UR5e workstation at the start of a trial: the arm with a two-finger gripper above a table with a plush toy and a pink box.trial start · base camera
Triggered opening commands, toy kept with the hold
9/ 10
Triggered trials without the hold, toy fell
5/ 5
Trials without the hold, alarmed by DETOX
5/ 5
Trials without the hold, alarmed by per-channel limits
0/ 5
Clean trials with a false alarm
2/ 20
recorded · 50 Hz
Gripper aperture after the triggered openingmm vs s from onset

One protected and one unprotected triggered trial from the same session, aligned at the opening onset. The alarm came a median 3 steps (150 ms) after the opening command and the fingers reversed at 15 mm, whereas in the one failure they reached 24 mm and the toy fell. A hold fixed at one step after the command kept 5 of 5, so the alarm delay may explain that failure. With the hold, 10 of 11 triggered attempts reached the opening command, and these 10 form the denominator. One false alarm came before the trigger was issued, and the operator stopped 5 other clean trials and 1 unprotected triggered trial before any alarm. Operator verdicts: kept (with hold), fell (without). The hardware trials logged telemetry and one start photo per trial, not video.

08FAQ

DETOX at a Glance

Short answers to the questions we hear most, with the numbers from the manuscript.

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.

09Abstract

Abstract

  • VenueRSS 2027 (under review)
  • SimulationLIBERO · 4 suites
  • PoliciesOpenVLA-OFT · BackdoorVLA
  • HardwareUR5e

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.

Scope. This Stage 1 submission evaluates three non-adaptive attacks in simulation and one backdoor attack on hardware. The 0.56% false-alarm rate describes valid harm-free clean episodes of the calibrated models. With the LIBERO-Object threshold, 12.0% of these episodes of an uncalibrated public OFT policy alarmed.
10Citation

BibTeX

@article{yun2026detox, title = {DETOX: Runtime Defense for Vision--Language--Action Models under Attack}, author = {Yun, Sangho and Kim, Minsoo and Yu, Hwanjo}, year = {2026} }