byted-bytehouse-hybrid-search
Warn
Audited by Gen Agent Trust Hub on Sep 21, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONCREDENTIALS_UNSAFE
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/export_config.shutilizes theevalcommand to process and export environment variables from a local JSON configuration file (~/.bytehouse_config.json). This pattern of dynamic command execution on file content poses a risk if the configuration file is compromised or contains unexpected keys. - [INDIRECT_PROMPT_INJECTION]: The
ByteHouseHybridSearchclient inscripts/hybrid_search_client.pyconstructs SQL queries by directly interpolating thetable_nameandqueryparameters. This creates a vulnerability surface where malicious input could potentially lead to SQL injection. - Ingestion points: The
table_nameandqueryparameters in methods withinscripts/hybrid_search_client.py(e.g.,create_hybrid_table,fulltext_search,insert_document). - Boundary markers: None identified in the SQL construction logic.
- Capability inventory: The skill uses
self.client.commandandself.client.queryto execute SQL against the database, which are high-capability operations. - Sanitization: While
transform_stringperforms basic character manipulation for query strings, thetable_nameparameter is interpolated into SQL statements without any validation or sanitization. - [CREDENTIALS_UNSAFE]: The database connection initialization in
scripts/hybrid_search_client.pysetsverify=Falsefor the ClickHouse client. Disabling SSL certificate verification weakens the security of the connection, potentially exposing database credentials and sensitive data to Man-in-the-Middle (MitM) attacks during transport.
Audit Metadata