
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.
aliyun-cs-client
Advanced tools
Aliyun container service client (node.js)
# coding=utf-8
from aliyunsdkcore import client
from aliyunsdkcs.request.v20151215 import DescribeClusterDetailRequest
clt = client.AcsClient({YOUR_AK}, {YOUR_SK}, 'cn-hangzhou')
def get_master_url():
request = DescribeClusterDetailRequest.DescribeClusterDetailRequest()
request.set_ClusterId({YOUR_CLUSTER_ID})
return clt.do_action(request)
git clone https://github.com/thonatos/aliyun-cs-client
cd aliyun-cs-client
touch app.js
const Cluster = require('./')
const hz = new Cluster({
// you can get master url with the python script under example
// or aliyun cs admin dashboard :
// tcp://{ID}.cs-cn-hangzhou.aliyun.com:15086
// change it to : https://{ID}.cs-cn-hangzhou.aliyun.com:15086
// then, download the ssl ca/key/cert ~
master_url: '{YOUR_MASTER_URL}',
ssl: {
ca: fs.readFileSync(path.resolve(__dirname, '../cluster/hz/ca.pem')),
cert: fs.readFileSync(path.resolve(__dirname, '../cluster/hz/cert.pem')),
key: fs.readFileSync(path.resolve(__dirname, '../cluster/hz/key.pem'))
}
})
➔ tree -L 3
.
├── LICENSE
├── README.md
├── cluster
│ └── hz
│ ├── ca.pem
│ ├── cert.pem
│ └── key.pem
├── composer
│ ├── share.yml
│ └── www.yml
├── examples
│ ├── app.js
│ ├── cluster.py
│ └── test.yml
├── lib
│ └── index.js
└── node_modules
FAQs
Aliyun container service client (node.js)
We found that aliyun-cs-client 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.
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.