Closed
Description
Reproduction
#!/usr/bin/env sh
cat <<"EOF"
{
"constructor": "value"
}
EOF
npx @prantlf/jsonlint --quiet --no-duplicate-keys file.json
Output:
File: file.json
Parse error on line 2, column 18:
{ "constructor": "value"}
------------------^
Duplicate key: "constructor"
This may potentially be a prototype pollution vulnerability for constructor? Anyways, thank you for the work you have done on this package.