
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
原生fs模块无法直接以一个不存在路径创建文件或目录, 本模块希望做到这一点。
将路径分解为多级目录,依次尝试创建
$ npm install mk_path
after install package, use this to mk a path
const mk_path = require("../lib/mk_path.js")
mk_path.dir("./hel/lo/wor/ld",(err,dirpath)=>{if(err) throw err});
first parameter is path you want to make,it most be an not empty String. sceond parameter is callback function after mkdir,err will be null if action sucess.
FAQs
mkpath directly
The npm package mk_path666 receives a total of 12 weekly downloads. As such, mk_path666 popularity was classified as not popular.
We found that mk_path666 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
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.