PyMySQL is a pure-Python MySQL driver. Cursor.execute() accepts a raw query and parameter tuple — injection sink when the query is built from user input without the %s placeholder.
.execute().executemany().connect()Neutralpymysql.connect(host='localhost', user=None, password='', ...) -> Connection
Opens a MySQL connection.
| FQN | Field | |
|---|---|---|
| pymysql | fqns[0] | |
| pymysql.cursors.Cursor | fqns[1] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
from codepathfinder.go_rule import PyPymysql