Looking for a word that means the thrill of doing what is forbidden [duplicate]

Seems the child enjoys the sweet taste of forbidden fruit or stolen waters.

forbidden fruit.
Fig. someone or something that one finds attractive or desirable partly because having the person or thing is immoral or illegal. (Biblical; from the apple in the Garden of Eden that was forbidden to Adam by God.)

Jim flirts with his sister-in-law only because she's forbidden fruit.

The boy watches that program only when his parents are out. It's forbidden fruit.
— McGraw-Hill Dictionary of American Idioms

On a similar biblical vein, based on Steve Lovell's comment : stolen waters as in Proverbs 9:17 :

Stolen waters are sweet, and bread eaten in secret is pleasant.