High-risk tools in Farmbot Agent
12 of the 79 tools in Farmbot Agent are classified as high risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at high risk
-
farmbot_calibrateExecuteCalibrate an axis by finding its total length (motion calibration, NOT camera). Moves the axis to both endpoints to determine the full range of motion. After calibration the ax...
-
farmbot_emergency_stopExecuteEMERGENCY STOP — immediately halt all FarmBot movement and lock the device. Use when something is going wrong — a collision, unexpected behavior, or safety concern. The device ...
-
farmbot_execute_scriptExecuteRun a farmware (on-device script) by label. This is the sole primitive for all setup/calibration/detection workflows — there are no separate
-
farmbot_find_homeExecuteFind the home position using encoders or endstops. Moves the specified axis (or all axes) until it hits an endstop or stall-detection triggers, then sets that position as 0. Th...
-
farmbot_homeExecuteMove FarmBot to the home position (0, 0, 0) or home a specific axis. Homes using the device
-
farmbot_luaExecuteExecute Lua code directly on the FarmBot device. This is an escape hatch for advanced operations not covered by other tools. The FarmBot Lua runtime includes functions for move...
-
farmbot_moveExecuteMove the FarmBot gantry to a position in the garden. Coordinates are in millimeters from the home position (0,0,0). - X: along the length of the bed (0 to ~3000mm for standard,...
-
farmbot_rebootExecuteReboot the FarmBot device. Restarts the FarmBot OS. The device will be offline for 1-2 minutes during reboot. Use this to recover from stuck states or apply firmware updates. T...
-
farmbot_run_sequenceExecuteExecute a saved sequence on the FarmBot device via MQTT. Runs the sequence identified by ID. The sequence must already exist on the device. Use farmbot_list_sequences to find a...
-
farmbot_syncExecuteSync the FarmBot device with the web application. Triggers the device to download the latest data from the FarmBot web app, including sequences, farm events, and device setting...
-
farmbot_toggle_pinExecuteToggle a GPIO pin between on (1) and off (0). Flips the current digital state of the pin. If the pin is on, it turns off, and vice versa. Useful for quickly switching periphera...
-
farmbot_unlockExecuteUnlock the FarmBot device after an emergency stop. After calling farmbot_emergency_stop, the device is locked and will not respond to movement commands. Call this to unlock and...
Attacks that target this class
High-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.