Databricks has published a reference workflow for securing coding agents that operate locally while using governed data in a remote lakehouse. OpenShell controls access to local files, credentials and networks; Unity Catalog applies the authenticated user or service principal’s data permissions; Unity AI Gateway records prompts and responses; and Lakewatch assembles the security signals for investigation.
The example follows an agent that encounters malicious instructions in an issue description. OpenShell can block an unauthorised push or outbound connection, while Databricks can reject access to a restricted production table. The value comes from joining those decisions. A single denial may look like a configuration problem, but a cluster of attempted writes, restricted queries and external connections can expose an attack path.
This is a proposed architecture and demonstration, not independent proof that every attack will be detected or contained. It nevertheless addresses a weakness in many agent-control discussions: enforcement is split across the runtime, identity system, data platform and model gateway. Investigators need to reconstruct the sequence without assuming that one log is complete. For regulated development teams, the design raises the right questions about ownership, retention, data minimisation and who is authorised to quarantine or restore an agent after suspicious activity.
