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.
dots-wrapper
Advanced tools
npm install --save dots-wrapper@latest
import { createApiClient } from 'dots-wrapper';
const myApiToken = 'my-long-token';
const dots = createApiClient({token: myApiToken});
const main = async () => {
const {data:{account}} = await dots.account.getAccount();
console.log(account);
};
main();
const {createApiClient} = require('dots-wrapper');
const myApiToken = 'my-long-token';
const dots = createApiClient({token: myApiToken});
const main = async () => {
const {data:{account}} = await dots.account.getAccount();
console.log(account);
};
main();
index.html
<script src='https://unpkg.com/dots-wrapper@latest/dist/index-browser.min.js'></script>
js.js
const {createApiClient} = window.dots;
const myApiToken = 'my-long-token';
const dots = createApiClient({token: myApiToken});
const main = async () => {
const {data:{account}} = await dots.account.getAccount();
console.log(account);
};
main();
2024-10-20 - new version 3.11.12
FAQs
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
The npm package dots-wrapper receives a total of 1,731 weekly downloads. As such, dots-wrapper popularity was classified as popular.
We found that dots-wrapper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
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.