
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
akos-egg-nos
Advanced tools
[![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] [![Test coverage][codecov-image]][codecov-url] [![David deps][david-image]][david-url] [![Known Vulnerabilities][snyk-image]][snyk-url] [![npm download][download-image]][down
$ npm i akos-egg-nos --save
// {app_root}/config/plugin.js
exports.nos = {
enable: true,
package: 'akos-egg-nos',
};
// {app_root}/config/config.default.js
exports.nos = {
accessId: '', // accessId
secretId: '', // secretId
endpoint: '', // eg:nos-eastchina1.126.net
bucket: '', // testnos
port: '', // eg: 80, 443
rmFile: '',// 是否删除上报源文件
};
see config/config.default.js for more detail.
// 上传文件至nos
const result = await this.app.nos.uploadFile(__dirname + '/home.js');
返回:
{
"code":200,
"result":{
"statusCode":200,
"headers":{
"date":"Wed, 22 Jan 2020 03:09:52 GMT",
"content-type":"text/plain",
"content-length":"0",
"connection":"close",
"x-nos-request-id":"b0f88003-f2cb-4a46-a01e-cfd7acede85f",
"x-nos-requesttype":"PutObject",
"x-nos-object-name":"test_dfb57d12fe50453ca10e9ae06ef6d643.txt",
"etag":"c8e0a8b69178a6f9c8f2d926be0aff18",
"x-nos-storage-class":"STANDARD",
"server":"nos/v1.0.0"
},
"file_key":"test_dfb57d12fe50453ca10e9ae06ef6d643.txt"
},
"requestId":"39c4031d-15c7-4e6f-bf8a-4d43a86e1f91",
"machine":"lgfshrdeMacBook-Pro.local"
}
// 获取文件地址
const key = 'test_358.txt';
const result = this.app.nos.getPrivateObjectUrl('testnos', key, 10 * 60 * 1000);
eg: result-> https://testnos.nos-eastchina1.126.net/test_358.txt?Signature=xxx&Expires=1579662403&NOSAccessKeyId=xxx
Please open an issue here.
FAQs
[![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] [![Test coverage][codecov-image]][codecov-url] [![David deps][david-image]][david-url] [![Known Vulnerabilities][snyk-image]][snyk-url] [![npm download][download-image]][down
The npm package akos-egg-nos receives a total of 2 weekly downloads. As such, akos-egg-nos popularity was classified as not popular.
We found that akos-egg-nos demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.

Research
A malicious package uses a QR code as steganography in an innovative technique.

Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.