I want to add a new page on the Frontend Web Application framework to explain how to safely load third-party scripts. In particular, I'd like to highlight some of the tools like Content Security Policy (CSP) and Sub-resource Integrity (SRI) that you can use.
Why do you think it is important?
Supply chain attacks have become increasingly common against dapp frontends. At least two attacks, 1) Ledger ConnectKit, and 2) 1inch dapp, could at least partially have been mitigated by stricter usage of CSP and SRI.
Can you cite resources where to base the content from?
What content are you looking to add?
I want to add a new page on the Frontend Web Application framework to explain how to safely load third-party scripts. In particular, I'd like to highlight some of the tools like Content Security Policy (CSP) and Sub-resource Integrity (SRI) that you can use.
Why do you think it is important?
Supply chain attacks have become increasingly common against dapp frontends. At least two attacks, 1) Ledger ConnectKit, and 2) 1inch dapp, could at least partially have been mitigated by stricter usage of CSP and SRI.
Can you cite resources where to base the content from?
Attacks