Website Security Health Monitor
A passive security auditing utility that analyzes HTTP response headers, TLS posture, DNS security records, and exposed technology banners.
The Problem
Many small businesses and developers inadvertently deploy websites lacking fundamental security headers (CSP, HSTS, X-Content-Type-Options) and email authentication records (SPF, DMARC), leaving them vulnerable to clickjacking, MIME-sniffing, and domain spoofing.
Project Context
Engineered a passive, non-intrusive security inspection tool built with Next.js and Node.js. It evaluates public HTTP headers and DNS configurations without performing aggressive scanning or vulnerability probing.
System Architecture & Data Flow
The client inputs a domain, and the backend server executes non-intrusive DNS queries and a safe single HTTP GET request with restricted timeouts.
User enters target domain in the web interface.
Input validation strips schemes, paths, and invalid characters to prevent SSRF and injection.
Node.js DNS module queries MX, TXT (SPF), and _dmarc records asynchronously.
Safe HTTPS request inspects response headers: Strict-Transport-Security, Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy.
Rules engine computes compliance status (Pass / Warning / Missing) with clear explanations and remediation code.
Clean report displayed with clear disclaimer highlighting passive assessment scope.
Technologies & Tools Used
Security Considerations
- •Strict SSRF protections: IP addresses resolved to private RFC 1918 (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) or loopback (127.0.0.1) are rejected immediately.
- •Passive assessment only: zero fuzzing, zero exploitation payloads, zero high-rate requests.
- •Requests run with 5-second connection timeouts and do not follow untrusted redirect loops.
Implementation Notes
• Built a dedicated parser for Content-Security-Policy directives evaluating default-src, script-src, and frame-ancestors.
• Formatted actionable remediation recommendations tailored for Nginx, Apache, and Next.js configuration files.
Engineering Challenges
Verified Results
- Used as an integrated live tool on ianjob.com (/tools/website-security-check).
- Provides instant, actionable feedback for web developers auditing their defensive header posture.
Lessons Learned
- •Passive header analysis reveals significant insights into an organization’s security hygiene without sending a single aggressive probe.
- •Developers appreciate copy-pasteable remediation snippets rather than vague compliance warnings.