
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
详细文档请查看matjs官方网站
var mat = require('mat')
var proxy = require('mat-proxy')
// 反向代理
mat.task('daily', function () {
mat.url([/\.json/])
.use(proxy({
proxyPass: 'your.proxy.host'
}))
})
// url重写
mat.task('online', function () {
mat.url([/\.js/])
.rewrite([
[/-min\.js/g, '.js']
])
})
// combo url handler
mat.task('combohandler', function () {
// 开启对combo url的支持
mat.env({
combohandler: true
})
// 将所有的-min结尾的js重写,去掉-min
// 并且所有combo的js都会被拆开,分别从本地获取
// mat会组装这些js,并最终返回一个合并过的js
mat.url([/\.js/])
.rewrite([
[/onlinepath/, 'localpath'],
[/-min/g, '']
])
})
FAQs
The npm package mat receives a total of 31 weekly downloads. As such, mat popularity was classified as not popular.
We found that mat demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.