SigNoz/signoz

Move db calls to prepared statements with context

Open

Aperta il 4 lug 2022

Vedi su GitHub
 (11 commenti) (0 reazioni) (1 assegnatario)TypeScript (16.037 star) (976 fork)batch import
backendgood first issue

Descrizione

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.

Guida contributor