What You Can (and Cannot) See About Web App Security From the Outside: Lessons From Auditing 413 Public Launches
Disclosure: I am the creator of AppSeal, a passive external security scanner. Below is a technical breakdown of what an unauthenticated black-box audit actually reveals, aggregated patterns from 413 public web launches, and where external scanning hits a hard wall. Shipping a web app today takes hours instead of weeks. Between AI code editors, managed databases, and zero-config edge hosts, you…
From the outside, an external security scanner can provide insight into a web application's security posture, but there are limits to what it can uncover. A snapshot of 413 public web projects revealed some key findings about common configuration gaps and what can be assessed without access to the codebase.
Transport layer headers like Content Security Policy (CSP), HTTP Strict Transport Security (HSTS), and Cross-Origin-Opener-Policy (COOP) were often missing, with 78-90% of projects lacking each respective header. The client-side revealed a prevalence of source maps, debug routes, and embedded API keys, while runtime flaws included uncaught stack traces and missing Subresource Integrity (SRI) attributes.
The study found that hosting choices significantly impact baseline scores, with projects on platforms that provide built-in security headers performing better. For those using Next.js or Vercel, adding a headers() block in the next.config.js file can address most passive header warnings. However, it's crucial to understand that an A+ grade from an external scanner does not guarantee complete security.
An external scan lacks the ability to assess more complex issues like row-level security, deleted credentials from repositories, and server-side routes that aren't referenced in the frontend bundle.
In summary, while external black-box scanning offers valuable insights into a web application's security, it's essential to supplement it with other security practices, such as secret scanning and CI pipeline audits, to ensure a comprehensive security posture.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.