Critical code_pattern
Resolved · no_longer_matches
2026-04-24 17:08:39 (7d ago)
| Slug | ocean-extra |
|---|---|
| Pattern | unserialize_after_remote_call |
| Kind | builtin |
| Version | 2.5.5 |
| Hit count | 3 |
| First hit |
|
| Explanation | a remote HTTP fetch (`wp_remote_*`/`curl_exec`/`file_get_contents`) is followed by `@unserialize` within the same file — classic PHP Object Injection C2 gadget used by EP and most WP supply-chain backdoors. The error-suppressed form is the tell: legit code wants to know when deserialize fails; attackers suppress so malformed gadgets do not leak. |
View raw JSON
{
"slug": "ocean-extra",
"pattern": "unserialize_after_remote_call",
"kind": "builtin",
"version": "2.5.5",
"hit_count": 3,
"first_hit": {
"file": "includes/panel/classes/importers/class-settings-importer.php",
"line": 25,
"snippet": "L24: $raw = file_get_contents( $file ); \u2192 L25: $data = @unserialize( $raw, [ 'allowed_classes' => false ] );"
},
"explanation": "a remote HTTP fetch (`wp_remote_*`/`curl_exec`/`file_get_contents`) is followed by `@unserialize` within the same file \u2014 classic PHP Object Injection C2 gadget used by EP and most WP supply-chain backdoors. The error-suppressed form is the tell: legit code wants to know when deserialize fails; attackers suppress so malformed gadgets do not leak."
}