A table has a text column named as a password, which suggests passwords stored as typed
What it finds
A text column named password is usually where passwords are kept as they are typed, readable by anyone who can read the table or a backup of it. A column for a salted hash says what it holds in its name.
From the rule's source, plaintext_password_column.rs.
Turn it on, off or suppress it
The rule runs from the strict tier up. To turn it on in a lower tier, give it a level in tx0.toml:
[rules]
"tx0/sql:plaintext-password-column" = "warning"To keep one finding, suppress it with a reason: tx0 suppress ID --reason "..." writes the comment for it.
tx0 explain tx0/sql:plaintext-password-column shows the same in the terminal. Found a false positive? Report it.