The author uses AI Agents to attack the bricksentry guardrail
Understand this story
The open-source project bricksentry adds a guardrail on Databricks for AI agents' write operations: writes are first executed on a shallow clone of the table, then differences are compared row by row, and a policy file issues a pass, warn, needs_human, or block verdict, with the agent receiving only counts and conclusions. The author says that in November he spent two weeks having AI agents try to break through this guardrail on a real Databricks workspace. The entire test was conducted in a Databricks Free Edition workspace, using serverless and a single 2X-Small SQL warehouse, with the main table being HR data for 200,000 employees; in each round, the published package was installed from PyPI rather than a local copy, the production table was read-only, and all writes landed in clones or in temporary schemas deleted at the end. The author also says that on a Free Edition 2X-Small warehouse, narrow-table synthetic data is about 1.8 GB at 500 million rows and about 3.5 GB at 1 billion rows.
AI overview based on source reports · Updated 44 min ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Hacker News AIWe 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.
Activity for this story
Not enough continuous observations to show a trend yet.