Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
github.com/thenewdynamic/hugo-component-tnd-seo
HUGO 0.54.0 and above.
git submodule add https://github.com/theNewDynamic/hugo-component-tnd-seo.git components/tnd-seo/
WARNING: Make sure the directory for the component is in your theme directory as tnd-seo
Drop the following where appropriate
{{ if templates.Exists "partials/tnd-seo/print.html" }}
{{ partial "tnd-seo/print.html" . }}
{{ end }}
The above partials, will look for content information and build an Data object to be printed in SEO tags (og, twitter card etc...).
If you need to alternate the data model, you can do so by adding ot your project a layouts/partials/tnd-seo/extend.html
partial and add to it as explained here.
Options live in an seo
object in your site params.
params:
seo:
# overides .Site.Title
site_name: MyWebsite
# Used for articles without images
default_image: "/images/default.jpg"
# if true will use the SEO data object to output an json+ld script tag.
jsonld: true
# if true will display a human readable overlay on everypage to monitor SEO data object (only if dev != production)
debug: true
The following can be overriden just for SEO within the Front Matter:
---
title: What a post
description: That's dull!
seo:
image: /uploads/way-better-that-this-post-featured.png
description: Content marketing 101
FAQs
Unknown package
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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.