
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
> frp is a fast reverse proxy to help you expose a local server behind a NAT or firewall to the Internet. As of now, it supports TCP and UDP, as well as HTTP and HTTPS protocols, where requests can be forwarded to internal services by domain name.
frp is a fast reverse proxy to help you expose a local server behind a NAT or firewall to the Internet. As of now, it supports TCP and UDP, as well as HTTP and HTTPS protocols, where requests can be forwarded to internal services by domain name.
Use frp as an npm module for tighter integration with node apps (e.g. test fixtures).
Note: This automatically downloads and runs the frpc or frps binary for the installer's operating system.
npm install node-frp2
// Web service to proxy (on client)
const webService = micro((req, res) => res.end("Hello world!"))
webService.listen(5000)
// Start FRPS server (normally you do this on a remote server with a public ip)
const server = await frp.startServer({
common: {
bindPort: 7000,
},
})
// The frpc client requests to forward from 5000 locally to 2000 remotely
// through frps
const client = await frp.startClient({
common: {
serverPort: 7000,
serverAddr: "127.0.0.1",
},
ssh: {
type: "tcp",
localIp: "127.0.0.1",
localPort: 5000,
remotePort: 2000,
},
})
const response = await request(`http://127.0.0.1:2000`)
// response === "Hello world!"
FAQs
> frp is a fast reverse proxy to help you expose a local server behind a NAT or firewall to the Internet. As of now, it supports TCP and UDP, as well as HTTP and HTTPS protocols, where requests can be forwarded to internal services by domain name.
We found that node-frp2 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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.