throwawaymoddle
throwawaymoddle on Hacker News
Re:A Real World React – Htmx Port
on Sunday October 16, 2022 @01:42AM (#33221316)
Sensitive data is not restricted to logins. If you are pulling in third party JS like for analytics, tracking, social, whatever then that is an attack vector. Marketing and business teams aren't responsible for security but they have the muscle to pull in dangerous code to the frontend that can be swapped out. It is naive to think that the API is the only thing to focus on.
Re:A Real World React – Htmx Port
on Saturday October 15, 2022 @11:30PM (#33220820)
> Only the API needs to be secure.
If users type passwords, sensitive data, anything into the frontend then any javascript, plugins etc pulled in by that page is an attack vector.