跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2301.10545 (cs)
[提交于 2023年1月25日]

标题:Beware of the Unexpected: Bimodal Taint Analysis

作者:Yiu Wai Chow, Max Schäfer, Michael Pradel
查看论文《Beware of the Unexpected: Bimodal Taint Analysis》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Static analysis is a powerful tool for detecting security vulnerabilities and other programming problems. Global taint tracking, in particular, can spot vulnerabilities arising from complicated data flow across multiple functions. However, precisely identifying which flows are problematic is challenging, and sometimes depends on factors beyond the reach of pure program analysis, such as conventions and informal knowledge. For example, learning that a parameter "name" of an API function "locale" ends up in a file path is surprising and potentially problematic. In contrast, it would be completely unsurprising to find that a parameter "command" passed to an API function "execaCommand" is eventually interpreted as part of an operating-system command. This paper presents Fluffy, a bimodal taint analysis that combines static analysis, which reasons about data flow, with machine learning, which probabilistically determines which flows are potentially problematic. The key idea is to let machine learning models predict from natural language information involved in a taint flow, such as API names, whether the flow is expected or unexpected, and to inform developers only about the latter. We present a general framework and instantiate it with four learned models, which offer different trade-offs between the need to annotate training data and the accuracy of predictions. We implement Fluffy on top of the CodeQL analysis framework and apply it to 250K JavaScript projects. Evaluating on five common vulnerability types, we find that Fluffy achieves an F1 score of 0.85 or more on four of them across a variety of datasets.
主题: 软件工程 (cs.SE); 密码学与安全 (cs.CR); 程序设计语言 (cs.PL)
引用方式: arXiv:2301.10545 [cs.SE]
  (或者 arXiv:2301.10545v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2301.10545
期刊参考: International Symposium on Software Testing and Analysis (ISSTA), 2023

提交历史

来自:Michael Pradel
[v1] 2023年1月25日 星期三 12:20:32 UTC
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-01
切换浏览方式为:
cs
cs.CR
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站