RedScore.ai

Public Exposure

100 points total

Identifies sensitive information leaking through response headers, error pages, robots.txt, and page source — internal IPs, stack traces, source maps, and debug artifacts.

Checks

CheckWeight
Information Leakage Headers
exposure_information_leakage_headers
30 pts
Response Content Leakage
exposure_response_content_leakage
30 pts
Error Handling Quality
exposure_error_handling_quality
25 pts
Robots.txt Analysis
exposure_robots_txt_analysis
15 pts

Pass / Warn / Fail Logic

Information Leakage Headers

Pass if no internal info in headers; warn on hostname exposure; fail on internal IP exposure.

Response Content Leakage

Pass if clean; warn on minor leaks; fail on source maps or internal references.

Error Handling Quality

Pass if custom error pages; warn on default pages; fail on stack traces or DB errors.

Robots.txt Analysis

Pass if minimal/clean; warn on sensitive paths; fail on extensive disclosure.

Findings & How to Fix Them

These are the specific findings RedScore may report for this category, along with remediation guidance.

criticalInternal IP in Headersinternal_ip_in_headers

Configure your reverse proxy or load balancer to strip internal addressing headers (X-Backend-Server, X-Upstream, Via) before responses reach the internet.

criticalStack Trace Exposedstack_trace_exposed

Ensure all application error handlers catch exceptions and return generic error pages in production. Disable debug mode and verbose error output.

criticalDatabase Error Exposeddatabase_error_exposed

Wrap all database operations in error handlers that log details server-side and return generic messages to the client.

mediumInternal Hostname in Headersinternal_hostname_in_headers

Strip or sanitize proxy and backend headers in your edge/load balancer configuration.

mediumExtensive robots.txt Disclosurerobots_extensive_disclosure

Significantly reduce your robots.txt footprint. Sensitive resources should be protected by authentication and network controls, not just excluded from search indexing.

mediumSource Maps Exposedsource_maps_exposed

Remove source map references from production builds. Configure your build tool (webpack, Vite, esbuild) to either skip source map generation for production or restrict source map access to authenticated debugging sessions.

mediumInternal References in Sourceinternal_refs_in_source

Audit page templates and application configuration for hardcoded internal addresses. Use environment-specific configuration to ensure production pages reference only public endpoints.

mediumInsecure Form Actioninsecure_form_action

Update all form action URLs to use HTTPS. Ensure your application generates HTTPS URLs in all contexts when running behind TLS termination.

lowDefault Error Pagedefault_error_page

Configure custom error pages that don't reveal server identity or internal details.

lowSensitive Paths in robots.txtrobots_sensitive_paths

Review your robots.txt for entries that reveal sensitive infrastructure. Consider whether disallowed paths need to exist at all, or whether they should be protected by authentication rather than obscurity.

lowInternal URLs in Commentsinternal_urls_in_comments

Strip HTML comments from production builds using your build tool's minification settings, or audit comments for internal references before deployment.

lowCommented-Out Codecommented_code_blocks

Remove commented-out code from production templates. Use version control to preserve old code instead of commenting it out.

lowNo Error Response Observedno_error_response_observed_in_probes

No error responses were observed during normal probing, so error-page hygiene was not directly tested. This is not the same as verifying custom error handling under failure conditions.