Overview
- Security checks (Max)
- ~60
- API endpoints
- 18
- Subscription tiers
- 3
- Development sprints
- 4
Small businesses face real website security risks (expired SSL certificates, misconfigured email authentication, exposed admin panels) but rarely have in-house security expertise or the budget for dedicated tooling. CyberShield runs a security scan in under 90 seconds, straight from a browser, and explains the results in plain language.
Midway through, I pivoted from an agent-based monitoring model to a pure domain-scanning SaaS, for lower onboarding friction and a better fit for small businesses. The site also carries 12 bilingual blog posts.
Architecture
A static front end on Vercel talks to an async FastAPI service on Railway. Supabase provides PostgreSQL, authentication and a realtime channel that pushes new findings to the dashboard.
| Layer | Technology | What it does |
|---|---|---|
| Front end | HTML5 and JS on Vercel | 20 routes: landing, dashboard, register, blog. Deployed to Vercel’s edge network with the custom domain digitalcybershield.com. |
| Back end | FastAPI on Railway | 18 endpoints across 3 modules (scan engine, customer API, dashboard API). Python 3.12, async throughout. |
| Database | Supabase PostgreSQL | 5 tables: customers, scan_history, scan_findings, scan_events, customer_domains, with row-level security policies. |
| Auth | Supabase Auth | Email and password plus Google OAuth sign-in. JWT-based sessions on all dashboard API routes. |
| Realtime | Supabase WebSocket | The scan_events table is published over WebSocket, so the dashboard updates on new findings without a refresh. 5-minute polling fallback. |
| Resend API | Branded HTML scan reports and security alerts, sent from general@jihun.me. | |
| Reputation | VirusTotal API | 90-vendor consensus domain reputation scoring; malware and phishing detection at scan time. |
Scan engine
The domain scanner runs every check category concurrently with Python asyncio and returns a full scan in 5 to 15 seconds. Findings are scored and letter-graded automatically.
| Category | Key checks | Max severity |
|---|---|---|
| SSL / TLS | Certificate expiry (7 and 30 days), TLS version, weak ciphers, CT log query, HSTS preload | Critical |
| HTTP headers | HSTS, CSP (including unsafe-eval analysis), X-Frame-Options, SRI audit, TRACE detection, sensitive path exposure (/admin, /.env, /.git) | High |
| Email authentication | SPF (+all, ~all, -all), DKIM (11 selectors), DMARC policy strength, MTA-STS, rua/ruf presence, SPF lookup count | High |
| DNS | DNSSEC, CAA records, AXFR zone transfer test, subdomain takeover (8 fingerprints), NS redundancy | Critical |
| Open ports | 15 high-risk ports on Free and Plus; 50 ports on Max, including Docker API (2376), Kubernetes (6443), etcd (2379), Jupyter (8888) and Consul (8500) | Critical |
| Malware and reputation | VirusTotal 90-vendor consensus, domain reputation score | Critical |
| Sensitive information leaks | /.env variants, /.git/config, backup files, phpinfo.php, wp-config.php.bak (Max tier) | Critical |
Scoring
Each finding deducts points from 100 by severity; the remaining score maps to a letter grade.
| Severity | Deduction | Grade | Score range |
|---|---|---|---|
| Critical | −22 pts | A+ | 93 to 100 |
| High | −12 pts | A | 85 to 92 |
| Medium | −6 pts | B | 75 to 84 |
| Low | −2 pts | C | 60 to 74 |
| D | 45 to 59 | ||
| F | 0 to 44 |
Static code analyser: 14 vulnerability patterns
Users upload source files (Python, JS, PHP and others) for pattern-based static analysis. Detected categories include:
- Hardcoded API keys and secrets, plus third-party secret patterns (Stripe, Twilio, SendGrid)
- SQL injection through unsanitised string concatenation
- Insecure
os.getenv()fallbacks - JWT validation disabled (
verify=False) - CORS wildcard (
*) and debug mode left on in production - Insecure deserialisation (
pickle.loads) - Open redirects through unvalidated URLs, and path traversal (
../sequences)
Security controls in the platform
A security product has to hold itself to the checks it sells. These are the controls the architecture above puts in place.
- Tenant isolation: row-level security policies on the Supabase tables, so each customer reads only their own scans and findings.
- Authentication: email and password or Google OAuth through Supabase Auth, with JWT-based sessions required on every dashboard API route.
- Plan limits enforced server-side: scan quotas, file-size limits and the extended checks are gated per tier in the API, not in the browser.
Subscription tiers
| Feature | Free | Plus, $19/mo | Max, $49/mo |
|---|---|---|---|
| Domain scans per month | 5 | 50 | Unlimited |
| Security checks | ~15 | ~35 | ~60 |
| Registered domains | 1 | 5 | 20 |
| Code file scans | 3, up to 500 KB | 30, up to 2 MB | Unlimited, up to 10 MB |
| Event retention | 7 days | 90 days | 1 year |
| Scheduled scans | None | Weekly | Daily |
| Notification channels | Email, Slack, Discord | All channels | |
| Extended port scan (50 ports) | No | No | Yes |
| Sensitive information leak detection | No | No | Yes |
Customer dashboard
| Widget | What it shows |
|---|---|
| Security score | A 0 to 100 score with a letter grade (A+ to F) and the week-over-week change |
| Action items | The top 3 unresolved vulnerabilities by severity, with links to remediation guidance |
| 30-day score chart | A Chart.js trend line, coloured green at 80 and above, amber at 55 and above, red below 55 |
| Vulnerability list | Every finding, with a severity filter and a resolve button per finding |
| Security event feed | Events within the retention window, each one marked as reviewed when checked |
| Blocked threats | Monthly malicious IP connections, broken down by country |
| Scan quota | Monthly scan usage against the plan limit, in the navigation bar |
Realtime updates
A Supabase Realtime WebSocket subscription pushes new scan_events to the dashboard as they land, with a silent 5-minute polling fallback when the WebSocket is unavailable. A _pollingStarted guard stops duplicate setInterval registration across the several Supabase auth events (SIGNED_IN, TOKEN_REFRESHED, INITIAL_SESSION).
Bugs resolved
Production bugs found and fixed during development, rated on my own S2 to S4 scale (S4 most severe).
Login button completely unresponsive
S4Railway deployment crashing on every push
S4Register page jumping to step 2 while the user typed
S4Dashboard polling every 2 seconds, causing flicker
S3Windows service startup timeout (agent model)
S2PowerShell install script failing to parse JSON (agent model)
S2Status and roadmap
As of 24 November 2026 the site is up, with the scan engine (Railway) and database (Supabase) paused for maintenance, so scans return an error until they are resumed.
| Item | Status | Description |
|---|---|---|
| Stripe integration | Pending | Connect Stripe Checkout to update customers.tier on subscription, enabling the Plus and Max feature gates |
| Railway cron | Pending | Schedule POST /internal/run-scheduled-scans daily, enabling automated weekly and daily scans for paid tiers |
| CVE correlation | Planned | Match detected server versions (Apache, Nginx, OpenSSL) against NVD CVE records |
| PDF reports | Planned | Downloadable PDF scan reports for B2B client reporting |
