Marcin

@marcinlawrowski · wordpress.org profile ↗
Member since
2014-11-24
Location
Poznan, Poland
Employer
Kainex
Job title
PHP & React development
Authored
3 (1 closed)
SVN commit access
0
Readme contributor
0
Combined install base
6k+ across 3 plugins

Alerts (0)

No open alerts.

Show 1 resolved alert
Critical code_pattern Wise Chat Resolved · false_positive_documented_feature 2d ago
Slugwise-chat
Patterndirect_mysqli_connect
Kindbuiltin
Version3.4
Hit count1
First hit
File
src/Endpoints/Ultra/index.php
Line
70
Snippet
$dbWC = new mysqli($constants['DB_HOST'], $constants['DB_USER'], $constants['DB_PASSWORD'], $constants['DB_NAME']);
Explanationplugin 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": "wise-chat",
    "pattern": "direct_mysqli_connect",
    "kind": "builtin",
    "version": "3.4",
    "hit_count": 1,
    "first_hit": {
        "file": "src/Endpoints/Ultra/index.php",
        "line": 70,
        "snippet": "$dbWC = new mysqli($constants['DB_HOST'], $constants['DB_USER'], $constants['DB_PASSWORD'], $constants['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."
}

Plugins authored (3)

Plugin Version Installs Last updated Status
Wise Chat ·wise-chat 3.4 6k+ 1mo ago Active
Wise Analytics ·wise-analytics 1.1.20 40 3mo ago Active
Wise Forms ·wise-forms 1.2.0 Closed