← Reddit

I made a site on Claude (also with GitHub and cloudflare). How can I make sure the site is secure?

Reddit · ElbieLG · August 8, 2026
A non-developer created a website using Claude, GitHub, and Cloudflare for minimal expected traffic but incorporated a password-protected section containing private data. The creator sought a general security checklist to verify that the site avoided common vulnerabilities and amateur mistakes.

Detailed Analysis

A Reddit post in r/ClaudeAI captures a recurring anxiety in the "vibe coding" era of AI-assisted development: a non-developer used Claude to build a website, deployed it via GitHub and Cloudflare, and is now asking the community for a security checklist to vet a password-protected section holding private data. The question itself is notable not for its technical sophistication but for its absence of it—the poster explicitly identifies as a non-developer, meaning they lack the background to independently audit authentication logic, session handling, or data exposure risks in code they didn't fully understand when it was generated. This is an increasingly common scenario as tools like Claude lower the barrier to building functional software, while leaving a widening gap between "the site works" and "the site is safe."

The underlying issue matters because AI coding assistants like Claude are exceptionally good at producing plausible, functional-looking code quickly, but functional and secure are not the same thing. Common pitfalls in amateur-built password-protected sections include storing credentials in plaintext or with weak hashing, hardcoding secrets directly in client-side JavaScript or public GitHub repositories, missing rate-limiting on login attempts, improperly configured Cloudflare access rules that can be bypassed, and exposing API keys or environment variables through misconfigured build pipelines. A non-developer relying on an AI assistant may not know to ask about any of these, and Claude—unless explicitly prompted to reason adversarially about the code it just wrote—may not proactively flag every vulnerability, especially since security often requires context about deployment environment, threat model, and data sensitivity that isn't always volunteered upfront.

This scenario reflects a broader trend in AI-assisted software development: the democratization of coding capability is outpacing the democratization of security literacy. Anthropic and other AI labs have leaned into positioning tools like Claude Code and Claude's general coding abilities as accessible to non-engineers, which is genuinely valuable for prototyping, small business tools, and personal projects. But it also means a growing population of site operators—hobbyists, small business owners, non-technical founders—are shipping code they cannot fully evaluate, with real consequences when that code touches authentication or private data. The GitHub-plus-Cloudflare stack specifically is popular precisely because it's cheap and low-friction, but each layer (repo visibility settings, secrets management, DNS/proxy configuration, edge security rules) introduces its own misconfiguration risks that are easy to overlook without dedicated security review.

The Reddit thread also implicitly signals demand for a missing product category: security auditing or "hardening" assistance built into or alongside AI coding tools, rather than left to community crowdsourcing after the fact. Prompting Claude explicitly to perform a security review—checking for exposed secrets, weak authentication, missing HTTPS enforcement, improper CORS policies, and outdated dependencies—can mitigate some risk, and Claude is capable of this kind of analysis when asked directly rather than during initial feature-building. But the fact that users are turning to Reddit rather than trusting the AI's own judgment on security suggests a trust gap: people intuitively understand that an assistant optimized for helpfulness and task completion during generation may not automatically apply the adversarial, paranoid mindset that security review requires unless specifically instructed to do so. As AI-generated software becomes more prevalent in production contexts, this gap between build assistance and security assurance is likely to become a more prominent theme in how these tools are evaluated, marketed, and improved.

Read original article →