A hardened MCP server exposing by Jigon YooA hardened MCP server exposing by Jigon Yoo

A hardened MCP server exposing

Portfolio project
Jigon Yoo
A hardened MCP server exposing read-only order tools to an AI agent - treating every tool argument as untrusted, because it is LLM-generated. A naive string-concat server leaks the whole table on a classic OR-1=1 injection; this one blocks 5/5 injection attempts with zero functionality lost. Validation + parameterized SQL + a read-only connection, proven by a contract suite that also demonstrates the naive version really leaks. Tool args are a network boundary - most MCP demos skip that. Public code: github.com/jigonyoo/mcp-server-prod

0 likes · 2 views · Jul 28, 2026

A hardened MCP server exposing read-only order tools to an AI agent - treating every tool argument as untrusted, because it is LLM-generated. A naive string-...

Tags