There was an error while loading. Please reload this page.
1 parent 4637b48 commit eabf603Copy full SHA for eabf603
1 file changed
main.sh
@@ -494,6 +494,8 @@ token="${GITHUB_TOKEN:-"${GH_TOKEN:-"${DEFAULT_GITHUB_TOKEN:-}"}"}"
494
# This prevents tokens from being exposed to subprocesses via environment variables.
495
# Since the tokens remain in memory, setting `fallback: none` (which prevents the tokens from being
496
# set in the first place) remains the best practice from a security standpoint, as readme says.
497
+# Note that this does not prevent token leaks via reading `/proc/*/environ` on Linux or
498
+# via `ps -Eww` on macOS. It only reduces the risk of leaks.
499
unset GITHUB_TOKEN GH_TOKEN DEFAULT_GITHUB_TOKEN
500
501
# Refs: https://github.com/rust-lang/rustup/blob/HEAD/rustup-init.sh
0 commit comments