
Research
/Security News
Intercom’s npm Package Compromised in Ongoing Mini Shai-Hulud Worm Attack
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.
Straight-forward Twitter API client with full OAuth support (Bearer, PIN and 1.0a)
npm install --save vogel
yarn add vogel
If you want more in-depth and currently working examples, checkout example/.
const Vogel = require('vogel')
const vogel = new Vogel({
consumerKey: TWITTER_CONSUMER_KEY,
consumerSecret: TWITTER_CONSUMER_SECRET,
oauthCallback: 'http://localhost:8000/api/oauth-token'
})
const url = await vogel.getRequestToken()
// User goes to url, clicks the button, you get a request token + verifier back
// Access tokens!
// These tokens are also persisted to Vogel's scope so you don't need to send
// them with subsequent requests or manage them yourself
const {
token,
tokenSecret
} = await vogel.getAccessToken(requestToken, verifier)
const Vogel = require('vogel')
const vogel = new Vogel({
consumerKey: TWITTER_CONSUMER_KEY,
consumerSecret: TWITTER_CONSUMER_SECRET,
accessTokenKey: TWITTER_ACCESS_TOKEN,
accessTokenSecret: TWITTER_ACCESS_TOKEN_SECRET
})
const Vogel = require('vogel')
const vogel = new Vogel({
consumerKey: TWITTER_CONSUMER_KEY,
consumerSecret: TWITTER_CONSUMER_SECRET,
bearerToken: TWITTER_BEARER_TOKEN
})
const Vogel = require('vogel')
const vogel = new Vogel({
consumerKey: TWITTER_CONSUMER_KEY,
consumerSecret: TWITTER_CONSUMER_SECRET,
oauthCallback: 'oob'
})
const url = await vogel.getRequestToken()
// User goes to url, clicks the button, user is shown a pin
// Ask the user for the PIN and pass in
const {
token,
tokenSecret
} = await vogel.getAccessToken(pin)
After you have authenticated either manually (getRequestToken() -> getAccessToken) or through passing the token, you will be able to make any request fully authenticated
const vogel = new Vogel({ ... })
const res = await vogel.get('/1.1/statuses/home_timeline.json', {
query: {
count: '200'
}
})
// Uses node-fetch under the hood
const body = await res.json()
const vogel = new Vogel({ ... })
// Twitter is teasing us! We want tweet editing!
const res = await vogel.post('/1.1/statuses/update.json', {
query: {
status: 'hello!'
}
})
// Uses node-fetch under the hood
const body = await res.json()
coming soon?
FAQs
Straight-forward Twitter API client with OAuth support
The npm package vogel receives a total of 2 weekly downloads. As such, vogel popularity was classified as not popular.
We found that vogel 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.

Research
/Security News
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.

Research
Socket detected a malicious supply chain attack on PyPI package lightning versions 2.6.2 and 2.6.3, which execute credential-stealing malware on import.

Research
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.