similarity-search-patterns
Pass
Audited by Gen Agent Trust Hub on May 25, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: No malicious patterns detected. The skill provides implementation templates for similarity search using industry-standard libraries and practices. All external references target well-known database providers and established open-source libraries.- [COMMAND_EXECUTION]: The provided code templates interact with databases using official client libraries and SQL queries. These operations are well-defined and consistent with the skill's stated purpose of implementing vector storage and retrieval.- [DATA_EXFILTRATION]: The skill uses placeholders and variable arguments for sensitive information like API keys and connection strings, which is a safe practice. No unauthorized network communication or data transmission was detected in the templates or instructions.- [SAFE]: The pgvector template contains a potential SQL injection surface where JSONB metadata keys are interpolated into a query string. While this is a functional coding example, implementers should be aware that using untrusted keys could lead to injection if not properly sanitized or validated against a known schema.
Audit Metadata