Who is worrying? If JavaScript is on the front end the supply chain attacks are really not your problem.
Re:Let's Make the Worst Htmx
by traverseda on Friday July 31, 2026 @09:29PM
(#49130258)
What? It handles your password fields.
Just do SSO.
Just do passkeys.
Re:Let's Make the Worst Htmx
by cpburns2009 on Saturday August 01, 2026 @09:16AM
(#49134180)
The supply chain attacks you need to worry about come from using npm.
No, it's not specifically npm. All package managers enable remote code execution by design - you tell it to download code and then you run that code, likely without sandboxing, by using it. Most people are not inspecting the code before they download and run it. You will still see compromised packages making their way through npm even though they disabled install scripts.
Re:Let's Make the Worst Htmx
by cpburns2009 on Saturday August 01, 2026 @12:49PM
(#49136022)
I agree. I just pointed out npm because it's the most prominent javascript one.
Supply chain attacks are not a JavaScript or npm exclusive risk. If you pull in any dependencies you have a supply chain risk.
As is well known, security is not a binary, it's a spectrum. It's why you add security in layers, and why it's generally a trade-off between risk and usability.
Your mileage may vary, but I sleep better with my own projects not having any node_modules in their build tree.
Re:Let's Make the Worst Htmx
by robertoandred on Saturday August 01, 2026 @12:01AM
(#49130913)
How is htmx invulnerable to vulnerabilities and attacks?
It is quite pleasant to work with, because you don't have to worry about a constant stream of vulnerabilities or supply chain attacks. You just vendornthe script in your repo, add it as a <script> tag on the page, and you're done.