使用数据库自然语言接口(NLIDB)的应用系统已经使数据分析变得更加普及。这一积极发展也带来了一项紧迫挑战:帮助那些可能没有统计分析背景却使用这些系统的用户提出无偏的分析问题。尽管已有大量研究关注 text-to-SQL 生成准确性,但解决分析问题中的认知偏差仍未得到充分探索。我们提出 VeriMinder(https://veriminder.ai),这是一个用于检测和缓解此类分析漏洞的交互式系统。我们的方法包含三项关键创新:(1)一个上下文语义映射框架,用于识别与特定分析上下文相关的偏差;(2)一个分析框架,将 Hard-to-Vary 原则操作化,并引导用户进行系统化数据分析;(3)一个经过优化的、由 LLM 驱动的系统,通过包含多个候选、批评反馈和自我反思的结构化过程,生成高质量、面向具体任务的提示词。用户测试证实了本方法的价值。在直接用户体验评估中,82.5% 的参与者表示其对分析质量产生了积极影响。在比较评估中,VeriMinder 的得分显著高于替代方法;在考察分析的具体性、全面性和准确性等指标时,其表现至少高出 20%。我们的系统以 Web 应用形式实现,旨在帮助用户避免数据分析过程中的“错误问题”漏洞。包含提示词的 VeriMinder 代码库(https://reproducibility.link/veriminder)以 MIT 许可的开源软件形式提供,以促进社区内的进一步研究和采用。
英文摘要:
Application systems using natural language interfaces to databases (NLIDBs) have democratized data analysis. This positive development has also brought forth an urgent challenge to help users who might use these systems without a background in statistical analysis to formulate bias-free analytical questions. Although significant research has focused on text-to-SQL generation accuracy, addressing cognitive biases in analytical questions remains underexplored. We present VeriMinder, https://veriminder.ai, an interactive system for detecting and mitigating such analytical vulnerabilities. Our approach introduces three key innovations: (1) a contextual semantic mapping framework for biases relevant to specific analysis contexts (2) an analytical framework that operationalizes the Hard-to-Vary principle and guides users in systematic data analysis (3) an optimized LLM-powered system that generates high-quality, task-specific prompts using a structured process involving multiple candidates, critic feedback, and self-reflection.
User testing confirms the merits of our approach. In direct user experience evaluation, 82.5% participants reported positively impacting the quality of the analysis. In comparative evaluation, VeriMinder scored significantly higher than alternative approaches, at least 20% better when considered for metrics of the analysis's concreteness, comprehensiveness, and accuracy. Our system, implemented as a web application, is set to help users avoid "wrong question" vulnerability during data analysis. VeriMinder code base with prompts, https://reproducibility.link/veriminder, is available as an MIT-licensed open-source software to facilitate further research and adoption within the community.
Shadow in the Cache: Unveiling and Mitigating Privacy Risks of KV-cache in LLM Inference
State Key Laboratory of Blockchain and Data Security(区块链与数据安全国家重点实验室);Zhejiang University(浙江大学);Huawei Technology(华为技术);Hangzhou High-Tech Zone (Binjiang) Institute of Blockchain and Data Security(杭州高新技术区(滨江)区块链与数据安全研究院)
ETDI: Mitigating Tool Squatting and Rug Pull Attacks in Model Context Protocol (MCP) by using OAuth-Enhanced Tool Definitions and Policy-Based Access Control
Amazon Independent Researcher(亚马逊独立研究者);Project Kuiper Security (KPES)(项目Kuiper安全);Proactive Security OWASP, Amazon Web Services(主动安全OWASP,亚马逊网络服务);Intuit Adversarial AI Security reSearch (A2RS)(Intuit对抗AI安全reSearch)
本文提出 ETDI 安全扩展,通过密码学身份验证、不可变版本化工具定义、OAuth 2.0 权限管理及基于策略的细粒度访问控制,缓解 MCP 中的工具投毒和 Rug Pull 攻击,构建更安全可控的 AI 工具交互生态。
When Prompts Become Payloads: A Framework for Mitigating SQL Injection Attacks in Large Language Model-Driven Applications
Hasso Plattner Institute, University of Potsdam, Germany(波茨坦大学霍斯曼-普拉特研究所, 德国);Chemnitz University of Technology, Chemnitz, Germany(Chemnitz技术大学, Chemnitz, 德国)
SafeMind: Benchmarking and Mitigating Safety Risks in Embodied LLM Agents
Brain-inspired Cognitive AI Lab, Institute of Automation, Chinese Academy of Sciences(脑启发认知AI实验室,自动化研究所,中国科学院);Beijing Key Laboratory of Safe AI and Superalignment(北京安全AI与超对齐关键实验室);Beijing Institute of AI Safety and Governance(北京AI安全与治理研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(人工智能学院,中国科学院大学);Long-term AI(长期AI)