Upvote:4
As a general rule, TSA will have no interest at all in your pills. You will be able to leave them in your bag, and they will not be interested in seeing them let alone knowing what they are.
The two exceptions to this would likely be :
So as long as you don't give them a reason to look in your bag, it's almost certain the companion will not have any chance to see the pills.
(Note that the answer would be different if the medication was a liquid, as that would fall under the standard liquid rules which would, at a minimum, generally require the items to be removed from your bag and placed through the X-ray separately from your other items)