Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@benrobertson/gatsby-theme-seo
Advanced tools
[![npm](https://img.shields.io/npm/v/@benrobertson/gatsby-theme-seo)](https://www.npmjs.com/package/@benrobertson/gatsby-theme-seo)
This theme adds SEO related packages and configuration. The following packages are enabled by default:
These packages are also included, but not enabled by default:
npm install @benrobertson/gatsby-theme-seo
In your gatsby-config.js
:
module.exports = {
plugins: [{
resolve: 'gatsby-theme-seo',
options: {
// Adding variables in here will fail a build quickly and output
// an error message. Useful for catching env errors quickly.
requiredEnvVars: [
'URL'
],
// If true, forces trailing slashes.
// Set to false by default.
forceTrailingSlash: false,
// The Google Tag Manager ID you want to add.
// Will only add in production by default.
gtmId: 'TEST-ID',
// Optional configuration for robots.txt
// See: https://www.gatsbyjs.org/packages/gatsby-plugin-robots-txt
// Example:
robotsOptions: {
host: 'https://www.example-override.com',
sitemap: 'https://www.example.com/sitemap.xml',
policy: [{ userAgent: '*', allow: '/' }]
},
// Optional configuration for sitemaps.
// For all available options, see:
// https://www.gatsbyjs.org/packages/gatsby-plugin-advanced-sitemap/?=gatsby-plugin-advan#options
// Example:
sitemapOptions: {
exclude: [
'/404.html',
'/404',
'/dev-404-page',
'/maintenance'
}
}
}],
}
FAQs
[![npm](https://img.shields.io/npm/v/@benrobertson/gatsby-theme-seo)](https://www.npmjs.com/package/@benrobertson/gatsby-theme-seo)
We found that @benrobertson/gatsby-theme-seo 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.