re: If you were tasked to conduct a security audit on a server/database-backed web app, where would you start? VIEW POST


Lot of professional answers but I would start by looking how many keys are stored in plain text in config file on backend server.

I would also check how many of these are used by the frontend. Some developers leave keys embedded in HTML like hidden input and sometimes you can get the key by inspecting network traffick with dev tools in browser if your app frontend uses 3rd party api but tries to hide the key by uglifying JS. Many forget to keep the keys on back and act as a middleware.

Then classics like sql injection, xss, those kind of things.

Later I would call sec experts to check for real threats which are security stuff and not common mistakes.

code of conduct - report abuse