All rules →
Rules / Rust
SHIELD-RUST-015

SQL statement built with format!

highRustCWE-89CVSS 8.1

What it detects

A SQL query assembled with format! interpolates values into the statement and risks injection.

How to fix

Build queries with bound parameters instead of format!; never interpolate values into SQL text.

Scan your repo freeFull documentation
Back to all rules
SHIELD-RUST-015: SQL statement built with format! — Zennoxa Shield