Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
mole-proxy
Advanced tools
作用:将本地监听端口映射到一台远端服务器。
Prupose: Map a local listening port to a remote server.
使用场景例子:本地使用webpack启动了一个dev server,想用手机调试,直接通过IP访问必须在同一个局域网,而且每次还必须确认IP。
Example Use case: Start up a local dev server using webpack. Debuging directly through IP on a phone would be inconvient as devices has to be in the same LAN.
npm install -g mole-proxy
mole-proxy server
或 forever start $(which mole-proxy) server
npm install -g mole-proxy
mole-proxy my-domain-name.com 8080 8123
npm install -g mole-proxy
mole-proxy server
or forever start $(which mole-proxy) server
npm install -g mole-proxy
mole-proxy my-domain-name.com 8080 8123
FAQs
Proxy listen ports. Go through NAT.
We found that mole-proxy 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 found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.