Skip to content

Update index.js#30

Open
Iletee wants to merge 3 commits intomasterfrom
Iletee-patch-2
Open

Update index.js#30
Iletee wants to merge 3 commits intomasterfrom
Iletee-patch-2

Conversation

@Iletee
Copy link
Owner

@Iletee Iletee commented Jun 21, 2021

No description provided.

var file = new static.Server();require('http').createServer(function(request, response) {
request.addListener('end', function() {
file.serve(request, response);
Math.random();
Copy link

Choose a reason for hiding this comment

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

opt.semgrep.node_insecure_random_generator: crypto.pseudoRandomBytes()/Math.random() is a cryptographically weak random number generator.
(at-me in a reply with help or ignore)

Copy link
Owner Author

Choose a reason for hiding this comment

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

@sonatype-lift help

Copy link

Choose a reason for hiding this comment

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

I’m LiftBot and I automatically analyze new code in code review, and comment when I find potential bugs. I also accept comments as commands. Just @sonatype-lift followed by the command: ignore to mark as false positive, unignore to undo, and help to see a list of commands and more detail. Click here to add LiftBot to another repo.

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