cd /news/ai-tools/is-your-app-showing-stack-traces-to-… · home › topics › ai-tools › article
[ARTICLE · art-177955] src=dev.to ↗ pub= topic=ai-tools verified=true sentiment=· neutral

Is your app showing stack traces to strangers? A 3-minute error-page check

A developer working on ProofForge released a free external scan that checks whether a live web app leaks stack traces, file paths, SQL statements, or connection strings to visitors through its error pages. The tool requests missing pages and malformed inputs from outside the app and reports pass, fail, or inconclusive, with paid one-time reports starting at $9 and an MCP server that lets AI agents run the check before deploying.

key takeaway

A production app should return a short generic error message with the correct status code and log full details server-side only, since debug-mode pages exposing tracebacks, node_modules paths, SQL, or ECONNREFUSED hand attackers a map of the system.

by read2 min views9 publishedNov 29, 2026

When your app breaks, what does a stranger see? In many AI-built apps, the answer is a full error page with a stack trace, file paths, database table names and sometimes a connection string. That is a free map of your app for anyone who wants to attack it.

Error pages written for debugging are fine on your laptop. In production they leak.

Any app that runs in development mode in production, or returns raw exception messages from its API. AI tools often leave debug mode on because it makes the demo easier to fix.

/this-page-should-not-exist. You should see a plain 404 page.' to a search box or ID parameter on a test record and see what comes back.Traceback, at Object., node_modules, SELECT, ECONNREFUSED, or a file path such as /app/src. Pass: every failure returns a short, generic message and the right status code, with details only in your private logs.

"Make sure the app runs in production mode in production. Add a global error handler that returns a short generic message and the right status code, logs the full error on the server only, and never returns stack traces, file paths, SQL, or environment values to the client."

An outside scan can request a missing page and a few simple malformed inputs, and report what comes back. It cannot trigger every error path in your app, so a clean result is not proof that no route leaks. Run the check above on the routes that matter most.

I work on ProofForge. The free scan covers what a visitor can see and says plainly what it could not check.

Check your own app from the outside, free. Run the free ProofForge scan on your live URL. No account needed for the first scan. It looks at your public site the way a stranger would and says pass, fail or inconclusive, so you know what is confirmed and what it could not see. One-time reports start at $9: see pricing. Building with an AI agent? There is an MCP server so it can check before it deploys.

── more in #ai-tools 4 stories · sorted by recency
── more on @proofforge 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/is-your-app-showing-…] indexed:0 read:2min 2026-11-29 · —