Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on 95% of Programming Isn’t Hard (and other random thoughts). Parent comment
Let's say your company's code is open-source, and the attacker knows there is code somewhere like this:
let state = getState(); // returns empty {} if user not authenticated if (!state.userIsAuthenticated) { respond(401); } showBankAccount();
So I think the break / DDOS is pretty serious here.
There are no comments on this comment yet.
Let's say your company's code is open-source, and the attacker knows there is code somewhere like this:
If the hacker is able to set `Object.prototype.userIsAuthenticated` then the auth check is now bypassed.So I think the break / DDOS is pretty serious here.