implementing-search-filter

Warn

Audited by Socket on Sep 15, 2026

1 alert found:

Security
SecurityMEDIUM
scripts/generate_filter_query.py

The fragment is intended to build product-search queries. It contains no apparent malware or obfuscation, but the SQL builder has a clear SQL injection vulnerability because multiple command-line-controlled values are interpolated directly into SQL. The PostgreSQL branch also contains a syntax error that prevents execution. Use parameterized queries, validate filter types and ranges, and correct the incomplete search_vector assignment.

Confidence: 99%Severity: 72%
Audit Metadata
Analyzed At
Sep 15, 2026, 06:37 PM
Package URL
pkg:socket/skills-sh/ancoleman%2Fai-design-components%2Fimplementing-search-filter%2F@a29d5007ca693dfe2471de1c5bf4b7941070921f393ab66d0a40600df578761b