[BUG] Reject malformed JSON object trailing commas at the HTTP boundary #130
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/starintel-server#130
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Defect
Current
masterat immutable starting commit52948721d8981e9aa5ccad4efd77185e52af845baccepts at least one malformed RFC 8259 JSON object shape with a trailing member comma atparse-json-octetsinstead of rejecting it as HTTP 400 /malformed_json.This is a data-integrity/security boundary bug, not a feature request.
TDD entry gate — already RED
Evidence-only PR #126 preserves the smallest deterministic regression.
a2368ba58d0347af8f85efd85aba7b021ded65b5master:52948721d8981e9aa5ccad4efd77185e52af845bHTTP-BOUNDARY-TESTS discovered=31 executed=31 passed=30 failed=1 skipped=0TRAILING-COMMA-JSON-IS-A-400-CLIENT-ERROR,}is accepted; the expectedhttp-input-erroris NIL[1,]is already rejected, so do not over-generalize the defect to arraysPreserve the RED regression unchanged. Do not xfail, skip, weaken, swallow, or bypass it.
Governance / ADARD gate
Authoritative research transaction:
lost-rob0t/starintel-auto-research#142, canonical identitySTAR-RESEARCH-060 Strict JSON HTTP Boundaryafter resolving prior numeric collisions.The research is now durably published on Auto-Research
main. PR #142 merged as50b0d6ad70da54af1420943b1f137b0a78e09b58; canonical approval metadata was then corrected onmainatdd01622f2e1acbafb7d929f824167492b7bef0e8usingadard.research-approval.v1. The exact-head Org-roam Pages workflow fordd01622...completed successfully.Operator research approval remains PENDING. Publication, merge and green publication CI are not approval evidence. Implementation therefore remains blocked.
Required sequence:
STAR-RESEARCH-060ontostarintel-auto-research/mainwithadard.research-approval.v1metadata and research approval still PENDING;masterwithout weakening the RED test;main.Required design scope once research is approved
Architecture boundaries
This bug does not authorize unrelated storage/query changes. Preserve the StarIntel split between CouchDB/document query semantics and the graph/KB plane; do not use this parser fix as a reason to move document/query responsibility into tek9.
Refs #126, #105.