ShipBastion / Security guides
Security, email and AI-search guides
Practical, copy-paste fixes for the problems our scanners find most: Supabase RLS, leaked keys, security headers, TLS, SPF, DMARC, BIMI, AI crawlers and llms.txt.
Free scan. Sign in with Google to see the full report; paid plans start with a 7-day free trial.
App security
Supabase RLS security audit: find tables anyone can read
Step-by-step Supabase Row Level Security audit: enable RLS, write owner policies, test what the public anon key can read with curl, and keep the service_role key out of your frontend.
Security checklist for apps built with Cursor, Lovable, Bolt and v0
A pre-launch security checklist for AI-built apps: leaked keys in bundles, Supabase RLS, exposed .env and source maps, security headers, TLS, CORS and auth rate limits.
Next.js and Vercel security headers: copy-paste config
Add HSTS, CSP, X-Content-Type-Options, Referrer-Policy, Permissions-Policy and frame-ancestors to a Next.js app on Vercel with next.config.js or vercel.json, then verify them.
Disable TLS 1.0 and TLS 1.1: Nginx, Apache, Cloudflare, AWS
Find out if your server still accepts TLS 1.0 or 1.1 and disable them in Nginx, Apache, Cloudflare and AWS load balancers. Includes openssl test commands.
Subresource Integrity (SRI): protect third-party scripts
How to add Subresource Integrity hashes to CDN scripts and stylesheets, generate sha384 hashes with openssl, and why Mozilla Observatory deducts points without them.
Upload security findings to GitHub Code Scanning with SARIF
How to upload a SARIF 2.1.0 file to GitHub Code Scanning from GitHub Actions, the permissions you need, and how to use ShipBastion's SARIF export in that workflow.
Check your JavaScript bundles for leaked API keys
How API keys end up in frontend bundles, which keys are safe to be public and which are not, how to grep your built JS and source maps, and what to do after a leak.
Email authentication
Fix the SPF 10 DNS lookup limit (PermError)
Why SPF fails with PermError above 10 DNS lookups (RFC 7208), how to count lookups correctly, and three fixes: remove dead includes, move senders to subdomains, or flatten the record.
Move DMARC from p=none to p=reject without losing mail
A safe DMARC migration plan: collect rua reports at p=none, fix SPF and DKIM alignment for every sender, step through quarantine with pct, and finish at p=reject.
BIMI setup with a VMC certificate: show your logo in Gmail
BIMI step by step: DMARC enforcement prerequisite, SVG Tiny PS logo, Verified Mark Certificate or Common Mark Certificate, the default._bimi record and how to validate it.
How to read email headers: SPF, DKIM, DMARC and the real sender IP
Read raw email headers step by step: Authentication-Results, DKIM-Signature, the Received chain from bottom to top, the real sending IP and ARC. Includes a free header analyzer.
How to read DMARC aggregate (rua) XML reports
Understand DMARC aggregate XML reports: report_metadata, policy_published, source IPs, counts, policy_evaluated vs auth_results, and how to spot senders to fix before p=reject.
AI search and crawlers
Allow GPTBot, ClaudeBot and PerplexityBot through Cloudflare's WAF
Your robots.txt allows AI crawlers but Cloudflare blocks them. How to check the AI bot setting, add a WAF skip rule for verified AI crawlers, and test with real bot user-agents.
llms.txt guide: format, examples and common mistakes
How to write an llms.txt file for AI agents and AI search: the llmstxt.org format, a working example, how to serve it, and the soft-404 mistake most sites make.
robots.txt rules for AI crawlers: training vs search bots
Which AI user-agents train models and which power AI search: GPTBot vs OAI-SearchBot, ClaudeBot vs Claude-SearchBot, PerplexityBot, Google-Extended, Applebot-Extended, CCBot. Copy-paste robots.txt policies.