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.
A Node.js client for consuming Gnip. Connect to the Gnip Powertrack Streaming API and manage your rules. You must have a Gnip account with Twitter PowerTrack available and enabled.
The stream is an EventEmitter that allows you to connect to a PowerTrack stream and start receiving data.
Connect to the stream and start receiving data from Gnip. You should have registered at least one event listener for any of the following events from the stream:
Terminates the connection to the stream.
Event Name | Description |
---|---|
data | Emitted for each content item received. |
error | Emitted when the response received is not a 200 OK. |
end | Emitted when the stream has been ended. |
post | Emitted for each content item received that has a verb value of post . |
share | Emitted for each content item received that has a verb value of share . |
npm install gnippy
var Gnippy = require('gnippy');
var powertrack_options = {
account_name: "<your Gnip account name>",
user: "<your Gnip user name>",
password: "<your Gnip password>",
stream_name: "<your Gnip Powertrack Stream name, ex. 'prod'>"
};
var stream = new Gnippy.Powertrack.Stream(powertrack_options);
stream.on('error', function(err){
console.error(err);
});
stream.on('data', function(data){
console.dir(data);
});
stream.on('post', function(data){
console.dir(data);
});
stream.on('share', function(data){
console.dir(data);
});
stream.start();
=== Tests and details to follow soon....
FAQs
Node.js client for Gnip/Twitter.
We found that gnippy 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.