Lune

CCS2021顶会

The Effect of Google Search on Software Security: Unobtrusive Security Interventions via Content Re-ranking

Felix Fischer, Yannick Stachelscheid, Jens Grossklags

摘要

Google Search is where most developers start their Web journey looking for code examples to reuse. It is highly likely that code that is linked to the top results will be among those candidates that find their way into production software. However, as a large amount of secure and insecure code has been identified on the Web, the question arises how the providing webpages are ranked by Google and whether the ranking has an effect on software security.

We investigate how secure and insecure cryptographic code examples from Stack Overflow are ranked by Google Search. Our results show that insecure code ends up in the top results and is clicked on more often. There is at least a 22.8% chance that one out of the top three Google Search results leads to insecure code.

We introduce security-based re-ranking, where the rank of Google Search is updated based on the security and relevance of the provided source code in the results. We tested our re-ranking approach and compared it to Google's original ranking in an online developer study. Participants that used our modified search engine to look for help online submitted more secure and functional results, with statistical significance. In contrast to prior work on helping developers to write secure code, security-based re-ranking completely eradicates the requirement for any action performed by developers. Our intervention remains completely invisible, and therefore the probability of adoption is greatly increased. We believe security-based re-ranking allows Internet-wide improvement of code security and prevents the far-reaching spread of insecure code found on the Web.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Using AI Assistants in Software Development: A Qualitative Study on Security Practices and Concerns 引用了 Stack Overflow Considered Harmful? The Impact of Copy&Paste on Android Application Security
  • Using AI Assistants in Software Development: A Qualitative Study on Security Practices and Concerns 引用了 You Get Where You're Looking for: The Impact of Information Sources on Code Security
  • Using AI Assistants in Software Development: A Qualitative Study on Security Practices and Concerns 引用了 "Make Them Change it Every Week!": A Qualitative Exploration of Online Developer Advice on Usable and Secure Authentication
  • "Get in Researchers; We're Measuring Reproducibility": A Reproducibility Study of Machine Learning Papers in Tier 1 Security Conferences 引用了 Stack Overflow Considered Harmful? The Impact of Copy&Paste on Android Application Security
  • "Get in Researchers; We're Measuring Reproducibility": A Reproducibility Study of Machine Learning Papers in Tier 1 Security Conferences 引用了 Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection
  • Unhelpful Assumptions in Software Security Research 引用了 Stack Overflow Considered Harmful? The Impact of Copy&Paste on Android Application Security
  • Unhelpful Assumptions in Software Security Research 引用了 You Get Where You're Looking for: The Impact of Information Sources on Code Security
  • Unhelpful Assumptions in Software Security Research 引用了 Comparing the Usability of Cryptographic APIs
  • Stack Overflow Considered Harmful? The Impact of Copy&Paste on Android Application Security 引用了 You Get Where You're Looking for: The Impact of Information Sources on Code Security
  • "Make Them Change it Every Week!": A Qualitative Exploration of Online Developer Advice on Usable and Secure Authentication 引用了 Stack Overflow Considered Harmful? The Impact of Copy&Paste on Android Application Security
  • "Make Them Change it Every Week!": A Qualitative Exploration of Online Developer Advice on Usable and Secure Authentication 引用了 You Get Where You're Looking for: The Impact of Information Sources on Code Security
  • Comparing the Usability of Cryptographic APIs 引用了 You Get Where You're Looking for: The Impact of Information Sources on Code Security
  • The Effectiveness of Security Interventions on GitHub 引用了 Stack Overflow Considered Harmful? The Impact of Copy&Paste on Android Application Security
  • The Effectiveness of Security Interventions on GitHub 引用了 You Get Where You're Looking for: The Impact of Information Sources on Code Security
  • The Effectiveness of Security Interventions on GitHub 引用了 Comparing the Usability of Cryptographic APIs
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper8

  1. "Get in Researchers; We're Measuring Reproducibility": A Reproducibility Study of Machine Learning Papers in Tier 1 Security ConferencesDaniel Olszewski, Allison Lu, Carson Stillman, Kevin Warren 等CCS 2023 · 19 次引用
  2. Using AI Assistants in Software Development: A Qualitative Study on Security Practices and ConcernsJan H. Klemmer, Stefan Albert Horstmann, Nikhil Patnaik, Cordelia Ludden 等CCS 2024 · 14 次引用
  3. Unhelpful Assumptions in Software Security ResearchIta Ryan, Utz Roedig, Klaas-Jan StolCCS 2023 · 9 次引用
  4. "Make Them Change it Every Week!": A Qualitative Exploration of Online Developer Advice on Usable and Secure AuthenticationJan H. Klemmer, Marco Gutfleisch, Christian Stransky, Yasemin Acar 等CCS 2023 · 8 次引用
  5. The Effectiveness of Security Interventions on GitHubFelix Fischer, Jonas Höbenreich, Jens GrossklagsCCS 2023 · 4 次引用

它引用的 Paper8

  1. Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity DetectionXiaojun Xu, Chang Liu, Qian Feng, Heng Yin 等CCS 2017 · 682 次引用
  2. You Get Where You're Looking for: The Impact of Information Sources on Code SecurityYasemin Acar, Michael Backes, Sascha Fahl, Doowon Kim 等S&P 2016 · 325 次引用
  3. Stack Overflow Considered Harmful? The Impact of Copy&Paste on Android Application SecurityFelix Fischer, Konstantin Böttinger, Huang Xiao, Christian Stransky 等S&P 2017 · 293 次引用
  4. Comparing the Usability of Cryptographic APIsYasemin Acar, Michael Backes, Sascha Fahl, Simson L. Garfinkel 等S&P 2017 · 261 次引用
  5. I Think They're Trying to Tell Me Something: Advice Sources and Selection for Digital SecurityElissa M. Redmiles, Amelia R. Malone, Michelle L. MazurekS&P 2016 · 151 次引用

相关 Paper

  1. Stack Overflow Considered Helpful! Deep Learning Security Nudges Towards Stronger CryptographyFelix Fischer, Huang Xiao, Ching-yu Kao, Yannick Stachelscheid 等USENIX Security 2019 · 44 次引用
  2. Measuring the Effects of Stack Overflow Code Snippet Evolution on Open-Source Software SecurityAlfusainey Jallow, Michael Schilling, Michael Backes, Sven BugielS&P 2024 · 6 次引用
  3. Backdooring Neural Code SearchWeisong Sun, Yuchen Chen, Guanhong Tao, Chunrong Fang 等ACL 2023 · 18 次引用
  4. 10 Years Later: Revisiting How Developers Search for CodeKathryn T. Stolee, Tobias Welp, Caitlin Sadowski, Sebastian G. ElbaumFSE 2025 · 3 次引用
  5. Do Users Write More Insecure Code with AI Assistants?Neil Perry, Megha Srivastava, Deepak Kumar, Dan BonehCCS 2023 · 150 次引用
黄昏的海面,两侧是细线勾勒的悬崖