A new social media filter has been launched to prevent users from receiving unsolicited naked pictures.
On Friday the plugin – called Safe DM – which blocks and deletes pictures of penises sent via direct message became available to Twitter users.
Developer Kelsey Bressler came up with the idea after she received an unwanted nude picture from a man.
Ms Bressler said social media companies could do more to protect users from cyberflashing.
Safe DM is in the early stages of talks to add the filter to another major platform, Ms Bressler told the BBC.
“We would like to roll this out on other social media platforms and are discussing where to go next.”
To develop the artificial intelligence, Ms Bressler put out a request in September for the public to send her pictures.
“I am testing a filter that is under development which will automatically detect such pics in DMs and handle them on behalf of the user,” she posted on Twitter.
The Safe DM team claims the filter works 99% of the time.
The software scans users’ messages for images and when it detects one it sends a reply to both parties letting them know the message was inappropriate and has been deleted.