SigNoz/signoz

Move db calls to prepared statements with context

Open

#1.353 geöffnet am 4. Juli 2022

Auf GitHub ansehen
 (11 Kommentare) (0 Reaktionen) (1 zugewiesene Person)TypeScript (16.037 Stars) (976 Forks)batch import
backendgood first issue

Beschreibung

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