semble-setup
Audited by Socket on Aug 14, 2026
4 alerts found:
Anomalyx3SecurityNo direct, explicit malicious payload (backdoor, destructive actions, credential theft, or in-module command injection) is evident in this fragment. The most significant security concerns are (1) delegating retrieval behavior to an external runtime tool via execFileSync('uvx', ...)—a supply-chain/toolchain execution boundary—and (2) possible data exposure through telemetry that includes prompt-derived query content and repository file paths (and also forwarding the full process.env to the child). Overall risk is moderate and largely depends on telemetry() and the trustworthiness/configuration of uvx/semble invoked at runtime.
This configuration is not directly malicious in itself; it contains no visible exfiltration, credentials, or obfuscation. However, it automatically executes a third-party dependency at startup by launching `uvx` to run `semble[mcp]==0.5.4` over stdio, creating a meaningful supply-chain execution risk. Validate the dependency source/integrity (lockfiles/attestations), restrict/verify runtime resolution behavior, and review the invoked `semble` MCP package behavior separately.
This configuration enables high-impact runtime code execution by invoking Node.js scripts at multiple lifecycle points (session start and before Bash/Grep). The most concerning element is the execution of a script from an absolute external path ("/opt/foreign/pre-bash.mjs"), which raises provenance/integrity concerns. Malicious behavior cannot be confirmed from this fragment alone, but the wiring itself is a significant supply-chain risk requiring review of the referenced .mjs scripts and their sources/integrity.
No explicit malware or data-exfiltration logic is present in this fragment, but it establishes event-driven execution of two external Node.js hook scripts from `/opt/foreign/` at sensitive lifecycle points (pre-tool for Bash and broadly on subagent stop). Since the hook script contents are not provided, the primary risk is unreviewed, potentially malicious behavior and/or unintended access to temp files under `//tmp/**`. Treat the external hook scripts as the main trust boundary and verify integrity/behavior before use.