
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.
local-network-scan
Advanced tools
A lightweight library to quickly scan local network.
The library uses
arptool, in case of Linux machine, make sur it's installed on run-time (or install it byapt-get install net-tools).
The library ping all network IP's in parallel to make the scan faster should take ~10 seconds or less.
npm install local-network-scan
import { scanLocalNetwork } from 'local-network-scan';
(async () => {
// Scan default network, with default option
const res1 = await scanLocalNetwork();
console.log(res1); // [{ ip: '192.168.1.1', mac: '11aa22bb33cc' }, { ip: '192.168.1.2', mac: '12ab23bc34cd' }]
// Scan specific network
const res2 = await scanLocalNetwork({ localNetwork: '192.168.2' });
console.log(res2); // [{ ip: '192.168.2.1', mac: '11aa22bb33cc' }, { ip: '192.168.2.2', mac: '12ab23bc34cd' }]
// Query device vendor (using https://macvendors.com/ API) - OFF by default
const res3 = await scanLocalNetwork({ queryVendor: true });
console.log(res3); // [{ ip: '192.168.2.1', mac: '11aa22bb33cc', vendor: 'some vendor' }, { ip: '192.168.2.2', mac: '12ab23bc34cd', vendor: '' }]
})()
FAQs
A lightweight library to quickly scan local network
We found that local-network-scan 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.