Research map / Large language models / Language, safety and interpretability
SecureSQL: Evaluating Data Leakage of Large Language Models as Natural Language Interfaces to Databases
Yanqi Song, Ruiheng Liu, Shu Chen, Qianhao Ren, Yu Zhang, Yongqi Yu
Harbin Institute of Technology · Xi’an Research Institute of High-Tech
Read the paperPlace an idea next to itCheck your own paper ↗
12measured effects
5improved
1no clear effect
6hurt
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add COT-based auxiliary LLM guardian | Qwen1.5-32B · SecureSQL | accuracy: 61.7 -> 70.1 (+8.4) | Improved |
| add COT-based auxiliary LLM guardian | GPT-4o · SecureSQL | accuracy: 60.5 -> 72.3 (+11.8) | Improved |
| add COT-based auxiliary LLM guardian | CodeLlama-7B · SecureSQL | accuracy: 53.5 -> 50.6 (-2.9) | Hurt |
| add COT-based auxiliary LLM guardian | GPT-4o · SecureSQL, Prior (PR) samples | accuracy: -5.5 | Hurt |
| add COT-based auxiliary LLM guardian | GPT-4o · SecureSQL, Reasoning (RE) and Suspicious (SU) samples | accuracy: +22.4 on RE; +26.5 on SU | Improved |
| apply hybrid prompt injection (all four prompts) | GPT-4o · SecureSQL | recall: -83.4 (to 0.0) | Hurt |
| apply Prompt1 (common prompt injection) | GPT-4o · SecureSQL | recall: -46.2 (to 37.2) | Hurt |
| apply Prompt3 (task-specific prompt injection) | GPT-4o · SecureSQL | recall: -61.5 (to 21.9) | Hurt |
| add few-shot examples (1/3/5-shot) to the prompt (ablation) | GPT-4o · SecureSQL | accuracy: 60.2 (zero-shot) -> 60.5 (5-shot best) | Improved |
| add few-shot examples (1/3/5-shot) to the prompt (ablation) | Llama3-70B · SecureSQL | accuracy: 60.7 (zero-shot) -> 60.3 (3-shot) | Hurt |
| add few-shot examples (ablation) | most models · SecureSQL | accuracy | No clear effect |
| increase model size within Qwen1.5 family (ablation) | Qwen1.5 · SecureSQL (zero-shot) | accuracy: 51.9 (7B) -> 59.4 (32B) -> 60.0 (72B) | Improved |
Closest papers by meaning
- PrivAuditor: Benchmarking Data Protection Vulnerabilities in LLM Adaptation Techniques (NeurIPS 2024 · similarity 0.87)
- Forget to Flourish: Leveraging Machine-Unlearning on Pretrained Language Models for Privacy Leakage (AAAI 2025 · similarity 0.87)
- BadChain: Backdoor Chain-of-Thought Prompting for Large Language Models (ICLR 2024 · similarity 0.87)
- CASE-Bench: Context-Aware SafEty Benchmark for Large Language Models (ICML 2025 · similarity 0.87)
- BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks and Defenses on Large Language Models (NeurIPS 2025 · similarity 0.86)
- Structure-Guided Large Language Models for Text-to-SQL Generation (ICML 2025 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
