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.
This package is a node.js wrapper for the Sendblue API. It provides a simple interface for sending and receiving messages.
You will need to get API keys by signing up for a Sendblue account. You can do so here.
npm i sendblue
import Sendblue from 'sendblue-node'
// Load your key from an environment variable or secret management service
// (do not include your key directly in your code)
const SENDBLUE_API_KEY = process.env.SENDBLUE_API_KEY
const SENDBLUE_API_SECRET = process.env.SENDBLUE_API_SECRET
const sendblue = new Sendblue(SENDBLUE_API_KEY, SENDBLUE_API_SECRET)
;(async () => {
const response = await sendblue.sendMessage({
number: '+19998887777',
content: 'Hello world!',
send_style: 'invisible',
media_url: 'https://source.unsplash.com/random.png',
status_callback: 'https://example.com/message-status/1234abcd'
})
console.log(response)
})()
;(async () => {
const response = await sendblue.sendGroupMessage({
numbers: ['+19998887777', '+19998887778'],
content: 'Hello world!',
send_style: 'invisible',
media_url: 'https://source.unsplash.com/random.png',
status_callback: 'https://example.com/message-status/1234abcd'
})
console.log(response)
})()
You can get free api keys for testing & hobby purposes by emailing the team
FAQs
A tiny client module for the Sendblue API
We found that sendblue 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.