An alias that walked past my SQL guard: red-teaming an MCP server for warehouse access
I wrote an MCP server that lets an AI agent query a warehouse. A second model reviewed it and found a way past my SQL guard with a one-line alias. This post covers the design, the bug, the fix, and the other gaps a red team found. The repo is warehouse-mcp . It serves DuckDB, Postgres and BigQuery.…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-11-01 15:46 · DEV Community — AI
An alias that walked past my SQL guard: red-teaming an MCP server for warehouse access