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.
ducksboard-node
Advanced tools
Ducksboard-node is a Ducksboard API wrapper on node.js
This is a simple API wrapper to communicate with Ducksboard's Push API
Install the module with: npm install ducksboard-node
var options = {
api_key : '#your api key#'
};
var DucksboardNode = require('ducksboard-node');
var dn = new DucksboardNode(options);
// push a simple value to 'my_widget'
dn.pushValue(123, 'my_widget', function(err) {
if (err){
console.error('There was an error'); //error pushing to ducksboard server.
}
});
// push a delta (increment) to 'my_widget'
dn.pushDelta(-4, 'my_widget', function(err) {
if (err){
console.error('There was an error'); //error pushing to ducksboard server.
}
});
// push a value with a timestamp to 'my_widget'
dn.pushValueWithTimestamp(101, +new Date(), 'my_widget', function(err) {
if (err){
console.error('There was an error'); //error pushing to ducksboard server.
}
});
// delete all value of 'my_widget'
dn.deleteValues('my_widget', function(err) {
if (err){
console.error('There was an error'); //error pushing to ducksboard server.
}
});
Run the tests with: npm test
(requires mocha)
Copyright (c) 2014 José M. Pérez Licensed under the MIT license.
FAQs
A Ducksboard API wrapper for node.js
The npm package ducksboard-node receives a total of 0 weekly downloads. As such, ducksboard-node popularity was classified as not popular.
We found that ducksboard-node 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.
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.