It is absolutely NOT an "attack" of any kind. You have legitimate reasons for concern about your own safety. Giving him a "heads up" defeats the entire PURPOSE. It's not that you're playing "gotcha," it's that you are exercising sound judgment in proceeding in a cautious way.