Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
egg-heap-monitor
Advanced tools
eggjs 的内存监控集合,包括 heapdump、memwatch、easy-monitor
eggjs 中引用该插件后可实现以下功能:
kill -USR2 <pid>
在服务运行目录输出内存堆快照easy-monitor
访问服务,通过浏览器查看 node 服务运行状态(默认http://<服务地址>:12333
)在 config 目录的 plugin.js 中引用
exports.heapMonitor = {
enable: true,
package: 'egg-heap-monitor'
}
通过定义 egg 的 config 来设置监控,配置方法和 easy-monitor 一样
config.heapMonitor = {
project_name: 'ias-console'
}
可针对 egg 的 agent 和 app 分别设置不同的监控
config.heapMonitor = {
app: {
project_name: 'ias-console-app'
},
agent: {
project_name: 'ias-console-agent'
}
}
开发用的 node 环境是 v8.4.0 版本(和当前服务容器保持一致),还原包时除了引用插件外还需要本机具有 gcc 和 cmake
FAQs
## 概述
The npm package egg-heap-monitor receives a total of 1 weekly downloads. As such, egg-heap-monitor popularity was classified as not popular.
We found that egg-heap-monitor 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.