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

Document _why_ certain hosts are exempt from import checking #1188

Open
matklad opened this issue Nov 23, 2024 · 1 comment
Open

Document _why_ certain hosts are exempt from import checking #1188

matklad opened this issue Nov 23, 2024 · 1 comment

Comments

@matklad
Copy link

matklad commented Nov 23, 2024

The docs state:

By default Deno allows importing sources from following hosts:

deno.land
esm.sh
jsr.io
cdn.jsdelivr.net
raw.githubusercontent.com
gist.githubusercontent.com

They however don't explain why these particular domains are fine, while others are not. What is the threat model here? Why gist.githubusercontent.com is fine, but some other random paste bin as not?

@dsherret
Copy link
Member

Thanks for the nudge. There's a cve we were holding off on publishing until a bit after 2.0 and we should publish that now. cc @bartlomieju

@dsherret dsherret transferred this issue from denoland/deno Nov 23, 2024
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