
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
node-tool-utils
Advanced tools
Node Cross-Platform Tool Library
npm install node-tool-utils --save
const tool = require('node-tool-utils');
const ip = tool.getIP();
const host = tool.getHost(7001);
// http://100.10.196.1:7001
tool.kill(7001);
tool.kill([7001,7002]);
// return true or false
const isUsed = tool.checkPortUsed(7001);
When 7001 is occupied, it will automatically detect whether 7002 is occupied. If it is not occupied, it will return. Otherwise, it will continue to increment detection. The default check is 10 times.
const port = tool.getPort(7001);
const dir = path.join(__dirname, 'dist/index.html');
tool.deleteFile(dir);
const dir = path.join(__dirname, 'dist');
tool.rm(dir);
Open the Window or Finder or Browser of the specified path
tool.open('.'); // open Window or Finder
tool.openBrowser(); // open Browser
Default check HTML file as homepage
const dist = path.join(__dirname, 'dist');
tool.httpserver({ port: 8088, dist },() => {});
FAQs
node cross-platform tool library
The npm package node-tool-utils receives a total of 90 weekly downloads. As such, node-tool-utils popularity was classified as not popular.
We found that node-tool-utils 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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.