Christopher Steele says he was hired to help Hillary challenge the 2016 election results. That means Hillary is responsible for the dirty dossier.
https://www.washingtontimes.com/news/2018/dec/12/christopher-steele-hillary-clinton-was-preparing-t/