@mutagen-d/node-proxy-server
Advanced tools
+1
-1
| { | ||
| "name": "@mutagen-d/node-proxy-server", | ||
| "version": "1.1.0", | ||
| "version": "1.1.1", | ||
| "description": "Http and socks proxy server", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
+5
-2
@@ -120,2 +120,3 @@ const net = require('net') | ||
| socket.on('close', () => conn.destroy()) | ||
| conn.on('close', () => socket.destroy()) | ||
| conn.on('error', onProxyError) | ||
@@ -164,2 +165,3 @@ } catch (e) { | ||
| socket.on('close', () => conn.destroy()) | ||
| conn.on('close', () => socket.destroy()) | ||
| conn.on('error', onProxyError) | ||
@@ -250,2 +252,3 @@ } catch (e) { | ||
| socket.on('close', () => conn.destroy()) | ||
| conn.on('close', () => socket.destroy()) | ||
| } catch (e) { | ||
@@ -311,6 +314,6 @@ server.emit('error', e) | ||
| if (isAuth) { | ||
| socket.write(socks5ResponseData(0x00)) // SUCCESS | ||
| socket.write(Buffer.from([0x01, 0x00])) // SUCCESS | ||
| socket.once('data', onSocks5Connection) | ||
| } else { | ||
| socket.end(socks5ResponseData(0x01)) // FAILED | ||
| socket.end(Buffer.from([0x01, 0x01])) // FAILED | ||
| } | ||
@@ -317,0 +320,0 @@ }), socket) |
Network access
Supply chain riskThis module accesses the network.
Found 3 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 3 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
27061
3.91%683
0.44%2
-33.33%