
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
yandex-cloud
Advanced tools
Need to automate your infrastructure or use services provided by Yandex.Cloud? We've got you covered.
Installation:
npm install yandex-cloud
Library requires at least node.js 10 and provides TypeScript declarations.
There are two options for authorization your requests - OAuth Token and Metadata Service (if you're executing code inside VMs or Functions running in Yandex.Cloud)
const {Session} = require('yandex-cloud');
const {CloudService} = require('yandex-cloud/api/resourcemanager/v1');
// Initialize SDK with your token
const session = new Session({ oauthToken: 'YOUR_TOKEN' });
// Create service client
const cloudService = new CloudService(session);
// Issue request (returns Promise)
let response = await cloudService.list({});
Don't forget to assign Service Account for your Instance or Function.
const {CloudService} = require('yandex-cloud/api/resourcemanager/v1');
// Create service client (auth token will be fetched from metadata service
const cloudService = new CloudService();
// Issue request (returns Promise)
let response = await cloudService.list({});
const {Session} = require('yandex-cloud');
const {CloudService} = require('yandex-cloud/api/resourcemanager/v1');
// Initialize SDK with your token
const session = new Session({ iamToken: 'YOUR_TOKEN' });
// Create service client
const cloudService = new CloudService(session);
// Issue request (returns Promise)
let response = await cloudService.list({});
Check examples
directory for more examples.
If you need generated client for other Yandex.Cloud services, just open an issue.
FAQs
Yandex Cloud SDK
The npm package yandex-cloud receives a total of 44 weekly downloads. As such, yandex-cloud popularity was classified as not popular.
We found that yandex-cloud 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.