News for hackers. Stuff that matters.
Re:OWASP Top API Security Risks – 2023 by oldprogrammer2 on Wednesday September 06, 2023 @06:35AM (#37403341)
My experience aligns with your intuition. I would go further, though, and suggest that the rise of SPA itself has exacerbated this problem (Rest or GraphQL). Unless a company has detailed security reviews, it’s very easy for client side developers to reach for an endpoint that exposes more data than they need. Because they don’t explicitly use some of that data, they forget they have exposed it.

This is certainly a protection that we’ve lost as we moved away from server rendered architecture, where no APIs are exposed and only explicitly needed data is sent to the client. Not passing judgment, but there is a higher risk profile in multiple ways for a SPA.

Re:OWASP Top API Security Risks – 2023 by mdhb on Wednesday September 06, 2023 @08:05AM (#37403883)
I think that’s a really good point.

Especially when you have technologies like Firebase or something like that where you might be interacting with the database essentially from your front end code.

That can end up leaving a big gap between what you are visually exposing and what you’re actually exposing.