
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.
@doctorwork/eggjs-mongo
Advanced tools
$ npm install
$ npm test
publish your framework to npm, then change app's dependencies:
// {app_root}/index.js
require('eggjs').startCluster({
baseDir: __dirname,
// port: 7001, // default to 7001
});
// 控制器中设置 body
ctx.body = {user: 1};
// 输出数据为
{
errcode: 0,
errmsg: "succes",
data: {user: 1}
}
异常响应
ctx.throw(400, '数据错误', {data: {user: 1}, code: 10000})
// 输出
{
data: {
user: 1
},
status: 400,
errcode: 10000,
errmsg: "数据错误"
}
Please open an issue here.
FAQs
Unknown package
The npm package @doctorwork/eggjs-mongo receives a total of 0 weekly downloads. As such, @doctorwork/eggjs-mongo popularity was classified as not popular.
We found that @doctorwork/eggjs-mongo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.