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

js 代码安全性 #1111

Open
jk9921 opened this issue Nov 26, 2024 · 0 comments
Open

js 代码安全性 #1111

jk9921 opened this issue Nov 26, 2024 · 0 comments

Comments

@jk9921
Copy link

jk9921 commented Nov 26, 2024

这个功能解决了什么问题?

源代码中多处使用了不安全的随机数Math.random(),对于安全性要求高的,无法通过漏洞检测

你期望的 API 是怎样的?

避免使用弱伪随机数生成器 (PRNG),选择加密安全的 PRNG

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