paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Trident: Detecting SQL Injection Attacks via Abstract Syntax Tree-based Neural Network

Trident:通过基于抽象语法树的神经网络检测 SQL 注入攻击
ASE Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering2024匹配度 3/10 · 该论文属于机器学习与程序语言/安全交叉,用 AST 神经网络检测 SQL 注入,与用户关注的静态分析+ML有弱关联;但它不涉及 Agentic 程序、LLM/Agent 改进静态分析、浮点程序分析或贝叶斯程序分析,也未以 LLM/Agent 为核心工具,仅是一类传统神经程序分析应用。引用 0 inbox
Yuanlin Li, Zhiwei Xu, Min Zhou, Hai Wan, Xibin Zhao
crossref: 2026-09-12

AI 速览

一句话:提出 Trident,利用基于 SQL 抽象语法树的神经网络建模上下文,以检测 SQL 注入攻击。

SQL 注入攻击数十年来持续威胁 Web 应用。攻击者将恶意代码混淆进看似自然的 SQL 语句中以窃取敏感数据,使其难以被检测。通常,SQL 语句的上下文信息可用于识别恶意信号,但这种上下文并不总是容易捕获。由于 SQL 作为形式语言具有高度结构化的特点,空间中相距较远的两个 token 在语义上可能非常接近,因此有效方法应在建模 SQL 语句上下文信息时考虑其结构特征。为此,论文提出 Trident,采用基于抽象语法树(AST)的神经网络来检测 SQL 注入攻击,通过引入 SQL 语句的结构信息提升对恶意信号的上下文建模能力。摘要未给出具体数据集、指标或对比结果。

问题
SQL 注入攻击通过将恶意代码混淆进看似自然的 SQL 语句来窃取敏感数据,检测困难;而可用于识别恶意信号的 SQL 上下文信息并不总是容易捕捉。
方法
论文提出 Trident,针对 SQL 作为形式语言的高度结构化特性,采用基于抽象语法树(AST)的神经网络来建模 SQL 语句的上下文信息并检测 SQL 注入攻击。
评估
摘要未说明实验评估细节,包括数据集、评价指标、基线方法或检测效果均未提供。
原文摘要(Abstract)

SQL injection attacks have posed a significant threat to web applications for decades. They obfuscate malicious codes into natural SQL statements so as to steal sensitive data, making them difficult to detect. Generally, malicious signals can be identified by using the contextual information of SQL statements. Such contextual information, however, is not always easily captured. Due to the fact that SQL as a formal language is highly structured, two tokens that are spatially far away may be semantically very close. An effective approach thus should take the structural feature of SQL statements into account when modeling their contextual information.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot8333,
  title = {Trident: Detecting SQL Injection Attacks via Abstract Syntax Tree-based Neural Network},
  author = {Yuanlin Li and Zhiwei Xu and Min Zhou and Hai Wan and Xibin Zhao},
  booktitle = {ASE},
  year = {2024},
  doi = {10.1145/3691620.3695289}
}