Because MapFix – Google Maps Link Fixer accepts user-supplied URLs and performs outbound HTTPS requests, security issues—especially around SSRF, open redirects, DNS rebinding, header injection, or denial of service—are treated as top priority.
If you discover a security vulnerability, please do not open a public GitHub issue with exploit details. Instead:
- Use GitHub's Private Vulnerability Reporting ("Security" tab → "Report a vulnerability") if enabled on the repository, or contact the repository maintainer privately.
- Include a clear description of the issue, reproduction steps or proof of concept, and potential impact.
- Strict allowlist limited to
maps.app.goo.gl,goo.gl/maps/...,google.com/maps/...,www.google.com/maps/..., andmaps.google.com. - HTTPS-only outbound connections with manual redirect handling (
maxRedirects = 8,timeout = 8000ms,maxResponseBytes = 256 KB). - Pre-connect DNS lookup validation and socket IP pinning blocking loopback, private RFC1918, CGNAT, link-local (
169.254.0.0/16), and reserved IPv4/IPv6 ranges. - Rejection of embedded credentials, non-standard ports, control characters, malformed percent-encoding, and Punycode/IDN homographs.
- No persistent storage of submitted URLs and no leaked stack traces in API error responses.
- Per-instance in-memory sliding-window IP rate limiting (
20 req/min), documented transparently as a single-instance burst guard rather than globally distributed rate limiting across serverless cold starts.