>It's not possible to reliably detect CSRF automatically.
Yeah, it's not easy to reliably detect CSRF, but that doesn't mean you couldn't do some fuzzing and automatic flagging of potential CSRF. I think that this would be most useful against sites using RPC that returns JSON, especially if the fuzzer could analyze the response to see if it's usable JSON.
THere's a good blog post on what responses are vulnerable here: [
jpsykes.com]