File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -77,16 +77,15 @@ network where http.request.method == "POST" and
7777 (
7878 http.response.status_code in (500, 303) and
7979 http.response.body.content like "*E{\"digest\"*" and
80- http.request.body.content regex~ """\$\d+:[_a-zA-Z][_a-zA-Z0-9]*:[_a-zA-Z][_a-zA-Z0-9]*"""
80+ http.request.body.content regex~ """.*\$[0-9]+:[a-zA-Z_0-9]+:[a-zA-Z_0-9]+.*"""
81+
8182 ) or
8283 // Prototype pollution patterns specific to RSC Flight exploitation
83- (
84- http.request.body.content like~ "*__proto__*" and
85- http.request.body.content like~ "*constructor*"
86- ) or
87- // RSC Flight chunk reference exploitation pattern ($N:property:property)
88- (
89- http.request.body.content regex~ """\$\d+:[_a-zA-Z][_a-zA-Z0-9]*:[_a-zA-Z][_a-zA-Z0-9]*"""
84+ ( http.request.body.content regex~ """.*\$[0-9]+:[a-zA-Z_0-9]+:[a-zA-Z_0-9]+.*""" and (
85+ (
86+ http.request.body.content like~ "*__proto__*" or
87+ http.request.body.content like~ "*prototype*"
88+ ) and http.request.body.content like~ "*constructor*")
9089 )
9190)
9291'''
You can’t perform that action at this time.
0 commit comments