MySQLdb (mysqlclient) is a C-extension MySQL driver. Cursor.execute() is an SQL injection sink when the query is built without %s placeholders.
.execute().executemany().connect()NeutralMySQLdb.connect(host='localhost', user=None, passwd='', ...) -> Connection
Opens a MySQL connection.
| FQN | Field | |
|---|---|---|
| MySQLdb | fqns[0] | |
| MySQLdb.cursors.Cursor | fqns[1] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
from codepathfinder.go_rule import PyMysqlDb