An investigation has been launched into a social media stunt at the Australian Grand Prix that compromised the event's security.