SigNoz/signoz

Move db calls to prepared statements with context

開放

#1,353 建立於 2022年7月4日

 (11 則留言) (0 個反應) (1 位負責人)TypeScript (976 個分叉)batch import
backendgood first issue

倉庫指標

星標
 (16,037 顆星)
PR 合併指標
 (平均合併 5天 22小時) (30 天內合併 224 個 PR)

描述

Move all db calls to prepared statements and specifically with context if possible to make signoz more secure from sql injections. A query should not be a string prepared from fmt.sprintf(...) if it has args to pass. We should try to avoid string formatting for args.

貢獻者指南