You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to casually run my own tests and examples without explicitly setting NODE_ENV.
I don't see a security benefit to this.
If the user of this library is somehow exposing the options object to a client they can already arbitrary adjust the window size to something like 100,000 which is just as insecure, so there's no security benefit.
In fact, I just tested with a window of 100,000 and an arbitrary token 957 124 and in in 5 out of 10 trials each taking about 2 seconds I was able to verify.
The text was updated successfully, but these errors were encountered:
coolaj86
pushed a commit
to coolaj86/notp
that referenced
this issue
Oct 7, 2015
As discussed in guyht#29 there is no advantage to disallowing the manipulation of `opt._t` in any case where a client has arbitrary access to `opt.window`.
I'd like to be able to casually run my own tests and examples without explicitly setting
NODE_ENV
.I don't see a security benefit to this.
If the user of this library is somehow exposing the
options
object to a client they can already arbitrary adjust the window size to something like 100,000 which is just as insecure, so there's no security benefit.In fact, I just tested with a window of 100,000 and an arbitrary token
957 124
and in in 5 out of 10 trials each taking about 2 seconds I was able to verify.The text was updated successfully, but these errors were encountered: