A web application audit is only worth the money if it ends with a dated, prioritised list of things your team can fix — not a PDF scored out of 100. Most mid-market Indian companies have never had one: a ₹50-500 crore business, a dealer or customer portal built by an agency in 2021, and one developer keeping it alive. The gap shows up at the worst moment, usually during an enterprise buyer's security questionnaire or the morning a customer downloads somebody else's invoice.
What a web application security audit actually covers
A web application security audit covers five things: who can reach each function, how the app treats untrusted input, where secrets and credentials live, how the stack is configured and patched, and what evidence it leaves behind. Authentication comes first — password policy, MFA on admin accounts, session and cookie handling. Authorization is second and usually the weakest: whether user A can act on user B's records. Input handling covers SQL injection, cross-site scripting, file uploads and server-side request forgery. Secrets means API keys, database passwords and .env files sitting where they should not. Configuration covers TLS, headers, cloud storage permissions and dependency versions. Logging covers whether anyone could reconstruct an incident afterwards. It is not a network penetration test, and it is not a compliance certificate.
How to audit a web application for security issues, step by step
Run the audit as five passes over two to three weeks, cheapest and highest-yield first, on a staging copy with anonymised data and written authorisation from the system owner.
- Map the surface (1-2 days). List every route, role and integration, then build a role-by-action grid; anything missing from the grid is unaudited. If three agencies built the app in five years, a short architecture review saves a day of guessing.
- Check exposure (half a day). TLS on SSL Labs, security headers, and a directory scan for .git, .env, database dumps, backups and forgotten staging subdomains.
- Attack authorization (2-3 days). Log in as two accounts side by side and swap every object ID, tenant ID and invoice number you can see.
- Fuzz input (2-3 days). Burp Suite or OWASP ZAP as a baseline, then targeted work on uploads, PDF generation and anything that calls an internal service.
- Scan dependencies and secrets (half a day). npm audit or pip-audit, Trivy on container images, and gitleaks over the full git history, not just the current branch.
Automated scanners will miss most of what matters — broken access control and business-logic flaws are invisible to them.
Worked example: what two weeks found at a mid-market distributor
Take an illustrative case, assembled from patterns that repeat across audits rather than one named client: a Gurgaon industrial-components distributor, ₹180 crore turnover, 900 dealer accounts on a portal built in 2021 and hosted on a single cloud VM in Mumbai. Two testers, ten working days, 19 findings, three of them critical.
The worst was authorization. Changing the invoice ID in /api/invoices/10432/pdf to the neighbouring number returned another dealer's invoice, complete with GSTIN, billing address and order values — no role check on the endpoint at all. Second: a .env.bak file left in the web root, exposing the database password and a live payment gateway key. Third: password reset tokens that never expired and were sequential integers. Also logged: an admin panel without MFA, no rate limit on login, a publicly listable storage bucket holding proof-of-delivery photos, and a PDF library two years behind with known CVEs.
How long it takes and what it costs
A scoped audit of one mid-market web application typically takes 8-12 person-days spread over two to three weeks; a portal with payments, uploads and several user roles sits at the top of that range. In India, independent testers usually quote ₹1.5-4 lakh for a single application, and specialist firms charge more. Two things keep the price sane: a written scope naming the URLs, roles and test accounts, and an agreement that the tester stops and calls you the moment they find a way in. Budget a retest two to four weeks after fixes — untested fixes are guesses. If the portal holds customer personal data, the DPDP Act makes access logs and retention policy part of the audit, not an afterthought.
How to fix what you find, in order
Fix in this order: anyone-can-see-anyone's-data first, secrets second, everything else after. Rotate every credential that was exposed before you patch the code that exposed it, because the key has already been copied somewhere. Close authorization holes within days, not sprints — they are usually a missing check in one middleware or controller, and a developer who knows the codebase can do it in an afternoon. Then patch dependencies monthly and put MFA and rate limiting on every admin route. Medium findings — headers, log retention, verbose error pages — can ride along with normal feature work. If the list is longer than your team can absorb alongside delivery, that is the point to bring in help with the web platform itself rather than patching symptom by symptom.
Where to start
Start with the half-day exposure check and the role-by-action grid — neither needs special tools and both find real problems. Write the scope down, get it signed, and keep the report where your next enterprise buyer can see it. Maysan Labs runs these audits for mid-market teams from Gurgaon and Cardiff, though we would rather you did the first pass yourself than waited for a questionnaire to force it.
Buying software or a website?
Twelve questions to ask any vendor before you sign: price, your data, fit for an Indian business and support.
Get the free checklistWritten by Maysan Engineering Team at Maysan Labs, a software studio in Gurgaon, India. Follow us on LinkedIn