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
Advanced tools
Our API allows you to take the power of the Social Blade website and integrate it directly into your internal systems.
You gain access to the same public statistical information that is on the website along with our toplists, rankings, and more as we keep expanding its features!
# with npm
npm install --save socialblade
# with yarn
yarn add socialblade
Important: We do not force any fetch polyfills, If you're using an older version of node non-lts (v18) you may need a fetch polyfill.
Import the library into your project and construct a new client which will be used to access the API.
import SocialBlade, { YouTubeUser } from 'socialblade';
const client: SocialBlade = new SocialBlade(SOCIALBLADE_CLIENT_ID, SOCIALBLADE_ACCESS_TOKEN);
// Get a YouTube User
const sbUser: YouTubeUser = await client.youtube.user('socialblade');
const SocialBlade = require("socialblade");
const client = new SocialBlade(SOCIALBLADE_CLIENT_ID, SOCIALBLADE_ACCESS_TOKEN);
// Get a YouTube User
client.youtube.user('socialblade').then(console.log);
If you find an issue with this library, feel free to open an issue here on GitHub, or submit a PR! 😀 If it's an issue with the API, open a support ticket.
FAQs
Library for Social Blade's Official API in JavaScript (TypeScript)
We found that socialblade demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.