Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
streamtip-listener
Advanced tools
A Node.JS wrapper for the Streamtip API.
npm install streamtip-listener
var Streamtip = require('streamtip-listener');
var opts = {
clientId: '12345', // Your Client ID, from the Streamtip account page
accessToken: '67890' // Account Token, again from the account page
};
var listener = new Streamtip(opts);
listener.on('connected', function() {
// Successfully connected to Streamtip, but not authenticated yet!
console.log('connected!');
});
listener.on('authenticated', function() {
// Now authenticated, we can expect tip alerts to come through
console.log('authenticated!');
});
listener.on('authenticationFailed', function() {
// ClientID or Access Token was rejected
console.log('authentication failed!');
});
listener.on('ratelimited', function () {
// Too many bad authentications = ratelimited
console.log('rate limited!');
});
listener.on('newTip', function(tip) {
// We got a new tip.
// 'tip' is an object which matches the description given on the Streamtip API page
console.log('new tip! %s has tipped %s%s!', tip.username, tip.currencySymbol, tip.amount);
});
listener.on('error', function(err) {
// An unexpected error occurred
console.log('error! %s', err.message);
});
streamtip-listener is copyright (c) Matthew McNamara, and is provided under the MIT license, which is available to read in the [LICENSE][] file. [license]: LICENSE
Streamtip itself is copyright (c) NightDev, LLC.
FAQs
Evented wrapper API for StreamTip
We found that streamtip-listener demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.