| ▲ | pmlnr 4 hours ago |
| Here's an idea: as a first step, simplify everything, and make sure you're aware how your stack works, and what it imports. As an example: WordPress is a horrible thing, but the core has been through so much, that it's suprisingly secure. Then plugins and themes come, and whoosh, the security is gone. We need a new KISS: keep it simple, stupid, secure. |
|
| ▲ | mirashii 4 hours ago | parent | next [-] |
| The "surprisingly secure" WordPress just had a unauthenticated RCE earlier this year. Just simplifying isn't going to be enough. https://nvd.nist.gov/vuln/detail/cve-2026-63030 |
| |
| ▲ | ricardobayes 3 hours ago | parent | next [-] | | If that's your benchmark for being unsecure, then React is unsecure too. https://react.dev/blog/2025/12/03/critical-security-vulnerab... | | |
| ▲ | mirashii 2 hours ago | parent [-] | | I would put both of those projects in the category of things I wouldn't call remarkably secure, yes. To be remarkably secure, these projects would need to not have these kinds of defects, despite the combination of being written in languages have that have a long track record of footguns and lack of initiatives to fix them (proposal-symbol-proto, and PHP's list is too long to even start) and being themselves ecosystems with questionable track records on security in the related areas (Look at $wpdb in 2026, or overall code quality and willingness to modernize, or the entirety of the model of RSC for things that are just going to nearly guarantee you punch all kinds of holes on accident). |
| |
| ▲ | wolvoleo 44 minutes ago | parent | prev | next [-] | | WordPress and secure don't go together in the same sentence. I mean the base is fairly secure if you religiously update it, but the problem is you won't avoid using plugins whose security is much more hit and miss, unless you are using the most basic blog site imaginable. | |
| ▲ | pmlnr 3 hours ago | parent | prev | next [-] | | "First step" Nobody said it's enough, but it's a start. | |
| ▲ | spiderfarmer 4 hours ago | parent | prev [-] | | Plus, how secure are the plugins? | | |
| ▲ | m_mueller 3 hours ago | parent [-] | | WP plugins are why I banned it everywhere. Last time I used it was many years ago, so not sure it still applies, but back then even caching was done in a plugin, without which it was unusably slow… just no. |
|
|
|
| ▲ | tokioyoyo 3 hours ago | parent | prev | next [-] |
| The reason is simple - nothing really bad has happened that we can point at and say "ah, shit, let's all learn collectively". I know it sounds naive when I say it, but there hasn't been a significantly consequential hack, leak, destruction, or anything related to cybersecurity where it led for concerns of people. The main thing I can think of is cyber insurance, which requires a bunch of audits, and some checks maybe, and it changes some conditions whenever there's a big explosion. Whenever big leaks happened, data security and etc., nobody really went to jail, so nobody really cares. Everything can be brushed off, because it costs time to implement proper measures and adds friction / barriers in some cases. So in the end, there's a huge pushback against it. And I totally get it, to be honest. |
| |
| ▲ | hnlmorg 3 hours ago | parent | next [-] | | > The reason is simple - nothing really bad has happened that we can point at and say "ah, shit, let's all learn collectively". I know it sounds naive when I say it, but there hasn't been a significantly consequential hack, leak, destruction, or anything related to cybersecurity where it led for concerns of people. How consequential does a hack need to be? Troy has collected literally billions of stolen credentials. Equifax has had high profile data leaks. Tens of millions of people have been directly compromised by ransomware (likely higher because that’s just the cases we know of) and you hear about state-sponsored hacks in the news all the time. The problem isn’t that computer security isn’t in the public consciousness. The problem is people are lazy and security often requires trading convenience. The problem is also that security isn’t free. So the business incentives just isn’t there. In other fields of engineering, people die when shortcuts are taken. Yet businesses will still take shortcuts, so governments have to legislate rules to save people’s lives. So why would you expect software companies to do better when the stakes are lower? | | |
| ▲ | tokioyoyo an hour ago | parent [-] | | > Tens of millions of people have been directly compromised by ransomware (likely higher because that’s just the cases we know of) and you hear about state-sponsored hacks in the news all the time. With no consequences. Everyone just churns along. It might be detrimental to the business a little bit, but from my personal experience, there's more effort in creating DR processes, rather than preventing an attack, exploit, leak and etc. I'm also not going to put much effort on stuff which has small returns in the worst case scenario. Like Equifax got hacked in 2017, and company is still doing fine. And that's like top tier data one could acquire. |
| |
| ▲ | MobiusHorizons 3 hours ago | parent | prev [-] | | Listening to eskil’s talk from the better software conference, he said in order to stand on the shoulders of giants they must first stand still. I really like that metaphor, because it basically suggests today’s apps that have sprawling unaudited dependency graphs that change all the time is effectively teetering on the shoulders of stumbling giants. The visual seems very apt for the how brittle our current software industry feels. | | |
| ▲ | tokioyoyo an hour ago | parent [-] | | I agree with that statement, but disagree with "The visual seems very apt for the how brittle our current software industry feels". It feels brittle, but for every single supply-chain-attack that has happened in the past year, nothing of significant was felt. So in the end, it seems like we're doing okayishly well. |
|
|
|
| ▲ | Helmut10001 3 hours ago | parent | prev | next [-] |
| Static sites all the way (hugo, jekyll, mkdocs!). No one needs wordpress. There's even Sveltia or DecapCMS now, to give those WYSIWYG-people access to static site editing. Then, remove PHP and all the dependency overhead and attack surface and you have a stripped down nginx that is pretty simple, minimalistic and bulletproof. |
| |
| ▲ | Gigachad 2 hours ago | parent | next [-] | | The problem is no one ever built one that works for normal people. Most Wordpress sites are not operated by programmers, they are run by non technical people who just want a wysiwyg editor and a save button. While static site builders ask you to write markdown files, compile the result, upload it to a server, and if you want to collaborate you have to add git to that. There almost needs to be an admin app which presents a Wordpress admin like ui but has no public exposure, and then it compiles the site to dump on s3 for the production. But as far as I’m aware no one has built this. | | |
| ▲ | weeks 2 hours ago | parent | next [-] | | https://jamstack.org You're describing the Jamstack or headless CMS concept verbatim. | |
| ▲ | krrrh 2 hours ago | parent | prev | next [-] | | Movable type was the most popular blogging software in 2003 and it was essentially this. An admin app written in Perl that spit out static files. It is kind of surprising that no one tried to do an updated version. | |
| ▲ | iCarrot 2 hours ago | parent | prev | next [-] | | Is this not it? https://pagescms.org/ | |
| ▲ | Helmut10001 2 hours ago | parent | prev | next [-] | | Yes, you are right and I agree, there's little empathy with non-coders generally. | |
| ▲ | noio an hour ago | parent | prev | next [-] | | Pour one out for FrontPage | | |
| ▲ | wolvoleo 43 minutes ago | parent [-] | | Ahhh the old positioning with I fixed so many sites back in the day by people who thought they knew what they were doing. |
| |
| ▲ | jay_kyburz 2 hours ago | parent | prev | next [-] | | City Desk. Where is Joel when we need him! | |
| ▲ | kennywinker 2 hours ago | parent | prev [-] | | I mean, github pages using the github editor to edit docs pretty much fits that bill |
| |
| ▲ | bpbp-mango 43 minutes ago | parent | prev [-] | | php is probably about as secure as nginx. big old bundles of C |
|
|
| ▲ | Cthulhu_ 3 hours ago | parent | prev | next [-] |
| > as a first step, simplify everything, and make sure you're aware how your stack works, and what it imports. We've been trying that for years but the enthusiasm of developers and the eagerness of their employers fight against it. Worse, with coding LLMs it's now easier than ever to output a lot of code, fast. It'll ultimately be up to more experienced developers to salvage these projects. Or not, given that the coding LLMs aren't stopping and will likely get better over time. Either way, we will need experienced people that know what to look out for / know how to instruct LLMs to output secure code and find weaknesses etc. |
|
| ▲ | crotobloste 2 hours ago | parent | prev | next [-] |
| > We need a new KISS: keep it simple, stupid, secure. Maybe KISSASS: "keep it simple, stupid! also secure, stupid!" |
|
| ▲ | bob1029 3 hours ago | parent | prev | next [-] |
| Minimization of 3rd party dependencies has always been a key for risk reduction. Now more than ever before. Some stacks make this a lot easier than others. I regret the rules of HN effectively forbid this conversation because it has meaningful technical consequences and isn't purely about ideological flame war. |
|
| ▲ | anilakar 3 hours ago | parent | prev | next [-] |
| Probably nine out of ten Wordpress sites do not need active content. Why are we not rendering static copies and serving them to customers? |
|
| ▲ | Gigachad 3 hours ago | parent | prev | next [-] |
| This is not at all easy though. Most Wordpress users are not software companies. They contract some work out to set it up, maybe some recurring maintenance but they don’t have in house development experience. If they have a site existing today built on plugins and a theme, how are they realistically going to simplify this? How would they even know they need to without the site being hacked? |
|
| ▲ | zdc1 an hour ago | parent | prev | next [-] |
| The problem is that lots of people don't want a CMS, they want a platform for development / e-commerce / bookings / whatever. Enforcing vanilla WordPress would push people towards other platforms. Now that could be a good thing, but I doubt WordPress are going to start killing their own marketshare with usage restrictions like that... |
|
| ▲ | jonwinstanley 3 hours ago | parent | prev | next [-] |
| Wordpress without any plugins is kinda useless. Best to completely avoid using it, there are better options |
|
| ▲ | dakolli an hour ago | parent | prev [-] |
| More and more people everyday become convinced, mostly because of AI take sellers/grifters, that needing to understand your stack is unnecessary. This problem is about to get way worse. |