buherator on Nostr: [RSS] JSON Schema References Considered Harmful While I kind of agree with the title, ...
[RSS] JSON Schema References Considered Harmful
https://www.svix.com/blog/json-schema-external-entities/
While I kind of agree with the title, the article is mostly explaining how hitting their finger is the hammers fault. This is the gist:
"[Rust jsonschema] automatically (and, as of v0.21.0, eagerly) handles dereferencing $ref entries, including fetching arbitrary HTTP Resources and loading files off of disk if a file:/// URI is specified. If a resource doesn't include a valid JSON Schema document, the error message will include fragments of the affected document."
In other words jsonschema follows the spec, which they didn't read before implementing arbitrary schema upload+parsing.
Published at
2026-11-13 07:16:54 UTCEvent JSON
{
"id": "04362fa9fb573522e4ed7a7f25000858a388546d5f361f10b75230ce2e2905bb",
"pubkey": "f39833f08e0f05972be0604735d51ec700fb118d49d02a79bf6447093138c8e2",
"created_at": 1794554214,
"kind": 1,
"tags": [
[
"proxy",
"https://infosec.place/objects/58df1fa2-fd02-49b8-9cd4-d6bd0fd0586c",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://infosec.place/objects/58df1fa2-fd02-49b8-9cd4-d6bd0fd0586c",
"pink.momostr"
],
[
"-"
]
],
"content": "[RSS] JSON Schema References Considered Harmful\r\n\r\nhttps://www.svix.com/blog/json-schema-external-entities/\r\n\r\nWhile I kind of agree with the title, the article is mostly explaining how hitting their finger is the hammers fault. This is the gist:\r\n\r\n\"[Rust jsonschema] automatically (and, as of v0.21.0, eagerly) handles dereferencing $ref entries, including fetching arbitrary HTTP Resources and loading files off of disk if a file:/// URI is specified. If a resource doesn't include a valid JSON Schema document, the error message will include fragments of the affected document.\"\r\n\r\nIn other words jsonschema follows the spec, which they didn't read before implementing arbitrary schema upload+parsing.",
"sig": "daf4293073f50d6569400c7b085bd1e2ff4b468c30f43a6131f53858e88e63a6dce50b6c12c3faf901b33d55079023e98d4e6b301885142574830e12a4736280"
}