Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Emits an event for cpu, memory, and disk usage on a user-defined interval. For linux only.
hwmon is a resource monitor written for node.js systems running on Linux.
hwmon emits an event for cpu, memory, and disk usage on a user-defined interval.
The current version is simply a wrapper around the 'df' and 'iostat' commands, and the contents of /proc/meminfo on Linux.
var Hwmon = require('./index');
var hwmon = new Hwmon({interval: 2000});
hwmon.on('iostat', function(data){
console.log('iostat:',data);
});
hwmon.on('meminfo', function(data){
console.log('meminfo:',data);
});
hwmon.on('df', function(data){
console.log('df:',data);
});
hwmon.start();
free: { mem:
{ total: 4048032,
used: 233772,
free: 3814260,
shared: 420,
buffers: 20768,
cached: 109580 },
swap: { total: 4191228, used: 0, free: 4191228 } }
iostat: { 'avg-cpu:':
{ '%user': 0.13,
'%nice': 0,
'%system': 0.25,
'%iowait': 0,
'%steal': 0,
'%idle': 99.62 },
devices: { sda: { tps: 0, 'kB_read/s': 0, 'kB_wrtn/s': 0, kB_read: 0, kB_wrtn: 0 } } }
df: { '/dev/sda1':
{ '1M-blocks': '26079',
Used: '1244',
Available: '23488',
'Use%': '6%',
Mounted: '/' } }
FAQs
Emits an event for cpu, memory, and disk usage on a user-defined interval. For linux only.
The npm package hwmon receives a total of 1 weekly downloads. As such, hwmon popularity was classified as not popular.
We found that hwmon 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.