Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
socialblade-com-api
Advanced tools
Unofficial APIs for Socialblade.com website. The socialblade
function returns the last 30 days data of a username for a particular source. See example below.
npm i socialblade-com-api
socialblade
functionsource
: one of the followings.username
: account username on the specified source.cookie
: required param if source
is instagram
. You need to sign up for a free account to socialblade.com, then get the value of PHPSESSXX
Cookie from Chrome console (F12) > Application > Cookies.const { socialblade } = require('socialblade-com-api')
async function main () {
try {
const response1 = await socialblade('twitter', 'barackobama')
const response2 = await socialblade('instagram', 'barackobama', '<your_socialblade_phpsessxx_cookie>')
} catch (err) {
console.error(err)
}
}
{
table: [
{
date: '2020/05/26',
followersDelta: 5657,
followers: 117937431,
followingDelta: -7,
following: 605960,
postsDelta: 0,
posts: 15811
},
...
],
charts: [
{
id: 'weekly-followers-gained',
title: 'Weekly Followers Gained for ...',
data: [ { date: '2020/05/26', value: 123 }, ... ]
}
]
}
npm test
npm run lint
Please open an issue.
FAQs
Unofficial APIs for Socialblade.com website.
The npm package socialblade-com-api receives a total of 8 weekly downloads. As such, socialblade-com-api popularity was classified as not popular.
We found that socialblade-com-api 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.