
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.
ifstat-json
Advanced tools
Wrapper for the ifstat command that outputs JSON objects.
npm install -g ifstat-json
No options at this time; Only the simple script is available.
$ ifstat-json
The script outputs JSON objects that are in the following format ( interface names are dynamically grabbed ):
{ hostname: 'Roberts-MBP',
date: 2017-12-02T06:33:25.694Z,
interfaces:
{ lo0: { in: 0, out: 0 },
gif0: { in: 0, out: 0 },
stf0: { in: 0, out: 0 },
en0: { in: 0.98, out: 0.33 },
en1: { in: 0, out: 0 },
en2: { in: 0, out: 0 },
p2p0: { in: 0, out: 0 },
awdl0: { in: 0, out: 0 },
bridge0: { in: 0, out: 0 } } }
Note that the output is actually all on a single line, and looks like the following:
{"hostname":"Roberts-MBP","date":"2017-12-02T06:33:25.694Z","interfaces":{"lo0":{"in":0,"out":0},"gif0":{"in":0,"out":0},"stf0":{"in":0,"out":0},"en0":{"in":0.98,"out":0.33},"en1":{"in":0,"out":0},"en2":{"in":0,"out":0},"p2p0":{"in":0,"out":0},"awdl0":{"in":0,"out":0},"bridge0":{"in":0,"out":0}}}
FAQs
ifstat wrapper that outputs a json object to stdout
We found that ifstat-json 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.