how to find out what is causing lots of accounts to be created on a site

One of my clients has reported that he's seeing lots of new accounts being automatically created on his site. He suspects its a script and want to know how to find what's causing this. Can you please tell me how to find this?

He's using buddypress.