Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
aliyun-monit
Advanced tools
阿里云自定义监控 sdk
npm install aliyun-monit --save
'use strict';
const {
Client,
RawData
} = require('aliyun-monit');
/* @class Client
* @param {String} endpoint 上报监控的 url, 如: https://metrichub-cms-cn-hangzhou.aliyuncs.com
* @param {String} accessKey 阿里云访问秘钥对 id
* @param {String} accessSecret 阿里云访问秘钥 secret
* @param [Number] flushTime 原始数据缓存上传间隔时间,默认 5s
*/
let client = new Client(endpoint, accessKey, accessSecret, flushTime);
/* @class RawData
* @param {Number} groupId 应用分组的id
* @param {String} metricName 监控项名称
* @param {Object} dimensions 维度对象,一般用来放详细的描述数据
* @param {Number} value 上报的是原始值
*/
client.putCustomMetric(new RawData(groupId, metricName, dimensions, value));
FAQs
aliyun monit sdk
We found that aliyun-monit 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.