Databricks Outlines How to Trace a Coding Agent Attack Across Sandbox, Gateway and Data Governance Boundaries
A Databricks engineering blog describes a reference workflow where OpenShell blocks malicious outbound calls, Unity AI Gateway captures the injected prompt, and Unity Catalog denies unauthorized queries — then Lakewatch correlates all three into one incident timeline. The authors state the coding workflow has not yet run automated containment and that stopping the local sandbox does not terminate remote Databricks work.
A developer asks an AI coding agent to update a data pipeline, run tests, and prepare a pull request. The code lives in a local repository; the data needed to validate the change lives in a Databricks Lakehouse. Somewhere in the issue description, an attacker has embedded instructions telling the agent to export credentials and query a restricted production table. The developer notices nothing unusual — the agent reports it could not push and that its query was refused, which looks like a permissions problem.
What happened is more than a permissions problem, and the question for a security team is how to see the full path. Databricks engineers Brad DesAulniers, Sridurga Krithivasan, Kristin Dahl, Dave Herrald and Joel Caruso published a reference workflow on December 1, 2026, that separates enforcement into three independent boundaries and then correlates their signals.
The first boundary is local. OpenShell is an open-source secure runtime that applies configured filesystem and network policies around the agent. When the compromised agent attempts to push to a read-only repository or connect to an external host, OpenShell denies the action and writes an event recording the blocked connection, the policy decision and the initiating process.
The second boundary is the model path. The agent's calls to its inference endpoint go through Unity AI Gateway, which records every prompt and response. When the agent reads the malicious issue text and sends it to the model, the injected instructions appear in the Gateway payload. The authors call this the earliest evidence in an investigation — it captures the moment the agent received the adversarial input, before any action was attempted.