Poisoned Pipeline / Incidents / AS387
cdn2.cocoapods.org was hijacked through an abandoned GitHub Pages record
Certificates / trust storesCDN / web assets
A Checkmarx researcher found that cdn2.cocoapods.org — a subdomain the
CocoaPods dependency manager had used years earlier — still had a DNS record
pointing at GitHub Pages, where the project no longer existed. Anyone could
claim that GitHub Pages site and take the subdomain. In this case the takeover
had already happened: the subdomain was serving a casino site. The researcher
claimed it himself to stop a second takeover and disclosed to CocoaPods, which
removed the record. The risk is specific to dependency infrastructure:
developers and build systems are configured to fetch from that hostname.
Mapped techniques
supply-chain cdn2.cocoapods.org was hijacked through an abandoned GitHub
An abandoned subdomain of a real package host was reclaimed.
The CDN hostname was the compromised delivery asset.