couchbaselabs / couchbaselabs/gojsonsm
Expression JSON format readers do not do proper input validation
Open
bug
- Dominant language
- Go
- Stars
- 9
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Various places in the JSON reader assume that the input data is correct and will panic rather than error if (for instance) a function block is included with no function name.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue does not name files or tests; start by locating the JSON reader and reproducing the example of a function block with no function name. Trace the other input assumptions that can panic, then verify malformed expression JSON returns errors instead of panicking.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100