Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any alternative to using Math.random()? #61

Open
deostroll opened this issue Jan 10, 2023 · 0 comments
Open

Any alternative to using Math.random()? #61

deostroll opened this issue Jan 10, 2023 · 0 comments

Comments

@deostroll
Copy link

Some security scan on our app points to that (js) api and reports that it is a weak random number generator. It also reports that there are better alternatives like using crypto.randomBytes().

Would want to know if this module's operation is security-critical in any way and specifically how those variables which are assigned values from expressions using Math.random() actually used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant