Are you thinking of cafestol? Cafestol and kahweol are lipophilic terpenes that are normally lost in filtration. They are thought to be cardiotoxins that contribute to the premature deaths of elderly unfiltered coffee drinkers. [1]
[1] https://www.hcplive.com/view/filtered-unfiltered-coffee-cont...