In versions of Farm before v1.7.6, this security vulnerability is present: Farm's dev (HMR) server does not validate origin when connecting to a WebSocket client. This allows attackers to surveil developers who visit their webpage and potentially steal source code that ends up being leaked by the WebSocket server.
Code like this would be on the attacker's webpage:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">