
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
阿里大鱼NodeJS CO版 支持最新的NodeJS 5.0.0
详细参见淘宝API文档
$ npm install co-alidayu
var AliDayu = require('co-alidayu');
var alidayu = new AliDayu(appid, appsecret);
// 发送短信
var sms = {
extend: "",
sms_free_sign_name: "注册验证",
sms_param: {
code: '168398',
product: '启示录'
},
rec_num: "13700000000",
sms_template_code: "SMS_1880148",
};
var ret = yield api.send_sms(sms);
// 语音通知
var data = {
extend: "",
called_num: "13700000000",
called_show_num: "125900008888",
voice_code: "367821",
};
var ret = yield api.voice_singlecall(data);
// 文本转语音通知
var data = {
extend: "",
tts_param: {
name: '以下验证码',
code: '123451'
},
called_num: "13700000000",
called_show_num: "125900008888",
tts_code: "TTS123214",
};
var ret = yield api.tts_singlecall(data);
// 语音双呼
var data = {
extend: "",
session_time_out: "120", // 超时自动挂断的秒数。不传视为不自动挂断。
caller_num: "13700000000", // 主叫号码
caller_show_num: "10086", // 主叫端显示的号码(马甲,必须在系统里登记备案过)
called_num: "13700008888", // 被叫号码
called_show_num: "10000", // 被叫端显示的号码(马甲,必须在系统里登记备案过)
};
var ret = yield api.voice_doublecall(data);
The MIT license.
FAQs
阿里大鱼服务端Node库API,ES6版本
We found that co-alidayu 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 how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.