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

Checksum validation for better security #119

Open
nileshtrivedi opened this issue Dec 10, 2021 · 1 comment
Open

Checksum validation for better security #119

nileshtrivedi opened this issue Dec 10, 2021 · 1 comment

Comments

@nileshtrivedi
Copy link

Loading third-party scripts via a loader gives us an opportunity to do checksum validation and avoid exploits made by bad third-party code. Idea is from this Twitter thread:

image

The checksum could be a self-descriptive multihash for future-proofing.

@tosmolka
Copy link

tosmolka commented Apr 5, 2022

This could be achieved by adding support for Subresource Integrity to script.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants