We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8c180f8 + 0727def commit 203c986Copy full SHA for 203c986
1 file changed
src/middleware/detector.ts
@@ -29,6 +29,20 @@ const EXPLOIT_PATTERNS = [
29
severity: 'high' as const,
30
description: 'Prototype pollution attempt',
31
},
32
+ // Object.prototype.then pollution (CVE-2025-55182 exploit technique)
33
+ {
34
+ name: 'then_pollution',
35
+ pattern: /prototype\s*\.\s*then|\.then\s*=/i,
36
+ severity: 'high' as const,
37
+ description: 'Object.prototype.then pollution attempt',
38
+ },
39
+ // _prefix property injection (CVE-2025-55182 exploit technique)
40
41
+ name: 'prefix_injection',
42
+ pattern: /"_prefix"\s*:/i,
43
44
+ description: 'Potential _prefix property injection',
45
46
// Malformed module references
47
{
48
name: 'malformed_module_ref',
0 commit comments