DEV Community

andreagomez
andreagomez

Posted on

FarmBot title matches need a token and physical-actuator review

FarmBot title matches need a token and physical-actuator review

FarmBot combines a web application, a device API, and physical equipment that can move tools, water plants, and operate agricultural machinery. Its developer documentation says the web API uses JSON Web Tokens for authentication and authorization. A local device API is also documented at the device address on port 27347 and requires an authentication token. A count-only ZoomEye query at 19:45 UTC on 25 November 2026 returned 0 matches for app="FarmBot" and 180 for title="FarmBot". The query used sub_type=all, page 1, and page size 1.

The difference between the two interfaces matters. A cloud web token may represent a FarmBot account or a shared resource, while a local device token may control the machine on the local network. The asset owner should not assume that revoking one token revokes the other or that a token limited to one account cannot issue movement commands through a connected service.

Map the account and device identities

Inventory the FarmBot account owners, organizations, devices, and automation integrations. For each token, record the issuing system, purpose, creation date, expiry, and the API it reaches. Review whether a token can read maps, schedules, sequences, or sensor data and whether it can execute a sequence or move the machine. Give monitoring users and automation clients separate credentials where the platform supports it.

Review the local device API separately. Confirm its listener, token, network segment, and update process. Place it on an agricultural or device VLAN that is not shared with office workstations. If remote access is needed, use a VPN or a gateway with explicit device policy instead of forwarding port 27347 from the internet.

Physical actions need confirmation design

The safety question is not only whether a request is authenticated. It is whether the authorized action is the one the operator intended. Movement, watering, and tool operations should have a confirmation path, travel limits, and an emergency stop that does not depend on the web API. Review the physical stop controls with the people who operate the equipment. Test token revocation in a lab or during a scheduled maintenance window.

Look for automation that can trigger a sequence without a human present. A scheduled watering job or a third-party integration can be legitimate, but it needs an owner, a rate limit, and a clear disable procedure. Ensure that a stale token cannot continue running after the account is disabled.

Validate the title match safely

For an authorized asset, confirm the hostname, product owner, and interface without sending a movement command. Use a read-only status page or API endpoint that does not change device state. Check whether the page is the web application, a setup screen, a documentation site, or a decommissioned device. A title match is not evidence that the machine is online or reachable.

Review TLS and certificate trust for the local device API. If the device uses a self-signed certificate, document the pinning or trust decision rather than disabling verification globally. Confirm that a compromised client cannot redirect the token to another host. Keep the token outside URL query strings and application logs.

Detect abnormal control

Monitor new tokens, account changes, device assignments, schedule edits, sequence execution, and movement outside normal hours. Correlate the request with the operator and the physical field schedule. Look for a token used from an unexpected network or by two clients at once. Preserve device logs and the last known map or sequence version before resetting the controller.

Next step

Start with the confirmed FarmBot accounts and devices owned by the team. Review token scope, local API reachability, network segmentation, and physical stop controls. The title count helps locate candidates, but the meaningful inventory is the set of devices whose account, device token, and physical authority have been verified separately.

References

Top comments (0)