
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.
m-fe-plugin-fetch
Advanced tools
命令行请求工具(多用于npm script)
fe fetch
自动安装和运行
fe fetch xxx.com --option=xxx
请求某个接口,并携带参数"scripts":{
"update":"fe fetch xxx.com/api --body-a=1 --b=2 --header-Content-Type=application/json"
}
如果命令中用 ;
需要转义 \;
运行结果为:
headers:{ 'Content-Type': 'application/json' }
body:{ a: 1, b: 2 }
参数名 | 类型 | 默认值 | 说明 |
---|---|---|---|
method | 'GET'|'POST'|'PUT'|'DELETE' | 'GET' | 请求方法 |
url | string | - | 请求地址 |
[x:string] | string | - | body或者header的参数,如果是header-开头,则会被处理成headers中的字段,body-或者直接变量名,则直接处理成body中的字段 |
headers
和 body
中如果值为 @
开头的字符串,则,从 package.json
中提取变量,比如: @version
表示 package.json
中的 version
字段, @repository.url
代表 package.json
中的 repository
对象下的 url
字段
FAQs
命令行请求工具(多用于npm script)
The npm package m-fe-plugin-fetch receives a total of 0 weekly downloads. As such, m-fe-plugin-fetch popularity was classified as not popular.
We found that m-fe-plugin-fetch 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.
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.