
Security News
gem.coop Tests Dependency Cooldowns as Package Ecosystems Move to Slow Down Attacks
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.
twitter-proxy
Advanced tools
Tiny Twitter API proxy server
Allows you to make requests to the Twitter API from the comfort of your browser.
npm install -g twitter-proxy
Create an app on https://dev.twitter.com – the URLs and name don't matter, you won't be using it to authenticate people
Create a json configuration file, containing your consumer key and secret:
{
"consumerKey": "<paste consumer key here>",
"consumerSecret": "<paste consumer secret here>"
}
Let's say we save it on ~/config.json
Run the app using the saved config:
$ twitter-proxy ~/config.json # If installed with npm i -g
$ npm start ~/config.json # If you cloned the repository
You can now make requests to Twitter APIs by substituting Twitter base URL with http://localhost:port, where port
denotes the port that was assigned to this server. As an example, if a prior direct request to Twitter pointed to
https://api.twitter.com/1.1/search/tweets.json?q=%40twitterdev
now, having to pass through the proxy, it points to
http://localhost:port/1.1/search/tweets.json?q=%40twitterdev
From your node app, just require this module as a function and call it using the config object as the only parameter:
var twitterProxyServer = require('twitter-proxy');
twitterProxyServer({
consumerKey: '<paste consumer key here>',
consumerSecret: '<paste consumer secret here>'
});
The possible configuration properties, and its default values are:
{
"consumerKey": "",
"consumerSecret": "",
"accessToken": "",
"accessTokenSecret": "",
"port": "7890"
}
FAQs
Tiny twitter proxy.
The npm package twitter-proxy receives a total of 0 weekly downloads. As such, twitter-proxy popularity was classified as not popular.
We found that twitter-proxy 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
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.

Security News
Following multiple malicious extension incidents, Open VSX outlines new safeguards designed to catch risky uploads earlier.

Research
/Security News
Threat actors compromised four oorzc Open VSX extensions with more than 22,000 downloads, pushing malicious versions that install a staged loader, evade Russian-locale systems, pull C2 from Solana memos, and steal macOS credentials and wallets.