
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
ngrok-v3 is deprecated due to this package being renamed to rokng. Please use rokng instead. This package will not be updated in the future.
This package is the unofficial wraper of ngrok in a simple to use API.
npm install rokng
import { Ngrok } from 'rokng';
async function main() {
// check if ngrok is installed
const installed = Ngrok.isInstalled;
// if ngrok isn't installed, install it
if (!installed) {
Ngrok.install();
}
// start a TCP tunnel to port 8080
const tunnel = await Ngrok.startTCPTunnel(8080);
// get tunnel data
const tunnelData = tunnel.getData();
// get tunnel host and port
const { host, port } = tunnelData;
console.log(`Tunnel is up at ${host}:${port}`);
// stop the tunnel
tunnel.kill();
// start an HTTPS tunnel to port 443
const tunnel2 = await Ngrok.startHTTPSTunnel(443);
// get tunnel data
const tunnel2Data = await tunnel2.getData();
// get tunnel host and port
const { host: host2, port: port2 } = tunnel2Data;
console.log(`Tunnel 2 is up at ${host2}:${port2}`);
// stop the tunnel
tunnel.kill();
}
main();
FAQs
rebuilt package for ngrok v3
The npm package ngrok-v3 receives a total of 8 weekly downloads. As such, ngrok-v3 popularity was classified as not popular.
We found that ngrok-v3 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

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.