If you think it is ethical, you should tell the student about it. If you thin it is not ethical, you should definitely tell the student about it. What’s the worst that can happen?

(I know people who would take you to court or have their parents take you to court. I also know people how would meet you in a dark alley way. Don’t do things that you wouldn’t want the other person to know).