Christchurch mayor Lianne Dalziel has been targetted by a "fake sextortion" online scam, which is aimed at embarrassing victims into paying up.
Dalziel received a ransom email at the weekend, saying malware had been installed on an adult website.
Unless $1000 was paid in Bitcoin, she was told a video of her supposedly using the X-rated website would be sent to her friends.
The Fake-tortian scam is well-known, with Netsafe receiving more than 300 reports of it in the past week.
Dalziel said she knew it was a scam. She hadn't visited any adult sites and had coincidentally received a tweet from a friend about it before the bogus email landed.