Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide guidance on how to load third party scripts safely #86

Open
umar-ahmed opened this issue Nov 12, 2024 · 0 comments
Open

Provide guidance on how to load third party scripts safely #86

umar-ahmed opened this issue Nov 12, 2024 · 0 comments
Labels
collab Content suggestion or request

Comments

@umar-ahmed
Copy link

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

@umar-ahmed umar-ahmed added the collab Content suggestion or request label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
collab Content suggestion or request
Projects
None yet
Development

No branches or pull requests

1 participant