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.
gatsby-source-github-contributors
Advanced tools
Gatsby source that fetches all the contributors on a GitHub repository
A Gatsby source plugin for pulling all the contributors for a github repository.
via npm
npm install --save gatsby-source-github-contributors
or via yarn
yarn add gatsby-source-github-contributors
Getting data from two different tables:
// In gatsby-config.js
plugins: [
{
resolve: `gatsby-source-github-contributors`,
options: {
repo: "strawberry-graphql/strawberry"
}
}
];
Get all the contributors via GraphQL
{
allGitHubContributor {
nodes {
login
name
url
}
}
}
This source doesn't require API keys but, since GitHub throttles requests, it is recommended to use a token or app credentials.
// In gatsby-config.js
plugins: [
{
resolve: `gatsby-source-github-contributors`,
options: {
repo: "strawberry-graphql/strawberry",
token: process.env.GITHUB_TOKEN
}
}
];
For more authentication options, refer to github-base docs.
FAQs
Gatsby source that fetches all the contributors on a GitHub repository
We found that gatsby-source-github-contributors 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.