HomeCybersecuritySecure Error Handling 2D: Stack Trace Leak vs. Sanitized Response Diagram | mysimulator.uk

Secure Error Handling 2D: Stack Trace Leak vs. Sanitized Response Diagram

Interactive 2D pipeline-diagram simulator: pan and zoom a schematic client-gateway-service-database flow, compare a verbose error handler that leaks stack traces and secrets against a sanitized handler that logs a correlation ID instead, and watch the exposure-score strip chart update live.

Cybersecurity2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-error-handling-security ↗ Open standalone

Requests stream through a client → gateway → service → database schematic pipeline, and a fraction of them fail at the service node. This simulator lets you flip the error handler between two real-world contracts: a verbose one that returns the raw exception — stack trace, connection string, query text — straight to the caller, and a sanitized one that returns a generic message plus a correlation ID while the real detail is written only to a centralized log store. Drag the diagram to pan and scroll to zoom, watch leaked-secret packets (red) fly all the way back to the client under the insecure mode versus sanitized packets (green) paired with a log entry (yellow) under the secure mode, tick individual payload fields on or off to see the field-exposure tally track exactly what a partially-hardened handler still forgets to strip, and read the exposure score live on the scrolling strip chart underneath.

⚙ Under the hood

Interactive 2D pipeline-diagram simulator: pan and zoom a schematic client-gateway-service-database flow, compare a verbose error handler that leaks stack traces and secrets against a sanitized handler that logs a correlation ID instead, and watch the exposure-score strip chart update live.

cybersecurityerror-handlingsecure-codingloggingowaspapi-security

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)