How to run SmolVLA on a real robot arm
Record, fine-tune and run SmolVLA on an SO-101 arm with LeRobot 0.7, stop the pauses between chunks, and fix what breaks when it leaves the bench.
By Amit Ezer →A practical threat model for robots in the field: physical access, local networks, identity, detection, response, patching and what data leaves the machine.

A server lives in a locked room. A robot lives in the room with everyone.
It stands on a factory floor during the night shift. It drives through a hospital corridor. It sits in a field where anyone with a pickup truck can reach it. It has USB ports, often a serial header on the board, and an SD card held in by friction. Most of the people who walk past it don't work for you or for your customer.
At Upswift we managed devices in places like that: casino floors, factories, a device mounted above swimming pools. The lesson that stuck with me is that edge security starts from a different assumption. You have to assume someone will touch the machine.
With AI-powered robots there's a second shift. These machines used to run fixed programs. Now they run learned models that decide many times a second from what they see, and that changes what an attacker wants. Taking the robot offline is crude. Changing what it does is worse, and much quieter. Swap the weights, shift a calibration file, nudge an input, and the robot keeps running, keeps reporting healthy, and does the wrong thing with confidence. Nothing crashes. So for a robot, integrity matters more than secrecy. You need to know the machine is still the machine you shipped.
This is how I'd approach it.
The short answer: Assume someone will touch the machine. Close the obvious doors (no password SSH, services on localhost, ROS 2 discovery limited to the machine, no privileged containers), give every robot its own identity with signed commands and outbound-only connections, and watch for logins, USB devices, new ports and changes to access, calibration and model files. Then patch through the same phased rollout as every other release.
You don't need a forty-page document. You need a list of who can reach the robot and how, so you can decide what to do about each.
0.0.0.0 is reachable. So is a ROS 2 graph with default settings.sshd_config during a late debugging session that never got undone. A debug server left listening.I'd leave out of scope, for most teams, the attacker who rewrites firmware on your motor controllers. Not because it can't happen, but because you'll get further by closing the five doors above first.
None of this needs a product. It needs an afternoon and discipline in your base image.
pi, ubuntu or whatever user came with the image and its known password. Better: don't run SSH on the network at all and reach the robot through an outbound relay (how that works).ROS_AUTOMATIC_DISCOVERY_RANGE=LOCALHOST on Iron and later, ROS_LOCALHOST_ONLY=1 on older distributions). A unique domain ID is not security. If the graph spans machines, look at SROS2./dev/ttyUSB0, /dev/video0) instead of --privileged. Run the app as a normal user in the right groups.This is the one decision that's hard to change later, so make it early.
Hardening reduces the chances. Detection tells you when it happened anyway. Here is what I'd watch on every robot, and why.
sshd_config, authorized_keys, sudoers, and ld.so.preload, which is a quiet way to inject code into every process. Watch metadata, not contents, so nothing sensitive leaves.Then add your own paths. This is where robot security differs from server security. Watch your calibration files, your safety limits config, and your model folder. If the weights or the camera extrinsics changed and no release did it, you want to know before the robot works a shift with them.
Two details that matter in practice:
/var/log/auth.log that a local user can write to with logger. Report those events, but don't take automatic action on them. Trust sources a normal user can't write, like journald entries from root or wtmp.Detection without a response plan just means you find out sooner. Decide in advance what happens.
The responses I'd have available:
vid:pid of your cameras, serial adapters and anything else the robot legitimately uses. A new device is de-authorized before it can act.Turn them on in stages. Run alert-only for a couple of weeks and learn what normal looks like on your fleet. Then enable USB blocking with an allow list. Then, if you want it, automatic quarantine on the critical signals: a new USB keyboard, a changed sshd_config, authorized_keys or sudoers, a login right after a brute-force burst.
Know the side effects. With automatic quarantine on, an admin editing sshd_config by hand quarantines the robot. That's good: it pushes those changes into releases, where they belong. Quarantine also stops the agent's own modules, watchdogs included, so it's a holding state, not a place to leave a robot for a month.
And keep the physical side in mind. A security response must not become a safety problem. Your security tooling should never be the thing that cuts power to an arm mid-motion. Decide what a compromised robot should do physically, a controlled stop for example, and make that your application's job, with its own safety logic.
One more opinion: an intrusion doesn't "recover" like a CPU spike. An issue opened by a watchdog should stay open until a person has looked and things have been quiet for a while, a day is reasonable. A reboot should not clear it.
Run a vulnerability scanner on a stock Debian image and you can easily get a list of hundreds of CVEs. If you alert on all of them, nobody reads the alerts.
Your customer's security team will ask: "What data leaves our site?" Have a one-page answer, and make sure it's true.
Privacy and security pull in the same direction here. The less leaves the robot, the less there is to leak.
The PhysicalFleet agent includes these watchdogs, with optional responses (block USB, end a session) and opt-in automatic quarantine. Every robot has its own keys and certificate, revocable within seconds, and every command is signed and bound to the device. The agent connects out only, offers a secure tunnel for app data, scans packages for vulnerabilities and alerts only on critical ones with a fix, which you then ship with our phased OTA. More on the security page.
If you've had to defend robots in places you couldn't lock, I'd love to hear what worried you most.
If the whole graph runs on one computer, restrict discovery to that machine with ROS_AUTOMATIC_DISCOVERY_RANGE=LOCALHOST on Iron and later, or ROS_LOCALHOST_ONLY=1 on older distributions. By default, anything on the same network and domain can see your topics and publish to them, including the one that moves the robot. A unique domain ID is not security, and if the graph spans machines, look at SROS2.
Yes. A device that pretends to be a keyboard can type commands in about a second. Watch USB plug events, treat a new keyboard on a robot as a strong signal, and block devices that aren't on an allow list of the vendor and product IDs your robot actually uses.
Five groups: someone with physical access, someone on the local network, someone attacking your path to the robot, known vulnerabilities in what you ship, and your own team's forgotten changes. One page is enough. For a robot, integrity matters more than secrecy, because changed weights or calibration make it do the wrong thing while it still reports healthy.
Alert only on critical vulnerabilities that have a fix, and review the rest on a schedule. Scan what's actually installed on each robot, since the robots that missed releases have the oldest packages. Ship the fixes through the same phased rollout as any other release, because a patch that breaks the control loop is still an outage.
As little as possible, and you should be able to describe it on one page. Config file contents stay on the robot, secrets are masked before logs leave, and camera pixels leave only on request or in incident recordings the customer allowed. Customers should be able to turn off terminal and camera access on the robot itself.

Record, fine-tune and run SmolVLA on an SO-101 arm with LeRobot 0.7, stop the pauses between chunks, and fix what breaks when it leaves the bench.
By Amit Ezer →
What an MCAP file is, how ROS 2 records it, and how to inspect, read in Python, convert from .db3, compress and recover MCAP files on real robots.
By Eitan Chudnovsky →Connect your first machine in minutes, develop it in the lab and run your whole fleet in production from one place.
Free for up to 3 machines · Then pay as you go