Originally Posted by
MeeposFire
Well considering how much this edition has gone the way of being REALLY technical in its rulings we can make this work.
The ability actually says "until it attacks" not "when it makes an attack" or similar language. In this case one could argue that the word is not the game term of attack but is the more broad term of general English of "attacks" and thus could be ruled to include things that are not just what the game terms is strictly an attack.
Really technical sure but if you want another example of really technical language making a ruing look no further than the magic initiate ruling on whether you can use the spell with your spell slots (ruled to only work if it is on your class's list) or why the various different +stat to spell damage abilities work differently depending on their exact wording.