Skip to content

Commit 565a74c

Browse files
committed
docs(demo): clarify rustup supply-chain note in all notebooks
Strengthen the existing trust-model comment with an explicit 'by design' note to reduce future review noise.
1 parent a17b45a commit 565a74c

4 files changed

Lines changed: 12 additions & 0 deletions

File tree

demo/notebooks/00_seed_data.ipynb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@
7373
" # the `IN_COLAB and not COORDINODE_ADDR` check above already ensures this block\n",
7474
" # never runs when a live gRPC server is available, so there is no risk of\n",
7575
" # unintentional execution in local or server environments.\n",
76+
" # Security note: downloading rustup-init via HTTPS with cert verification and\n",
77+
" # executing from a temp file (not piped to shell) is by design — this is the\n",
78+
" # rustup project's own recommended install method for automated environments.\n",
7679
" import ssl as _ssl, tempfile as _tmp, urllib.request as _ur\n",
7780
"\n",
7881
" _ctx = _ssl.create_default_context()\n",

demo/notebooks/01_llama_index_property_graph.ipynb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@
6161
" # the `IN_COLAB` check above already ensures this block never runs outside\n",
6262
" # Colab sessions, so there is no risk of unintentional execution in local\n",
6363
" # or server environments.\n",
64+
" # Security note: downloading rustup-init via HTTPS with cert verification and\n",
65+
" # executing from a temp file (not piped to shell) is by design — this is the\n",
66+
" # rustup project's own recommended install method for automated environments.\n",
6467
" import ssl as _ssl, tempfile as _tmp, urllib.request as _ur\n",
6568
"\n",
6669
" _ctx = _ssl.create_default_context()\n",

demo/notebooks/02_langchain_graph_chain.ipynb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@
5858
" # the `IN_COLAB` check above already ensures this block never runs outside\n",
5959
" # Colab sessions, so there is no risk of unintentional execution in local\n",
6060
" # or server environments.\n",
61+
" # Security note: downloading rustup-init via HTTPS with cert verification and\n",
62+
" # executing from a temp file (not piped to shell) is by design — this is the\n",
63+
" # rustup project's own recommended install method for automated environments.\n",
6164
" import ssl as _ssl, tempfile as _tmp, urllib.request as _ur\n",
6265
"\n",
6366
" _ctx = _ssl.create_default_context()\n",

demo/notebooks/03_langgraph_agent.ipynb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@
6262
" # Skip embedded build if COORDINODE_ADDR is set — user has a gRPC server,\n",
6363
" # no need to spend 5+ minutes building coordinode-embedded from source.\n",
6464
" # The `IN_COLAB` check already guards against local/server environments.\n",
65+
" # Security note: downloading rustup-init via HTTPS with cert verification and\n",
66+
" # executing from a temp file (not piped to shell) is by design — this is the\n",
67+
" # rustup project's own recommended install method for automated environments.\n",
6568
" import ssl as _ssl, tempfile as _tmp, urllib.request as _ur\n",
6669
"\n",
6770
" _ctx = _ssl.create_default_context()\n",

0 commit comments

Comments
 (0)