It was hidden in her mouth. Ivy had been holding it there the entire time. The bug was too important. It was the only evidence she had, and she had to get it to Shawn. If Aurum discovered the bug, he would realize she had never intended to submit to him. Who knows, he might use even more brutal methods against her.
Earlier, Ivy and Shawn never had a chance to get close. With Aurum constantly watching, she could not pass it to him. After much thought, Ivy used the hug to slip the bug into Joshua