Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
tweettracker
Advanced tools
Tracks a users tweets using the twitter API and outputs every time they tweet
This package tracks a users tweets and outputs them with an event emitter.
Install tweettracker with npm
npm install tweettracker
A full example is availible in ./example.js
var tweettracker = TweetTracker(bearer_token);
var tracker = tweettracker.track("jack" /*USERNAME*/, {
interval: 5000, // defaults to 10 seconds.
emitLatest: true, // emit the latest tweet when the stream starts
});
tracker.on("tweet", function (tweet) {
console.log(tweet); // log the tweet to the console
});
Object that is returned in the event handler
{
id: (STRING , tweet id),
text: (STRING , tweet text),
media: [ (STRING ARRAY, media url links) ],
name: (STRING , user name),
username: (STRING , user username),
profile_image_url: (STRING , user profile image url),
}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
FAQs
Tracks a users tweets using the twitter API and outputs every time they tweet
We found that tweettracker 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.