Gathering detailed insights and metrics for socks-proxy-agent
Gathering detailed insights and metrics for socks-proxy-agent
Gathering detailed insights and metrics for socks-proxy-agent
Gathering detailed insights and metrics for socks-proxy-agent
npm install socks-proxy-agent
Typescript
Module System
Min. Node Version
Node Version
NPM Version
96.6
Supply Chain
82.5
Quality
79
Maintenance
100
Vulnerability
99.6
License
pac-proxy-agent@7.2.0
Updated on Feb 18, 2025
agent-base@7.1.3
Updated on Dec 08, 2024
socks-proxy-agent@8.0.5
Updated on Dec 07, 2024
proxy-agent@6.5.0
Updated on Dec 07, 2024
pac-proxy-agent@7.1.0
Updated on Dec 07, 2024
https-proxy-agent@7.0.6
Updated on Dec 07, 2024
TypeScript (93.57%)
JavaScript (6.43%)
Total Downloads
4,221,567,560
Last Day
1,608,346
Last Week
28,913,660
Last Month
124,808,757
Last Year
1,280,359,014
1,061 Stars
298 Commits
258 Forks
19 Watchers
3 Branches
40 Contributors
Updated on Jul 03, 2025
Minified
Minified + Gzipped
Latest Version
8.0.5
Package Id
socks-proxy-agent@8.0.5
Unpacked Size
24.93 kB
Size
6.65 kB
File Count
8
NPM Version
10.8.2
Node Version
20.18.1
Published on
Dec 07, 2024
Cumulative downloads
Total Downloads
Last Day
-2.1%
1,608,346
Compared to previous day
Last Week
-6.8%
28,913,660
Compared to previous week
Last Month
3.5%
124,808,757
Compared to previous month
Last Year
24.3%
1,280,359,014
Compared to previous year
http.Agent
implementation for HTTP and HTTPSThis module provides an http.Agent
implementation that connects to a
specified SOCKS proxy server, and can be used with the built-in http
and https
modules.
It can also be used in conjunction with the ws
module to establish a WebSocket
connection over a SOCKS proxy. See the "Examples" section below.
1import https from 'https'; 2import { SocksProxyAgent } from 'socks-proxy-agent'; 3 4const agent = new SocksProxyAgent( 5 'socks://your-name%40gmail.com:abcdef12345124@br41.nordvpn.com' 6); 7 8https.get('https://ipinfo.io', { agent }, (res) => { 9 console.log(res.headers); 10 res.pipe(process.stdout); 11});
ws
WebSocket connection example1import WebSocket from 'ws'; 2import { SocksProxyAgent } from 'socks-proxy-agent'; 3 4const agent = new SocksProxyAgent( 5 'socks://your-name%40gmail.com:abcdef12345124@br41.nordvpn.com' 6); 7 8var socket = new WebSocket('ws://echo.websocket.events', { agent }); 9 10socket.on('open', function () { 11 console.log('"open" event!'); 12 socket.send('hello world'); 13}); 14 15socket.on('message', function (data, flags) { 16 console.log('"message" event! %j %j', data, flags); 17 socket.close(); 18});
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
Found 13/23 approved changesets -- score normalized to 5
Reason
9 existing vulnerabilities detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
license file not detected
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More