Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Put some nice SOCKS on your HTTP only program
Driven by my burning desire to tunnel npm install
requests through a SOCKSv5 proxy (eg. shadowsocks). Since npm
only support HTTP proxy, I wrote this simple command line module to fire up a HTTP Proxy server, then use it to tunnel requests to my SOCKS proxy.
npm install kneesocks --production -g
kneesocks port1 port2
, eg. kneesocks 10001 10002
port1
is the port your HTTP proxy server listen to on localhost.port2
is the port of your existing SOCKS proxy, also on localhost.Then you can set your npm config:
npm config set http http://127.0.0.1:10001
npm config set https-proxy http://127.0.0.1:10001
To revert proxy config, use npm config delete http
and npm config delete https-proxy
.
To debug, use DEBUG=proxy kneesocks port1 port2
MIT
v1.0.4
FAQs
Put some nice SOCKS on your HTTP only program
The npm package kneesocks receives a total of 1 weekly downloads. As such, kneesocks popularity was classified as not popular.
We found that kneesocks demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.