Someone on Quora answered yes, it is a sin to hear about sin. Here is his answer:
This is actually a superb question. I think yes.
Why?
Because Genesis has two human creation stories and the second one has god turning away from Adam and Eve to let someone else (evil) tempt them to learn the secret “ability to tell good from evil”.
That implies god could not just “tell them” because god cannot become at all associated with evil (sin). So like Jesus selected Judas to go to Caiaphas the Chief Priest and “sell out Jesus” which was needed,.
But Jesus could not go and turn himself in or even spend time with Caiaphas (evil). The snake was needed in the garden and Judas was needed as a disciple to buffer god and Jesus from an act of evil/sin.
So, I think YES, in a very detail sense, even talking about sin (even being aware of it) is a sin. That’s why Jesus coming as a sacrifice (for our sin) was/is so important.
Is he right?