arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1506.07813cs.PL
收藏

ADsafety:基于类型的JavaScript沙箱验证

ADsafety: Type-Based Verification of JavaScript Sandboxing

Joe Gibbs Politz, Spiridon Eliopoulos, Arjun Guha, Shriram Krishnamurthi

摘要:

Web站点通常将来自多个源的JavaScript程序合并到单个页面中。这些源必须相互保护,这需要健壮的沙箱。沙箱的许多入口点和JavaScript的微妙之处要求对实际沙箱源代码进行健壮的验证。我们使用一种新颖的类型系统JavaScript编码和验证沙箱属性。最终的验证器是轻量级的,高效的,并在实际的源代码上操作。我们通过将其应用于ADsafe来证明我们的技术的有效性,该技术揭示了一些错误和其他弱点。

英文摘要:

Web sites routinely incorporate JavaScript programs from several sources into a single page. These sources must be protected from one another, which requires robust sandboxing. The many entry-points of sandboxes and the subtleties of JavaScript demand robust verification of the actual sandbox source. We use a novel type system for JavaScript to encode and verify sandboxing properties. The resulting verifier is lightweight and efficient, and operates on actual source. We demonstrate the effectiveness of our technique by applying it to ADsafe, which revealed several bugs and other weaknesses.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑