Safeguard
Topic

Open Source

In-depth guides and analysis on open source from the Safeguard engineering team.

252 articles

Open Source

Rimraf npm: Is It Still Worth Installing in 2025?

A security-minded look at the rimraf npm package — what it does, why old versions throw deprecation warnings, and when Node's built-in fs.rm makes it optional.

May 9, 20266 min read
Open Source

npm js-yaml: A Security Review and Safe Usage Guide

npm js-yaml is the standard YAML parser for Node.js. Its history includes real code-execution bugs, and how you call it still decides whether your app is safe.

May 9, 20266 min read
Open Source

dotenv npm: A Security Review and Safe Usage Guide

The dotenv npm package loads environment variables from a .env file into process.env. It is safe and widely used, but how you handle the file around it is where most mistakes happen.

May 9, 20266 min read
Open Source

Is html-react-parser Safe? Rendering HTML in React Without an XSS Hole

html-react-parser converts an HTML string into React elements, but it is not a sanitizer. Here is how to use it and where the XSS risk really sits.

May 8, 20266 min read
Open Source

How to Make an npm Package: A Step-by-Step Guide

Learning how to make an npm package takes about ten minutes of setup and a lifetime of not shipping your .env file. This guide covers the full path from init to publish, safely.

May 7, 20266 min read
Open Source

The dataloader npm Package: Security Review and Safe Usage

The dataloader npm package batches and caches data fetches, most often in GraphQL servers. Its security story is less about CVEs and more about cache scoping and how you use it.

May 7, 20266 min read
Open Source

The cors npm Package: A Security Review and Safe Usage Guide

The cors npm package is the standard CORS middleware for Express, and most of its danger comes from misconfiguration, not the library itself. Here is how to set it correctly.

May 7, 20265 min read
Open Source

Passport (npm): A Security Review and Safe-Usage Guide

A security-focused look at the passport npm package: what it does, the session fixation CVE fixed in 0.6.0, and how to configure authentication safely.

May 7, 20265 min read
Open Source

@react-native-clipboard/clipboard: What to Know Before You Read the Clipboard

The @react-native-clipboard/clipboard package is the standard clipboard API for React Native. The security work is less about the package and more about what you copy and paste.

May 6, 20265 min read
Open Source

Is the Sharp npm Package Safe? A Security Review

A security review of the sharp npm image-processing library: its native dependency risk, the libwebp CVE that hit it, and how to run npm sharp safely.

May 6, 20266 min read
Open Source

adm-zip npm Security: Zip Slip Risks and Safe Extraction

adm-zip is a popular pure-JavaScript zip library for Node.js, and its history of path-traversal flaws makes safe extraction non-optional. Here is what went wrong and how to use it correctly.

May 6, 20265 min read
Open Source

Interpolation in Angular: How It Works and Where the XSS Risks Hide

Interpolation in Angular binds component data into templates and is safe by default because Angular escapes it. The danger starts when you reach for bypasses.

May 6, 20266 min read

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.

Open Source (Page 10) — Supply Chain Security Blog | Safeguard