agents-consilium
Audited by Socket on Mar 29, 2026
1 alert found:
AnomalyNo direct evidence of malicious payloads (no networking, exfiltration, persistence, or destructive actions) in this fragment. However, it contains a high-impact dynamic execution mechanism: run_with_timeout uses bash -c with declare -f "$fn_name" and then invokes $fn_name, without validating or allowlisting fn_name. If fn_name (or reachable function definitions) can be influenced by an attacker, this can enable arbitrary code execution. Separately, build_prompt may incorporate and emit sensitive local data by embedding full context-file contents and piped stdin verbatim into returned prompt text. Overall, the supply-chain risk is moderate due to execution-control and data-leak potential, with malware likelihood appearing low from this snippet alone.