New Class of CI/CD Attacks Could Have Led to PyTorch Supply Chain Compromise

Industry news
Post Reply
rbc
President
Posts: 291
Joined: Mon Oct 30, 2023 1:32 am
Location: Vicksburg, MS
ISC2 Member Status: Yes
Contact:

New Class of CI/CD Attacks Could Have Led to PyTorch Supply Chain Compromise

Post by rbc »

A newly disclosed class of CI/CD attacks could have allowed attackers to inject malicious code into the PyTorch repository, leading to massive supply chain compromise, Praetorian security researcher John Stawinski says.

Initially detailed in December 2023, the attack method targets GitHub repositories with self-hosted runners attached and allows a threat actor to execute arbitrary code without requiring approval.

In short, an attacker can use a fork pull request to become a contributor to a repository that has a self-hosted runner attached, and then be able to run any GitHub workflow on the runner. If the runner was configured using the default steps, it is non-ephemeral, enabling persistent access.
[...]
New Class of CI/CD Attacks Could Have Led to PyTorch Supply Chain Compromise
Robert B. Carleton + ISC2 Central Mississippi President
Post Reply