Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@vk-x/vk-api
Advanced tools
An alternative library for interacting with vk.com with solid and exceptionally convenient API.
The driver is packaged as an UMD and is published to:
npm install --save @vk-x/vk-api
bower install vk-api
https://cdn.jsdelivr.net/vk-api/latest/vk-api.min.js
https://cdn.jsdelivr.net/vk-api/latest/vk-api-no-shortcuts.min.js
After you've included and loaded the script, you can use it either with Promises or with callbacks.
// Authenticate on your website.
vk.authWebsite("app-id", ["permissions"]).then(function() {
vk.users.get()
}).then(function(currentUser) {
// https://vk.com/dev/users.get
})
// Alternatively, obtain the access token yourself.
vk.accessToken = "obtained-access-token"
vk.users.get().then(function(currentUser) {
// https://vk.com/dev/users.get
})
vk.method()
support with callbacksvk.users.get()
instead of vk.method("users.get")
vk.getAuthUrl()
and aliases for secure methodsFAQs
JavaScript Driver for vk.com API
The npm package @vk-x/vk-api receives a total of 2 weekly downloads. As such, @vk-x/vk-api popularity was classified as not popular.
We found that @vk-x/vk-api 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
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.