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

Implement integrity proposal #234

Open
guybedford opened this issue Dec 10, 2021 · 0 comments
Open

Implement integrity proposal #234

guybedford opened this issue Dec 10, 2021 · 0 comments

Comments

@guybedford
Copy link
Owner

It may be worth considering implementing the "integrity" property in import maps at some point, per https://github.com/guybedford/import-maps-extensions#integrity as was implemented in SystemJS in systemjs/systemjs#2229.

This would allow import maps in es-module-shims to define integrity and fully guarantee those module execution commitments in polyfill mode.

The risk of implementation is that passthrough mode would not get the integrity feature - so that the 70% passthrough case effectively becomes less secure. This could be mitigated by making the feature a polyfillEnable feature, which when enabled fully disables passthrough with the performance cost justified by the security benefit.

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

1 participant