Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
typeface-source-sans-pro
Advanced tools
The CSS and web font files to easily self-host “Source Sans Pro”.
npm install --save typeface-source-sans-pro
Typefaces assume you’re using webpack to process CSS and files. Each typeface package includes all necessary font files (woff2, woff, eot, ttf, svg) and a CSS file with font-face declerations pointing at these files.
You will need to have webpack setup to load css and font files. Many tools built with Webpack will work out of the box with Typefaces such as Gatsby and Create React App.
To use, simply require the package in your project’s entry file e.g.
// Load Source Sans Pro typeface
require('typeface-source-sans-pro')
Our goal is to add all open source fonts to NPM to simplify using great fonts in our web projects. We’re currently maintaining 846 typeface packages including all typefaces on Google Fonts.
If your favorite typeface isn’t published yet, let us know and we’ll add it!
FAQs
Source Sans Pro typeface
The npm package typeface-source-sans-pro receives a total of 3,761 weekly downloads. As such, typeface-source-sans-pro popularity was classified as popular.
We found that typeface-source-sans-pro 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 researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.