Authorities are investigating a shark attack at a beach south of Mandurah.