
Seeing the recent massive RCE vulnerability chaos in the PHP core, I felt a deep sense of relief. Back in the day, I seriously considered adopting WordPress, but I ended up building my own custom blog engine instead. Turns out, past me actually made the right call.
1. PHP is Burning Down
Critical unauthenticated memory management RCE vulnerabilities (like CVE-2026-109618) hit the ecosystem. Unpatched PHP 7.x servers were getting completely pwned before the application layer even had a chance to boot up. It was a total nightmare.
2. Is Node.js Safe? (Well, SKBE Isn't Even Pure Node.js)
My blog engine (SKBE) doesn't run on a standard Node.js server. It operates inside Cloudflare Pages (CFP) using the nodejs_compat edge sandbox environment. When I was building it, fighting library compatibility issues in this constrained environment was a pain in the neck. But from a security perspective? That forced V8 sandbox isolation turned out to be a massive blessing in disguise.
3. The Architecture of My Custom Blog Engine
Knowing the limits of my own security expertise, I designed the architecture around one core principle: minimizing the attack surface to absolute zero.
Read-Only Database: The main engine only performs read operations. Even if someone manages to breach it, there is literally zero data to tamper with.
Isolated Admin Panel: The admin interface is deployed separately, and access is strictly blocked at the routing layer for anyone outside whitelisted IPs.
Text-Only Comments & Guestbook: Markdown and HTML rendering are completely disabled for user inputs. Everything is handled strictly as raw strings and text nodes, utterly neutralizing Stored XSS threats.
If there’s nothing to steal or alter in the first place, you don't have to worry about getting hacked. In the end, I successfully built a battle-hardened edge sandbox blog engine—and the best defense mechanism of all?
It gets zero visitors anyway, making it virtually impossible to hack. (sob)
0 Comments
Login is required to write comments.