Dev.to Security 🔐 Cybersecurity 👁 0 📖 4 min read

Six Checks You Can Run on Any Production Site Without Server Access

Most pre-launch checks end after someone opens the homepage on a fast laptop and spots the green HTTPS padlock. That quick pass misses the failures that break browser security headers, mobile loading, or search indexatio

Most pre-launch checks end after someone opens the homepage on a fast laptop and spots the green HTTPS padlock. That quick pass misses the failures that break browser security headers, mobile loading, or search indexation.

In a passive audit of 60 active Bandung small-business websites on 19 November 2026 (one unauthenticated HTTP GET against initial HTML with no JavaScript execution), every domain (100%) ran on HTTPS. Yet 48.3% (29 of 60 sites) shipped zero of the four core browser security headers, 78.3% (47 of 60) advertised exact CMS or server versions, and 46.7% (28 of 60) had zero or multiple <h1> tags on the homepage.

You can check every one of those signals from a terminal using the exact HTTP responses and raw HTML that browsers and crawlers receive.

1. HTTP security headers behind HTTPS (25% weight)

TLS protects traffic in transit. Once HTML lands in the browser, five headers listed in the OWASP HTTP Headers Cheat Sheet tell the client how to handle framing, script origins, and content types: Strict-Transport-Security (HSTS), Content-Security-Policy (CSP), X-Frame-Options, X-Content-Type-Options: nosniff, and Referrer-Policy.

Missing rates in the 60-site Bandung sample were high across all five: 83.3% lacked CSP, 83.3% lacked X-Frame-Options, 83.3% lacked Referrer-Policy, 66.7% lacked X-Content-Type-Options: nosniff, and 61.7% lacked HSTS. One curl call checks the whole chain:

curl -sIL https://example.com | grep -iE '^(http/|strict-transport|content-security|x-frame|x-content-type|referrer-policy|x-powered-by)'

Watch the top of that output for redundant redirect hops and X-Powered-By version leaks, and check <meta name="generator"> in HTML. External header inspection and checking inner pages (/services, /pricing, /contact) for injected spam links cannot verify server files or database integrity once an attacker already has access inside hosting.

2. Mobile speed diagnostics vs real user loads (20% weight)

Google sets healthy Core Web Vitals thresholds at the 75th percentile of real user sessions: Largest Contentful Paint (LCP) <= 2.5s, Interaction to Next Paint (INP) <= 200ms, and Cumulative Layout Shift (CLS) <= 0.1. Single curl timings measured from a local machine reflect your local network overhead rather than cellular visitors.

As documented in Google PageSpeed Insights, low-traffic sites lack enough public Chrome User Experience Report (CrUX) samples, so the tool falls back to simulated Lighthouse runs. Focus on the Mobile tab for render-blocking scripts, unoptimized LCP images, and Total Blocking Time before scaling ad traffic.

3. Staging blocks and crawl endpoints (15% weight)

A single <meta name="robots" content="noindex"> copied from staging drops live pages out of search results. Missing crawl files hurt discovery as well: 13.3% (8/60) of audited Bandung domains lacked /robots.txt and 10.0% (6/60) had no /sitemap.xml.

Check raw HTML directives and crawl endpoints without executing client-side JavaScript:

curl -sL https://example.com | grep -iE '<meta[^>]+(robots|viewport)|rel="canonical"'
curl -s -o /dev/null -w "robots:%{http_code}\n" https://example.com/robots.txt
curl -s -o /dev/null -w "sitemap:%{http_code}\n" https://example.com/sitemap.xml

Per the Google Search Central SEO Starter Guide, robots.txt governs crawling access, whereas noindex removes URLs from Google Search only when Googlebot is allowed to crawl the page and read the tag.

4. Initial HTML tags and chat previews (20% weight)

Search crawlers and chat link unfurlers read <title>, <meta name="description">, a single clear <h1>, image alt text, and Open Graph tags (og:title, og:description, og:image) straight from initial HTML. In the 60-site Bandung sample, 71.7% (43/60) contained images missing alt attributes and 18.3% (11/60) omitted a meta description. If a framework injects these tags only after client-side hydration, messaging apps such as WhatsApp and Slack display bare links with blank thumbnails.

5. Mobile WhatsApp links that fail on tap (12% weight)

Broken chat buttons drop buyers right at the conversion step. In initial homepage HTML across the 60 audited Bandung domains, 23.3% (14/60) lacked any direct WhatsApp link and 8.3% (5/60) displayed no direct contact option.

WhatsApp's Click-to-Chat specification expects https://wa.me/<number> with a country code and zero leading 0, +, spaces, or hyphens. Inspect initial HTML to catch local 08 prefixes or leftover template numbers:

curl -sL https://example.com | grep -oiE 'https://(wa\.me|api\.whatsapp\.com/send)[^"'\'' <>]+'

6. Structured business entities and AI bot rules (8% weight)

Security headers, mobile speed, and crawl health carry far more weight than AI signals, so this layer takes only 8% of the scorecard. Two checks still help avoid entity mismatches. First, publish valid LocalBusiness or Organization JSON-LD whose values match visible page copy, following Google's local business structured data documentation. Second, confirm whether your robots.txt separates search indexing bots from training crawlers.

For instance, OpenAI's crawler guide separates OAI-SearchBot (used for ChatGPT Search citations, updating roughly 24 hours after a robots.txt edit) from GPTBot (model training). Allowing search bots while restricting training crawlers is a policy choice, while /llms.txt remains an optional Markdown proposal rather than a search requirement.

The scoring weights, scope table comparing external checks against server-side audits, and 7-day remediation order are documented in the 6-pillar business website audit guide from Wanoh Digital.

Which pre-launch regression slips past your deployment checks most often: missing response headers, a stray noindex tag, or broken mobile links?

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.