Re:WordPress themes, plugins backdoored in supply chain attack
by hellojere on Sunday January 23, 2022 @12:49AM
(#30043935)
Next.js, and most likely all the big players, can achieve that. I use Prismic for a lot of projects, and here's documentation about how to achieve previews with it and Next.js https://prismic.io/docs/technologies/previews-nextjs
[ Parent
| on HN ]
Re:WordPress themes, plugins backdoored in supply chain attack
by post-it on Sunday January 23, 2022 @01:02AM
(#30043988)
Yeah, easy, all you have to do is rewrite WordPress in JavaScript. Now instead of worrying about malware in plugins, you can worry about malware in plugins and your npm dependencies!
Re:WordPress themes, plugins backdoored in supply chain attack
by fastball on Sunday January 23, 2022 @04:23AM
(#30044810)
The problem with WP is that its being run in a privileged position. A statically generated site is not.
Re:WordPress themes, plugins backdoored in supply chain attack
by post-it on Sunday January 23, 2022 @04:38AM
(#30044873)
You shouldn't run your web server as root. I think the most common way of running WordPress is to use nginx in front of Apache, so you can easily run Apache as a special WordPress user for extra security.
Re:WordPress themes, plugins backdoored in supply chain attack
by fastball on Sunday January 23, 2022 @07:58PM
(#30052371)
Sorry, my terminology wasn't clear. Didn't really mean running it as root, meant that WP has direct access to your DB (it must).
Re:WordPress themes, plugins backdoored in supply chain attack
by post-it on Tuesday January 25, 2022 @09:23AM
(#30072065)
Every backend has access to your DB though. If a WordPress alternative supports plugins, it is just as vulnerable. If it doesn't support plugins, it's not a WordPress alternative for most use cases.
Re:WordPress themes, plugins backdoored in supply chain attack
by sdze on Sunday January 23, 2022 @05:05AM
(#30045000)
you don't run your fpm processes as superuser.
In general it is run in a jailed environment.
Re:WordPress themes, plugins backdoored in supply chain attack
by ekianjo on Sunday January 23, 2022 @02:18AM
(#30044301)
sounds like much worse than wordpress from the get go
Re:WordPress themes, plugins backdoored in supply chain attack
by seanwilson on Sunday January 23, 2022 @10:35AM
(#30046890)
Is there an open source CMS for this though? Prismic doesn't seem to be: https://prismic.io/faq/product