Answer
It is unknown who revealed Chen Fan's plot against the eunuchs, but it is possible that it was someone within the eunuchs' own ranks. The eunuchs were a powerful group in the Tang dynasty, and they would have been very suspicious of anyone who tried to undermine their power.