
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.
vk-api-help
Advanced tools
##Start
npm install vk-api-help
##Get started
var VK = require('vk-api-help');
//Request to any VK api method
var vkRequest = new VK.VkRequest('USER_TOKEN');
vkRequest.method('audio.get', { owner_id: 1, count: 2, offset: 1 })
.then(function(json) {
console.log(json);
})
.catch({ name: 'VkApiError' }, function(error) {
console.log(`VKApi error ${error.error_code} ${error.error_msg}`);
switch(error.error_code) {
case 14:
console.log('Captcha error');
break;
case 5:
console.log('No auth');
break;
default:
console.log(error.error_msg);
}
})
.catch(function(error) {
console.log(`Other error ${error.error_msg}`);
});
//Reqeust to VK api for get access token by user code
var vkToken = new VK.VkToken('CLIENT_ID', 'CLIENT_SICRET');
vkToken.getTokenFromCode('USER_CODE')
.then(function(json) {
console.log(json);
})
.catch(function(error) {
console.log(error);
});
FAQs
Easily work with vk api methods with promise
The npm package vk-api-help receives a total of 1 weekly downloads. As such, vk-api-help popularity was classified as not popular.
We found that vk-api-help 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
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.