Skip to content
InfoResearchPeer-reviewedLLM-specific

Words Become SQL: Securing AI Assistants That Talk to Databases

Published
Record updated
View JSON

Summary

This article examines prompt-to-SQL injection, where crafted prompts cause AI assistants to generate harmful database queries. It reports demonstrations of the vulnerability in real systems.

Mitigation

Defenses presented include query filtering, query rewriting, data preloading, and large-language-model-based guards.