SigNoz/signoz

Move db calls to prepared statements with context

Open

#1,353 创建于 2022年7月4日

在 GitHub 查看
 (11 评论) (0 反应) (1 负责人)TypeScript (16,037 star) (976 fork)batch import
backendgood first issue

描述

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.

贡献者指南