Version
envctl v0.6.0
Reproduction
Run redact over a normal JSON Schema document:
$ envctl redact < src/data/schemas/gameplay.schema.json
<redacted:private-key>
The input is a 37,499-byte draft-06 JSON Schema with SHA-256:
d2702cc7bc4884401f38af9cf37c3a906f0a7dcbb2408fdfd0c9cd8fc8d0057e
gameplay.schema.json
stall-visuals.schema.json
The schema contains no private key, credential, or private-key token. Small schema constructs such as $schema, $ref, type, and definitions pass through normally. None of the individual objects under definitions produces this whole-document marker when tested separately; the false positive occurs on the complete document.
Actual behavior
The entire schema is replaced with:
Expected behavior
Ordinary JSON Schema content should remain structurally intact. Only actual secret values should be redacted; document size or an aggregate of normal schema text should not cause the whole document to be classified as a private key.
Version
envctl v0.6.0Reproduction
Run
redactover a normal JSON Schema document:The input is a 37,499-byte draft-06 JSON Schema with SHA-256:
gameplay.schema.json
stall-visuals.schema.json
The schema contains no private key, credential, or
private-keytoken. Small schema constructs such as$schema,$ref,type, anddefinitionspass through normally. None of the individual objects underdefinitionsproduces this whole-document marker when tested separately; the false positive occurs on the complete document.Actual behavior
The entire schema is replaced with:
Expected behavior
Ordinary JSON Schema content should remain structurally intact. Only actual secret values should be redacted; document size or an aggregate of normal schema text should not cause the whole document to be classified as a private key.