network where http.request.method == "POST" and
(
// Successful CVE-2025-55182 RCE - command output in digest
(
http.response.status_code in (500, 303) and
http.response.body.content like~ "*E{\"digest\"*" and
http.request.body.content regex~ """.*\$[0-9]+:[a-zA-Z_0-9]+:[a-zA-Z_0-9]+.*"""
) or
// Prototype pollution attempts in RSC Flight data (never legitimate)
(
http.request.body.content regex~ """.*\$[0-9]+:[a-zA-Z_0-9]+:[a-zA-Z_0-9]+.*""" and
(
http.request.body.content like~ "*__proto__*" or
http.request.body.content like~ "*prototype*"
)
)
)
Install detection rules in Elastic Security
Detect React2Shell (CVE-2025-55182) Exploitation Attempt in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(opens in a new tab or window).