Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
fix(ci): resolve VT curl through current Bash
Martin Vogelb0279a010c1b
diff --git a/scripts/ci/check-virustotal.sh b/scripts/ci/check-virustotal.shindex 8f446ad30..378594719 100755--- a/scripts/ci/check-virustotal.sh+++ b/scripts/ci/check-virustotal.sh@@ -17,7 +17,7 @@ command -v curl >/dev/null 2>&1 || {exit 1}-python3 - <<'PY'+python3 - "$BASH" <<'PY'from __future__ import annotationsimport csv@@ -37,6 +37,9 @@ from dataclasses import dataclassfrom typing import Deque, Dict, List, Optional, Sequence, Tuple+bash_executable = pathlib.Path(sys.argv[1])++class GateError(Exception):pass@@ -533,6 +536,9 @@ def fetch_analysis(api_key: str, analysis_id: str, curl_timeout: int) -> Optionaencoded_id = urllib.parse.quote(analysis_id, safe="")response = subprocess.run([+ str(bash_executable),+ "-c",+ 'exec curl "$@"',"curl","-sf","--max-time",diff --git a/tests/test_vt_gate_zero_tolerance_contract.sh b/tests/test_vt_gate_zero_tolerance_contract.shindex f7c29a340..e89d837c0 100644--- a/tests/test_vt_gate_zero_tolerance_contract.sh+++ b/tests/test_vt_gate_zero_tolerance_contract.sh@@ -20,6 +20,14 @@ for needle in defender-endpoint-verification av-endpoint-verify false-positive ffidone+# Source-contract patterns intentionally retain shell variables literally.+# shellcheck disable=SC2016+grep -Fq 'python3 - "$BASH"' "$GATE" ||+ fail "gate must pass its current Bash explicitly to native Windows Python"+# shellcheck disable=SC2016+grep -Fq 'exec curl "$@"' "$GATE" ||+ fail "gate must resolve curl through its current Bash without interpolating argv"+mkdir -p "$FIX/bin" "$FIX/work/binaries/objects" "$FIX/responses"printf 'release-bytes\n' > "$FIX/work/binaries/objects/probe"printf 'second-object\n' > "$FIX/work/binaries/objects/probe2"