
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.
$: yarn init -y
$: yarn add rollup rollup-plugin-babel @babel/core @babel/preset-env @babel/preset-react @emotion/babel-preset-css-prop -D
$: yarn add styled-components 有问题
$: yarn add @emotion/core
yarn run rollup --config 简写 yarn run rollup -c
// NPM:
npm i yalc -g
// Yarn:
yarn global add yalc
yalc publishyalc add [name]执行后,业务工程的 node_modules 中就会有这个包。眼尖的小伙伴会发现,这个 npm 包不同于其它包,它带有一个转折箭头符号(也就是说这是一个软链接)。
在需要引入库的测试项目中$: npm config set registry https://registry.npmjs.org
发布: yarn publish
如何将npm的库及时更新到npmmirror源? https://npmmirror.com/ 如果你的库没有及时同步到 npmmirror 使用如下命令及时同步 cnpm sync jump-vs
同步taobo镜像 https://npmmirror.com/sync/jump-vs
FAQs
这是一个简单的js工具库
The npm package jump-vs receives a total of 35 weekly downloads. As such, jump-vs popularity was classified as not popular.
We found that jump-vs 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.