JSSignature: Eliminating Third-Party-Hosted JavaScript Infection Threats Using Digital Signatures
Kousha Nakhaei, Ebrahim Ansari, Fateme Ansari

TL;DR
JSSignature is a client-side JavaScript framework that verifies third-party scripts using digital signatures, preventing malicious code execution and enhancing web security without restricting trusted providers.
Contribution
It introduces a novel client-side digital signature validation method for third-party JavaScript resources, ensuring integrity and authenticity without limiting provider choices.
Findings
Effective in preventing infected third-party scripts from executing.
Minimal performance overhead during validation.
Easy to deploy and integrate into existing web pages.
Abstract
Today, third-party JavaScript resources are indispensable part of the web platform. More than 88% of world's top websites include at least one JavaScript resource from a remote host. However, there is a great security risk behind using a third-party JavaScript resource, if an attacker can infect one of these remote JavaScript resources all websites those have included the script would be at risk. In this paper, we present JSSignature, an entirely at the client-side pure JavaScript framework in order to validate third-party JavaScript resources using digital signature. Therefore, all included JavaScript resources are checked against the integrity, authentication and non-repudiation risks before the execution. In contrary to existing methods, JSSignature protects web pages regardless of third-party resource infection nature while it does not set any restrictions on trusted JavaScript…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
