SigNoz/signoz

Move db calls to prepared statements with context

Ouverte

#1 353 ouverte le 4 juil. 2022

 (11 commentaires) (0 réaction) (1 personne assignée)TypeScript (976 forks)batch import
backendgood first issue

Métriques du dépôt

Stars
 (16 037 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur