api-filtering-sorting
Warn
Audited by Socket on Sep 16, 2026
1 alert found:
SecuritySecurityreferences/advanced-filter-parser.md
MEDIUMSecurityMEDIUM
references/advanced-filter-parser.md
The code is a readable query-filter parser, not apparent malware. Its primary risks are prototype pollution through unvalidated dotted keys, unrestricted database query construction, and potentially expensive attacker-controlled regular expressions. Restrict filterable fields and operators, reject __proto__/constructor/prototype path segments, validate operand types and regex complexity, impose query timeouts and result limits, and require authorization before using the filters.
Confidence: 96%Severity: 72%
Audit Metadata