byted-bytehouse-hybrid-search

Warn

Audited by Socket on Sep 21, 2026

2 alerts found:

AnomalySecurity
AnomalyLOW
scripts/hybrid_search_client.py

The fragment appears to implement database connectivity and hybrid-search scaffolding, not malware. The principal security issue is verify=False, which disables TLS certificate validation and can expose database credentials and traffic to man-in-the-middle attacks. The SQL construction is malformed and unused in this fragment, but direct table_name interpolation would become a SQL-injection risk if executed with untrusted input. No clear malicious behavior is identified.

Confidence: 97%Severity: 58%
SecurityMEDIUM
scripts/export_config.sh

This module is security-sensitive because it turns external JSON file content into shell code and executes it using eval. Even with jq @sh applied to values, the JSON keys are not validated as safe shell identifiers, leaving a potential command-injection vector if an attacker can modify ~/.bytehouse_config.json (or otherwise influence its contents). No explicit malware (exfiltration/persistence/backdoors) is visible in the provided fragment, but the eval-based design is a significant risk that warrants review and likely replacement with a safer non-eval approach (e.g., strict key validation and direct environment assignment).

Confidence: 52%Severity: 74%
Audit Metadata
Analyzed At
Sep 21, 2026, 03:16 PM
Package URL
pkg:socket/skills-sh/bytedance%2Fagentkit-samples%2Fbyted-bytehouse-hybrid-search%2F@b31a489c6a2c4919f0d2ee811e1a6b158d4beb35cf95c15b28bcd4a39eb139df