Your API Authentication is insecure, and we'll tell you why
sakurity.com
sakurity.com
I work at a "startup" where all the AJAX requests, even the ones that write to the database, are completely unauthenticated. Everything is PHP files in the webroot, which means of course they're one malicious POST away from losing the whole house of cards.
I happen to be writing an API right now on my own time so I can literally drop it on the server and try to get them on board with it and convince them it isn't black magic. Now hopefully it won't suck quite as badly.
The title would more aptly be: "One way to avoid a basic CSRF vulnerability"