> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# go-sql-sprintf-injection

> SQL text formatted with fmt.Sprintf risks SQL injection.

## What it flags

SQL text is formatted with `fmt.Sprintf`.

## How to review or fix

Use parameterized queries with placeholders.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "go-sql-sprintf-injection": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.