SigNoz/signoz

Move db calls to prepared statements with context

Offen

#1.353 geöffnet am 04.07.2022

 (11 Kommentare) (0 Reaktionen) (1 zugewiesene Person)TypeScript (976 Forks)batch import
backendgood first issue

Repository-Metriken

Stars
 (16.037 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 5T 22h) (224 gemergte PRs in 30 T)

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