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
Please check if there is any problem with using weak cryptographic algorithms.
The current implementation in the code utilizes the MD5 and SHA1 hash algorithm, which is considered weak and vulnerable to attacks such as collision and preimage attacks. This poses a security risk as it can potentially be exploited by malicious actors to compromise the integrity and confidentiality of the WebSocket communication.
bcoin-master\node_modules\bsock\vendor\faye-websocket.js, line 1462
bcoin-master\node_modules\bsock\vendor\faye-websocket.js, line 2919
The code you provided is not from bsock. It belongs to faye-websocket and it's just vendored version of the file.
md5 is part of the protocol draft76 you can check original repo: https://github.com/faye/websocket-driver-node/
Please check if there is any problem with using weak cryptographic algorithms.
The current implementation in the code utilizes the MD5 and SHA1 hash algorithm, which is considered weak and vulnerable to attacks such as collision and preimage attacks. This poses a security risk as it can potentially be exploited by malicious actors to compromise the integrity and confidentiality of the WebSocket communication.
Hybi.generateAccept = function(key) { var sha1 = crypto.createHash('sha1'); sha1.update(key + Hybi.GUID); return sha1.digest('base64'); };
` _handshakeSignature: function() {
if (this._body.length < this.BODY_SIZE) return null;
},`
The text was updated successfully, but these errors were encountered: