diff --git a/docs/copy_to_bin.md b/docs/copy_to_bin.md
index 58b69f1de..d7883f7c9 100644
--- a/docs/copy_to_bin.md
+++ b/docs/copy_to_bin.md
@@ -6,7 +6,7 @@ This rule uses a Bash command (diff) on Linux/macOS/non-Windows, and a cmd.exe
command (fc.exe) on Windows (no Bash is required).
Originally authored in rules_nodejs
-https://github.com/bazelbuild/rules_nodejs/blob/8b5d27400db51e7027fe95ae413eeabea4856f8e/internal/common/copy_to_bin.bzl
+https://github.com/bazel-contrib/rules_nodejs/blob/8b5d27400db51e7027fe95ae413eeabea4856f8e/internal/common/copy_to_bin.bzl
diff --git a/lib/copy_to_bin.bzl b/lib/copy_to_bin.bzl
index 660dca5f4..76e297c47 100644
--- a/lib/copy_to_bin.bzl
+++ b/lib/copy_to_bin.bzl
@@ -4,7 +4,7 @@ This rule uses a Bash command (diff) on Linux/macOS/non-Windows, and a cmd.exe
command (fc.exe) on Windows (no Bash is required).
Originally authored in rules_nodejs
-https://github.com/bazelbuild/rules_nodejs/blob/8b5d27400db51e7027fe95ae413eeabea4856f8e/internal/common/copy_to_bin.bzl
+https://github.com/bazel-contrib/rules_nodejs/blob/8b5d27400db51e7027fe95ae413eeabea4856f8e/internal/common/copy_to_bin.bzl
"""
load(
diff --git a/lib/private/copy_to_directory.bzl b/lib/private/copy_to_directory.bzl
index ee0cbbed8..d36dfb591 100644
--- a/lib/private/copy_to_directory.bzl
+++ b/lib/private/copy_to_directory.bzl
@@ -224,7 +224,7 @@ _copy_to_directory_attr = {
doc = _copy_to_directory_attr_doc["out"],
),
# TODO(3.0): Remove this attribute and do not add directory to runfiles by default.
- # https://github.com/aspect-build/bazel-lib/issues/748
+ # https://github.com/bazel-contrib/bazel-lib/issues/748
"add_directory_to_runfiles": attr.bool(
default = True,
doc = _copy_to_directory_attr_doc["add_directory_to_runfiles"],
diff --git a/lib/windows_utils.bzl b/lib/windows_utils.bzl
index 4801fde9a..30a81fed9 100644
--- a/lib/windows_utils.bzl
+++ b/lib/windows_utils.bzl
@@ -20,7 +20,7 @@ load("//lib/private:paths.bzl", "paths")
# Equivalent of the BASH_RLOCATION_FUNCTION in paths.bzl.
# Use this to write actions that don't require bash.
# Originally by @meteorcloudy in
-# https://github.com/bazelbuild/rules_nodejs/commit/f06553a
+# https://github.com/bazel-contrib/rules_nodejs/commit/f06553a
BATCH_RLOCATION_FUNCTION = r"""
rem Usage of rlocation function:
rem call :rlocation