Skip to content

Document _why_ certain hosts are exempt from import checking #1188

@matklad

Description

@matklad

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?

Activity

dsherret

dsherret commented on Nov 23, 2024

@dsherret
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

transferred this issue fromdenoland/denoon Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @dsherret@matklad@thisisjofrank

        Issue actions

          Document _why_ certain hosts are exempt from import checking · Issue #1188 · denoland/docs