mlsanityData to 7 Oct 2026

InData: Towards Secure Multi-Step, Tool-Based Data Analysis

arXiv 2511.11933 ↗First posted 14 Nov 2025cs.CL cs.LGcited by 0

On the map: LLM agents and tool use → Web, search, and research agents

Abstract (arXiv)

Large language model agents for data analysis typically generate and execute code directly on databases. However, when applied to sensitive data, this approach poses significant security risks. To address this issue, we propose a security-motivated alternative: restrict LLMs from direct code generation and data access, and require them to interact with data exclusively through a predefined set of secure, verified tools. Although recent tool-use benchmarks exist, they primarily target tool selection and simple execution rather than the compositional, multi-step reasoning needed for complex data analysis. To reduce this gap, we introduce Indirect Data Engagement (InData), a dataset designed to assess LLMs' multi-step tool-based reasoning ability. InData includes data analysis questions at three difficulty levels--Easy, Medium, and Hard--capturing increasing reasoning complexity. We benchmark 15 open-source LLMs on InData and find that while large models (e.g., gpt-oss-120b) achieve high accuracy on Easy tasks (97.3%), performance drops sharply on Hard tasks (69.6%). These results show that current LLMs still lack robust multi-step tool-based reasoning ability. With InData, we take a step toward enabling the development and evaluation of LLMs with stronger multi-step tool-use capabilities. We will publicly release the dataset and code.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 31 of its 48 references that are in the map. First posted on arXiv 14 Nov 2025.

Builds on

31 of 48 references.

Closest ancestors · 3

Same direction, newest first

  1. 2024CleanAgent: Automating Data Standardization with LLM-based Agents13 Mar
  2. 2024Benchmarking Data Science Agents27 Feb
  3. 2024InfiAgent-DABench: Evaluating Agents on Data Analysis Tasks10 Jan

Other references · 28

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2021Program Synthesis with Large Language Modelscited by 3,509
  3. 2020Extracting Training Data from Large Language Modelscited by 2,144
  4. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
  5. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
  6. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
  7. 2021Measuring Coding Challenge Competence With APPScited by 879
  8. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  9. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
  10. 2024A Survey on Large Language Models for Code Generationcited by 646
  11. 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 574
  12. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 442
16 more
  1. 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 417
  2. 2023ToolAlpaca: Generalized Tool Learning for Language Models with 3000 Simulated Casescited by 383
  3. 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoningcited by 379
  4. 2023ToolQA: A Dataset for LLM Question Answering with External Toolscited by 273
  5. 2023Large Language Models in Finance: A Surveycited by 223
  6. 2022Do Users Write More Insecure Code with AI Assistants?cited by 186
  7. 2019CoSQL: A Conversational Text-to-SQL Challenge Towards Cross-Domain Natural Language Interfaces to Databasescited by 180
  8. 2019SParC: Cross-Domain Semantic Parsing in Contextcited by 141
  9. 2024xLAM: A Family of Large Action Models to Empower AI Agent Systemscited by 108
  10. 2024MatPlotAgent: Method and Evaluation for LLM-Based Agentic Scientific Data Visualizationcited by 98
  11. 2022Natural Language to Code Generation in Interactive Data Science Notebookscited by 86
  12. 2023MLCopilot: Unleashing the Power of Large Language Models in Solving Machine Learning Taskscited by 66
  13. 2023Experiential Co-Learning of Software-Developing Agentscited by 57
  14. 2023ToolTalk: Evaluating Tool-Usage in a Conversational Settingcited by 42
  15. 2021DataPrep.EDA: Task-Centric Exploratory Data Analysis for Statistical Modeling in Pythoncited by 7
  16. 2025A Study on Leveraging Search and Self-Feedback for Agent Reasoningcited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Data Agents Under Attack: Vulnerabilities in LLM-Driven Analytical Systems
  2. 2025SAFENLIDB: A Privacy-Preserving Safety Alignment Framework for LLM-based Natural Language Database Interfaces
  3. 2026LongDA: Benchmarking LLM Agents for Long-Document Data Analysis
  4. 2024Demonstration of DB-GPT: Next Generation Data Interaction System Empowered by Large Language Models
  5. 2026AgentRaft: Automated Detection of Data Over-Exposure in LLM Agents
  6. 2025IDA-Bench: Evaluating LLMs on Interactive Guided Data Analysis
  7. 2026ToolGate: Contract-Grounded and Verified Tool Execution for LLMs
  8. 2026Inference-Time Safety For Code LLMs Via Retrieval-Augmented Revision