Critical code_pattern
Resolved · fp_legacy_code_pattern_lowinstalls
2026-10-06 05:05:56 (18d ago)
| Slug | wp-idados-crud |
|---|---|
| Pattern | direct_mysqli_connect |
| Kind | builtin |
| Version | 0.0.11 |
| Hit count | 1 |
| First hit |
|
| Explanation | plugin instantiates `new mysqli($var['host'], ...)` — a direct MySQL connection bypassing `$wpdb`. Legitimate WordPress plugins always go through `$wpdb` (which already has the connection); a raw `mysqli` connect using parsed wp-config credentials is the credential-harvesting backdoor shape. |
View raw JSON
{
"slug": "wp-idados-crud",
"pattern": "direct_mysqli_connect",
"kind": "builtin",
"version": "0.0.11",
"hit_count": 1,
"first_hit": {
"file": "assets/idados_functions.php",
"line": 423,
"snippet": "$mysqli = new mysqli($tb['rows'][0]['i0007_db_host'], $tb['rows'][0]['i0007_db_user'], $tb['rows'][0]['i0007_db_pass'], $tb['rows'][0]['i0007_db_name']);"
},
"explanation": "plugin instantiates `new mysqli($var['host'], ...)` \u2014 a direct MySQL connection bypassing `$wpdb`. Legitimate WordPress plugins always go through `$wpdb` (which already has the connection); a raw `mysqli` connect using parsed wp-config credentials is the credential-harvesting backdoor shape."
}