
Security News
AI Agent Submits PR to Matplotlib, Publishes Angry Blog Post After Rejection
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.
socks-server-lib
Advanced tools
SOCKS (Socket Secure) proxy server.
socks-server-lib can be used either as a library or as a command line tool.
You can run the SOCKS v4/v5 server from your own code like this:
import { runSocksServer } from "socks-server-lib";
const server = await runSocksServer({ port: 1080 });
console.log(`SOCKS server running on port ${server.address().port}`);
server.close(() => {
console.log("SOCKS server closed");
});
This is useful e.g. if you want to test your application with a SOCKS proxy.
You can also run the server from the command line.
npx socks-server-lib
This will start the server on port 1080. You can specify a different port with the -p option:
## License
Copyright 2015 Christopher Brown. [MIT Licensed](http://chbrown.github.io/licenses/MIT/#2015).
TypeScript / library port by Jindřich Bär, 2025.
FAQs
SOCKS4/SOCKS5 proxy server (now as a library!)
The npm package socks-server-lib receives a total of 197 weekly downloads. As such, socks-server-lib popularity was classified as not popular.
We found that socks-server-lib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.

Security News
HashiCorp disclosed a high-severity RCE in next-mdx-remote affecting versions 4.3.0 to 5.x when compiling untrusted MDX on the server.

Security News
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.