
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
tool-helper
Advanced tools
Some simple functions that are commonly used in life or office.About fs / http / ffmpeg / message / logger
Some simple functions that are commonly used in life or office.About fs / http / ffmpeg / message / logger .
npm i tool-helper --save
import {common} from 'tool-helper'
const {
//node-uuid
uuid,
//crypto md5
md5,
//setTimeout in promise
sleep,
//get a datetime string
datetime,
//get a human readable size like 20MB
humanSize,
//get a human readable time like 20 minutes ago
getHumanTime,
//readable stream pipe to write stream
rs2ws
} = common;
//node-fetch
import {download} from 'tool-helper'
let ins = new download('https://minioapi.byyui.com:9999/zztemp/test.mp4','./test.mp4');
//download progress
ins.on('progress',info=>{
console.log(info);
});
let rs = await ins.download();
//or json / html / post / m3u8
import {ffmpeg} from 'tool-helper'
const {getImage,getM3u8,getVideo} = ffmpeg;
//Please install ffmpeg on os before using it
//through 'child_process' call ffmpeg bin
import {fileutil} from 'tool-helper'
const {mkdir,existsFile,isFile,deldir,listFiles,getMd5,base64} = image;
//these functions just like these names,but dit not do any safe check
import {getLogger} from 'tool-helper'
//log4js
const logger = getLogger('test');
logger.info('some message');
import {useragent} from 'tool-helper'
const {
//get a random useragent like 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36'
getRandom,
//get a device information throuth useragent
devices
} = useragent;
//dingtalk and mail
import {message} from 'tool-helper'
const {dingding,mail} = message;
The MIT LICENSE.
FAQs
Some simple functions that are commonly used in life or office.About fs / http / ffmpeg / message / logger
We found that tool-helper 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.