DEV Community

Discussion on: Stealing Accounts with an IMG Tag

 
_hs_ profile image
HS

I agree with that, and what you described is how most frameworks I used work. We'll at least in such popular security issues. Like take a look at Spring Data and how to query stuff. You can pass in string directly from the GET query to repository and it will apply all well known security filters. Or Micronaut or Quarkus. BTW I read recently that it's about ~80% hacks that come from indirect dependencies and I can only assume npm in that case with example of 'event-stream' incident. Those things is impossible to fix since you always rely on something and that something could go wrong just like this.

Thread Thread
 
joelbonetr profile image
JoelBonetR πŸ₯‡

Yup, I'm on front end and we use to use custom security methods for the entry points on it, then the server takes care about the rest