F-2025-0018·error-handling

Improper exception type and lack of input validation in OP bridge check

Fixedtypescriptwidgetrouter-api
TL;DR

The OP bridge availability check used a generic exception type and did not validate input, producing unclear error semantics on malformed requests.

Severity
LOW
Impact
LOW
Likelihood
LOW
Method
MManual review
CAT.
Complexity
LOW
Exploitability
LOW
02Section · Description

Description

The OP bridge availability check did not validate its inputs and threw a generic exception type on failure. Callers could not distinguish between "bridge unreachable" and "invalid input" reliably.

03Section · Recommendation

Recommendation

Validate inputs at the function boundary. Throw specific exception types so callers can differentiate error categories.

Initia: Resolved. Pashov Audit Group: Resolved.

Status
Fixed
Fix commit
de9d3602dc1a
Fix date
2025-06-23
F-2025-0018