From d118c1c43cb858109b40b260798346d2af00efdf Mon Sep 17 00:00:00 2001 From: Paul Pfeister Date: Mon, 6 May 2024 19:58:40 -0400 Subject: [PATCH] Disallow other $ keys --- sherlock/resources/data.schema.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sherlock/resources/data.schema.json b/sherlock/resources/data.schema.json index f758913..4453500 100644 --- a/sherlock/resources/data.schema.json +++ b/sherlock/resources/data.schema.json @@ -3,6 +3,9 @@ "title": "Sherlock Targets", "description": "Social media target to probe for existence of usernames", "type": "object", + "properties": { + "$schema": { "type": "string" } + }, "patternProperties": { "^(?!\\$).*?$": { "type": "object", @@ -70,6 +73,7 @@ "additionalProperties": false } }, + "additionalProperties": false, "$defs": { "tag": { "type": "string", "enum": [ "adult", "gaming" ] } }