
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
gatsby-plugin-algolia-index
Advanced tools
[](https://travis-ci.org/kdichev/gatsby-plugin-algolia-index)
🚧 This plugin is work in progress 🚧
Feel free to open issues for any questions or ideas
$ yarn add gatsby-plugin-algolia-index
First add credentials to a .env file, which you won't commit. If you track this in your file, and especially if the site is open source, you will leak your admin API key. This would mean anyone is able to change anything on your Algolia index.
// .env.${process.env.NODE_ENV}
ALGOLIA_APP_ID=XXX
ALGOLIA_API_KEY=XXX
require('dotenv').config({
path: `.env.${process.env.NODE_ENV}`,
})
// gatsby-config.js
module.exports = {
plugins: [
{
resolve: `gatsby-plugin-algolia-index`,
options: {
appId: process.env.ALGOLIA_APP_ID,
apiKey: process.env.ALGOLIA_API_KEY,
indexName: process.env.ALGOLIA_INDEX_NAME, // for all queries
path: 'path/to/custom/indexing-config' // optional
chunkSize: 10000, // default: 1000
},
},
],
}
// algolia-index-config.js
// (graphql: GraphQlClient) => Promise<[]<{indexName: string, indexData: []<any>}>>
module.exports = async (/*graphql*/) => [
{ indexName: 'index1', indexData: [{ hello: '1' }] },
{ indexName: 'index2', indexData: [{ hello: '2' }] },
]
FAQs
[](https://travis-ci.org/kdichev/gatsby-plugin-algolia-index)
The npm package gatsby-plugin-algolia-index receives a total of 3 weekly downloads. As such, gatsby-plugin-algolia-index popularity was classified as not popular.
We found that gatsby-plugin-algolia-index 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.