Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
messagebird
Advanced tools
This repository contains the open source Node.js client for MessageBird's REST API. Documentation can be found at: https://developers.messagebird.com
access_key
in the developers sectionnpm install messagebird
We have put some self-explanatory examples in the examples directory, but here is a quick breakdown on how it works.
Let's go ahead and initialize the library first. Don't forget to replace <YOUR_ACCESS_KEY>
with your actual access key.
var messagebird = require('messagebird')('<YOUR_ACCESS_KEY>');
Nice! Now we can send API requests through node. Let's use getting your balance overview as an example:
// Get your balance
messagebird.balance.read(function (err, data) {
if (err) {
return console.log(err);
}
console.log(data);
});
// Result object:
{
payment: 'prepaid',
type: 'credits',
amount: 42.5
}
Or in case of an error:
{ [Error: api error]
errors: [
{
code: 2,
description: 'Request not allowed (incorrect access_key)',
parameter: 'access_key'
}
]
}
Complete documentation, instructions, and examples are available at: https://developers.messagebird.com
The MessageBird REST API for Node.js is licensed under The BSD 2-Clause License. Copyright (c) 2014, MessageBird
FAQs
A node.js wrapper for the MessageBird REST API
The npm package messagebird receives a total of 21,593 weekly downloads. As such, messagebird popularity was classified as popular.
We found that messagebird demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.