Skip to content

Commit 3d30cf1

Browse files
committed
Explain stubsabot cache poisoning risk
1 parent d1cf93f commit 3d30cf1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/stubsabot.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ jobs:
2828
- uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
2929
with:
3030
version-file: "requirements-tests.txt"
31-
# Test jobs can populate this cache; stubsabot has push credentials.
31+
# A compromised dependency in a test job on main could poison the shared
32+
# uv cache. Restoring it here could execute attacker-controlled code
33+
# with access to stubsabot's SSH key and GitHub token.
3234
enable-cache: false
3335
- name: Git config
3436
run: |

0 commit comments

Comments
 (0)