
Research
Active Supply Chain Attack Compromises @antv Packages on npm
Active npm supply chain attack compromises @antv packages in a fast-moving malicious publish wave tied to Mini Shai-Hulud.
@cloudbase/cli
Advanced tools
npm install -g @cloudbase/cli
tcb -h
# Usage: tcb [options] [command]
#
# Options:
# -V, --version output the version number
# -h, --help output usage information
#
# Commands:
# deploy [options] [name] 执行完整的发布
# build [name] 构建
# upload [name] 上传
# reload [name] 热重载
# start [name] 启动
# show <name> 查看状态
tcb build
tcb deploy
cli的配置文件
示例:
{
"common": {
"secretId": "xxxxxxxxxxxxxxxxxxxxxxxxx",
"secretKey": "xxxxxxxxxxxxxxxxxx",
"server": {
"host": "1.2.3.4",
"username": "root",
"port": 22,
"password": "xxxxxxxxxx"
}
},
"deploys": [
{
"name": "websocket",
"entry": "index.js",
"type": "websocket"
}
]
}
包含账号、服务器等通用信息
{
"common": {
"secretId": "xxxxxxxxxxxxxxxxxxxxxxxxx",
"secretKey": "xxxxxxxxxxxxxxxxxx",
"server": {
"host": "1.2.3.4",
"username": "root",
"port": 22,
"password": "xxxxxxxxxx"
}
}
// ...
}
用户的腾讯云secretId
用户的腾讯云secretKey
云主机信息
云主机 host
云主机用户名,默认为 root
云主机ssh端口号,默认为 22
云主机密码
数组,包含项目的发布配置
示例:
{
"deploys": [
// 云函数示例
{
"name": "add",
"type": "function",
"path": "./",
"envId": "test-e48fe1"
},
// Node服务示例
{
"name": "app",
"type": "node",
"path": "./server"
},
// Websocket服务示例
{
"name": "websocket",
"type": "websocket",
"entry": "./index.js"
}
]
}
FAQs
CLI for Tencent CloudBase (standalone bundle)
The npm package @cloudbase/cli receives a total of 7,532 weekly downloads. As such, @cloudbase/cli popularity was classified as popular.
We found that @cloudbase/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 14 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.

Research
Active npm supply chain attack compromises @antv packages in a fast-moving malicious publish wave tied to Mini Shai-Hulud.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.