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.
This is a simple script that helps you delete tweets (or just replies or retweets) from your timeline. There are quite a few third-party services that allow you to delete tweets, but these very likely will not allow you to delete tweets beyond the infamous 3,200 tweet limit.
Unfortunately, as of late 2018, you are required to have a Twitter Developer account in order to create a Twitter app.
:warning: Before you continue, you should be aware that most shells record user
input (and thus secrets) into a history file. In Bash you could prevent this by
prepending your command with a single space (requires $HISTCONTROL
to be set
to ignorespace
or ignoreboth
).
export TWITTER_CONSUMER_KEY="your_consumer_key"
export TWITTER_CONSUMER_SECRET="your_consumer_secret"
export TWITTER_ACCESS_TOKEN="your_access_token"
export TWITTER_ACCESS_TOKEN_SECRET="your_access_token_secret"
Install the tool using pip
.
python3 -m pip install delete-tweets
Delete any tweet from before January 1, 2018:
delete-tweets --until 2018-01-01 tweet.js
Or only delete all retweets:
delete-tweets --filter retweets tweet.js
You can optionally spare tweets by passing their id_str
, setting a minimum
amount of likes or retweets:
delete-tweets --until 2018-01-01 tweet.js --spare-ids 21235434 23498723 23498723
Spare tweets that have at least 10 likes, or 5 retweets:
delete-tweets --until 2018-01-01 tweet.js --spare-min-likes 10 --spare-min-retweets 5
FAQs
Delete tweets from your Twitter timeline.
We found that delete-tweets demonstrated a healthy version release cadence and project activity because the last version was released less than 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.