
Threat Research
/Security News
Searchjacked: Hidden Browser Extensions Hijack Searches for 13 Million Users
319 browser extensions installed by 13.4 million users hijack searches, capture queries, and collect referral payments from Yahoo and Bing.
@hafez/x-cli
Advanced tools
View X (Twitter) posts and their replies right from your terminal
npm install -g @hafez/x-cli
# View any public tweet (no login required)
x tweet https://x.com/Google/status/2001322381533409733
# Or just use the ID
x tweet 2001322381533409733
# Pretty output for readability
x tweet 2001322381533409733 --pretty
Guest mode works for public tweets but won't show replies. For full access:
# See setup instructions
x login
# Check auth status
x whoami
# Clear credentials
x logout
F12) → Application → Cookies → x.comauth_token and ct0 valuesmkdir -p ~/.config/x-cli
cat > ~/.config/x-cli/auth.json << EOF
{
"authToken": "YOUR_AUTH_TOKEN",
"csrfToken": "YOUR_CT0_TOKEN"
}
EOF
Perfect for piping to jq or other tools:
{
"mainTweet": {
"id": "1234567890",
"text": "Hello world!",
"author": { "name": "User", "username": "user" },
"metrics": { "likes": 10, "retweets": 5, "replies": 2 }
},
"parentTweets": [],
"replies": [...]
}
--pretty)Human-friendly terminal output:
User @username 2h ago
Hello world!
2 replies 5 retweets 10 likes 1.2K views
--- Replies (2) ---
Reply Author @reply_user 1h ago
Nice post!
Auto-install for your shell:
x setup
Or install manually:
# Bash
x completion bash >> ~/.bashrc
# Zsh
mkdir -p ~/.zsh/completions
x completion zsh > ~/.zsh/completions/_x
# Add to ~/.zshrc: fpath=(~/.zsh/completions $fpath)
# Fish
x completion fish > ~/.config/fish/completions/x.fish
| Command | Description |
|---|---|
x tweet <url> | View a tweet (guest mode if not logged in) |
x login | Show authentication setup instructions |
x logout | Clear stored credentials |
x whoami | Show current auth status |
x setup | Install shell completions |
x completion <shell> | Output completion script |
git clone https://github.com/AbdelrahmanHafez/x-cli.git
cd x-cli
npm install
npm run build
npm link
MIT
FAQs
CLI tool for viewing X (Twitter) posts and replies
The npm package @hafez/x-cli receives a total of 0 weekly downloads. As such, @hafez/x-cli popularity was classified as not popular.
We found that @hafez/x-cli 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.

Threat Research
/Security News
319 browser extensions installed by 13.4 million users hijack searches, capture queries, and collect referral payments from Yahoo and Bing.

Threat Research
Malicious Firefox extensions mimic Phantom, Jupiter, and Bitget wallets to steal recovery phrases and private keys, with one fetching its payload remotely.

Product
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.