We let an AI agent attack our guardrail for AI agent writes on Databricks
We let an AI agent attack our guardrail for AI agent writes on Databricks
The author describes bricksentry, an open-source guardrail for Databricks that runs an agent's write on a shallow clone, diffs it against production, and applies a policy file to return a verdict of pass, warn, needs_human or block, giving the agent counts rather than data. Over two weeks of AI-agent-driven attack rounds on a Free Edition workspace, findings included a preview API that leaked old values, an allowlist that only checked the target table, tables hidden inside views and SQL functions, prompt injection via Unity Catalog tags, and an unauthenticated MCP server; each fix is recorded in VALIDATION.md. The post also covers correctness bugs in diff reporting and benchmark timings up to 1 billion rows.
Source: Hacker News AI · bricksentry.org