couchbaselabs / couchbaselabs/gojsonsm

Expression JSON format readers do not do proper input validation

Open
#41 0 comments 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.