logoalt Hacker News

j45yesterday at 6:53 PM1 replyview on HN

For the layperson, does this mean this approach and everything that doesn't use it is not secure?

Building a private, out of date repo doesn't seem great either.


Replies

coffeecodersyesterday at 6:58 PM

Not quite. This isn’t saying React or Next.js are fundamentally insecure in general.

The problem is this specific "call whatever server code the client asks" pattern. Traditional APIs with defined endpoints don’t have that issue.

show 2 replies