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

Improve security considerations including the role of cache/serve behavior #13

Open
handrews opened this issue Nov 16, 2022 · 0 comments
Assignees
Labels
jri Related to the JRI (JSON Referencing and Identification) proposal security Security concerns

Comments

@handrews
Copy link
Contributor

Following up on some discussion in the most recent JSON Schema community call:

Part of the reason for specifying discovering, caching, and serving resources as part of JRI is to bring that cache/server inside the trust boundaries of the spec.

Retrieval of resources on demand has endless security implications which have to be addressed within the specification. However, encouraging the retrieval and trust-verification of resources prior to loading them into a cache/server allows resolving references without further security concerns. The security considerations are handled outside of JRI, in whatever code or process locates, retrieves, and parses the resource into the form suitable for the cache/server.

This should be addressed explicitly in the JRI specification. I have noticed that not all users of "$ref" seem aware of the security concerns, but after discussing this with a friend who has 20 years of security experience it is clear to me that we need to ensure that JRI is usable without on-demand retrieval, and the security implications are clear.

@handrews handrews added the jri Related to the JRI (JSON Referencing and Identification) proposal label Nov 16, 2022
@handrews handrews self-assigned this Nov 16, 2022
@handrews handrews added the security Security concerns label Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jri Related to the JRI (JSON Referencing and Identification) proposal security Security concerns
Projects
None yet
Development

No branches or pull requests

1 participant