Lune

USENIX Security2026顶会

JScamd: An Automated Static Taint Analysis Framework for Detecting Cryptographic API Misuses in JavaScript

Shijie Jia, Bowen Xu, Yuan Ma, Yingjiao Niu, Limin Liu, Daren Zha, Jingqiang Lin

问 Lune

摘要

Cryptographic APIs are essential to application security, yet frequent developer misuse leads to widespread vulnerabilities. Detecting cryptographic misuse in JavaScript is challenging due to its dynamic semantics and fragmented cryptographic library ecosystem, which hinder static analysis tools from accurately modeling data flows and covering non-standard or evolving libraries, leading to high false-negative rates.

In this paper, we propose JScamd, a static analysis framework for scalable detection of cryptographic misuse in JavaScript. JScamd integrates an enhanced program representation engine, an LLM-assisted taint rule generation pipeline, and a precise static taint analysis engine to address JavaScript dynamic features. Building upon 16 systematically defined cryptographic security constraints, JScamd automatically analyzes cryptographic APIs, identifies security-sensitive taint sources and sinks, and synthesizes comprehensive taint analysis rules. This design enables accurate detection of cryptographic misuse across diverse JavaScript libraries and application scenarios. We performed a comprehensive large-scale evaluation on 322 widely adopted JavaScript projects. JScamd detects 1,059 misuses and achieves 97.78% precision, significantly outperforming three state-of-the-art tools. Our analysis further uncovers previously unknown vulnerabilities, resulting in 41 assigned CVEs. These results demonstrate that JScamd effectively bridges cryptographic security specifications and ecosystem-scale vulnerability detection in JavaScript.

问 Lune

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

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

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • CryptoGuard: High Precision Detection of Cryptographic Vulnerabilities in Massive-sized Java Projects 引用了 Comparing the Usability of Cryptographic APIs
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper13

  1. 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 次引用
  2. Comparing the Usability of Cryptographic APIsYasemin Acar, Michael Backes, Sascha Fahl, Simson L. Garfinkel 等S&P 2017 · 261 次引用
  3. HACL*: A Verified Modern Cryptographic LibraryJean Karim Zinzindohoué, Karthikeyan Bhargavan, Jonathan Protzenko, Benjamin BeurdoucheCCS 2017 · 258 次引用
  4. CryptoGuard: High Precision Detection of Cryptographic Vulnerabilities in Massive-sized Java ProjectsSazzadur Rahaman, Ya Xiao, Sharmin Afrose, Fahad Shaon 等CCS 2019 · 159 次引用
  5. Exploring ChatGPT's Capabilities on Vulnerability ManagementPeiyu Liu, Junming Liu, Lirong Fu, Kangjie Lu 等USENIX Security 2024 · 52 次引用

相关 Paper

  1. Towards Precise Reporting of Cryptographic MisusesYikang Chen, Yibo Liu, Ka Lok Wu, Duc Viet Le 等NDSS 2024
  2. Gopher: High-Precision and Deep-Dive Detection of Cryptographic API Misuse in the Go EcosystemYuexi Zhang, Bingyu Li, Jingqiang Lin, Linghui Li 等CCS 2024 · 2 次引用
  3. Why Crypto-detectors Fail: A Systematic Evaluation of Cryptographic Misuse Detection TechniquesAmit Seal Ami, Nathan Cooper, Kaushal Kafle, Kevin Moran 等S&P 2022
  4. Beyond Static Pattern Matching? Rethinking Automatic Cryptographic API Misuse Detection in the Era of LLMsYifan Xia, Zichen Xie, Peiyu Liu, Kangjie Lu 等ISSTA 2025 · 2 次引用
  5. Microwalk-CI: Practical Side-Channel Analysis for JavaScript ApplicationsJan Wichelmann, Florian Sieck, Anna Pätschke, Thomas EisenbarthCCS 2022 · 12 次引用
黄昏的海面,两侧是细线勾勒的悬崖