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.
jtbot is a Node-based Twitter bot which automates the process of retweeting tweets of interest.
This project was previously known as Jade-bot
$ git clone https://github.com/Raindeer44/jtbot.git
$ cd jtbot/
$ npm
$ npm test
jtbot is available on npm:
npm install -g jtbot
Set up application keys for the Twitter account you want to use: https://apps.twitter.com/app/new. Add to the .env
file:
.env
also needs the rate at which you want the bot to retweet (in minutes).
For example, .env
might look something like
CONSUMER_KEY=Fw***********P9
CONSUMER_SECRET=TD************Cq
ACCESS_TOKEN=31**************UC
ACCESS_TOKEN_SECRET=r0************S2
TWITTER_RETWEET_RATE=30
That's all the set up! Now just run
$ npm start
For continuous usage, either run on a server (if you happen to have one lying around) or deploy to Heroku, a serverless architecture or a similar service.
Please fork this repository and contribute back using pull requests.
Any contributions, large or small, major features, bug fixes and integration tests are welcomed and appreciated but will be thoroughly reviewed and discussed.
Why doesn't jtbot favorite/like tweets anymore?
Unfortunately automated favorites/likes are no longer allowed by the Twitter TOS. As such, functionality has been removed.
Does my username need to go somewhere?
Nope! The Twitter application keys are linked to the account.
This bot was created with the help of Spences10's Node.js Twitter bot bootstrap, and with inspiration from @amanhimself.
FAQs
A Twitter retweet and favorite bot
The npm package jtbot receives a total of 0 weekly downloads. As such, jtbot popularity was classified as not popular.
We found that jtbot 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.