Critical code_pattern
Resolved · vendored_alipay_lotusphp_sdk_lib_fp
2026-05-08 16:16:54 (1mo ago)
| Slug | woo-alipay |
|---|---|
| Pattern | direct_mysqli_connect |
| Kind | builtin |
| Version | 1.1.3 |
| 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": "woo-alipay",
"pattern": "direct_mysqli_connect",
"kind": "builtin",
"version": "1.1.3",
"hit_count": 1,
"first_hit": {
"file": "lib/alipay/lotusphp_runtime/DB/Adapter/ConnectionAdapter/DbConnectionAdapterMysqli.php",
"line": 6,
"snippet": "return new mysqli($connConf[\"host\"], $connConf[\"username\"], $connConf[\"password\"], $connConf[\"dbname\"], $connConf[\"port\"]);"
},
"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."
}