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 simple Twitter scraping in headless mode for Chrome and Firefox, written in nodejs and doesn't need the Twitter API
Scraping Twitter by headless mode, no API and limit.
npm i -g twid
[!NOTE]
The token option is required because cookies are required to access the Twitter user's media resources.
# twid <...users>
# Two users
twid elonmusk youyuxi --token YOUR_TOKEN
[!NOTE] The users parameter is in the url, like
https://twitter.com/elonmusk
You can find token
in devtool -> application -> Cookie(chosse https://twitter.com) -> auth_token
:
twid youyuxi --token YOUR_TOKEN
twid --help
Usage:
$ twid <...users>
Commands:
<...users>
For more info, run any command with the `--help` flag:
$ twid --help
Options:
-O, --outDir [outDir] The output dir (default: twid-dist)
-T, --token <token> The auth_token of cookies
-D, --dev [dev] Dev mode, Set headless and devtools to true (default: false)
-R, --retry [proretryduct] Retry times (default: 3)
-P, --product [product] Use chrome of firefox (default: chrome)
-h, --help Display this message
FAQs
A simple Twitter scraping in headless mode for Chrome and Firefox, written in nodejs and doesn't need the Twitter API
We found that twid 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.