SigNoz/signoz

Move db calls to prepared statements with context

Open

#1353 opened on Jul 4, 2022

View on GitHub
 (11 comments) (0 reactions) (1 assignee)TypeScript (16,037 stars) (976 forks)batch import
backendgood first issue

Description

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.

Contributor guide