mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
7 lines
224 B
Rust
7 lines
224 B
Rust
let query = "INSERT INTO PAYMENTDETAILS(ID, CARDNUM) VALUES(?, ?)";
|
|
let result = sqlx::query(query)
|
|
.bind(id)
|
|
.bind(credit_card_number) // BAD: Cleartext storage of sensitive data in the database
|
|
.execute(pool)
|
|
.await?;
|