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

nuxt-bridge ft nitro #3450

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

nuxt-bridge ft nitro #3450

wants to merge 3 commits into from

Conversation

wommy
Copy link
Contributor

@wommy wommy commented Sep 24, 2024

No description provided.

Comment on lines +27 to +31
var uuid = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(c) {
var r = (d + Math.random()*16)%16 | 0;
d = Math.floor(d/16);
return (c=="x" ? r : (r&0x7|0x8)).toString(16);
});

Check failure

Code scanning / CodeQL

Insecure randomness High

This uses a cryptographically insecure random number generated at
Math.random()
in a security context.
Copy link
Contributor Author

@wommy wommy Sep 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is in the carried over code; not mine

i could PR this too

@wommy
Copy link
Contributor Author

wommy commented Sep 25, 2024

futurepress/epub.js#1399

@wommy
Copy link
Contributor Author

wommy commented Oct 7, 2024

#3426

discussion here

@wommy
Copy link
Contributor Author

wommy commented Oct 7, 2024

nuxt/bridge#1078

issue w/ hookable, defu version mismatch

@wommy wommy mentioned this pull request Oct 16, 2024
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

Successfully merging this pull request may close these issues.

1 participant