Safeguard
Topic

Open Source

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

252 articles

Open Source

Is the npm xlsx Package Safe? A Security Review

A security review of the npm xlsx (SheetJS) package: its prototype pollution and ReDoS CVEs, the npm-versus-CDN patch gap, and how to install it safely.

May 6, 20256 min read
Open Source

npm pack: How to Publish Without Leaking Secrets

npm pack builds the exact tarball that would be published to the registry. Using it before every publish is the simplest way to avoid shipping secrets.

May 6, 20255 min read
Open Source

react-oidc-context: A Security Guide

react-oidc-context wraps oidc-client-ts in React hooks for SPA authentication. Here is how to wire it up without leaking tokens or trusting the wrong callback.

May 2, 20256 min read
Open Source

@babel/plugin-proposal-class-properties: Security and Migration Guide

This Babel plugin is deprecated, not vulnerable. The real risk is supply chain hygiene: depending on an unmaintained package when the standard replacement is a one-line swap.

Apr 29, 20255 min read
Open Source

Is react-native-background-upload Safe to Ship?

react-native-background-upload moves files while your app is backgrounded, which is exactly why its security depends on how you handle URLs, tokens, and native permissions.

Apr 22, 20255 min read
Open Source

Webpack Latest Version: Why Staying Current Is a Security Move

The webpack latest version sits in the 5.x line and updates frequently. Here is how to check which version you run, why staying current matters for security, and how to upgrade safely.

Apr 22, 20255 min read
Open Source

cross-fetch: Package Health and Security Review

cross-fetch still ships in thousands of lockfiles as a universal fetch polyfill. A review of its one CVE, its node-fetch dependency, and when you no longer need it.

Apr 22, 20256 min read
Open Source

react-native-google-places-autocomplete: A Security Guide

The react-native-google-places-autocomplete component makes location search easy, but it can also leak your Google API key straight out of a shipped app. Here's how to use it safely.

Apr 22, 20256 min read
Open Source

react-csv and CSV Injection: Exporting Data From React Safely

react-csv makes CSV downloads a one-component job, but it does not sanitize formula injection. Here is how to use it and where you own the security.

Apr 22, 20256 min read
Open Source

npm bluebird in 2025: Is the Promise Library Still Safe to Use?

The npm bluebird package still gets tens of millions of weekly downloads, but it has gone quiet. Here is an honest read on whether to keep it or migrate.

Apr 18, 20255 min read
Open Source

The npm prepare Script: What It Does and How to Use It Safely

The npm prepare lifecycle script runs at more moments than most developers realize, including when someone installs your package from git. Here is exactly when it fires and how to keep it from becoming an attack vector.

Apr 18, 20256 min read
Open Source

usehooks-ts: A Typed React Hooks Library Reviewed

usehooks-ts packs 30+ typed React hooks into a tree-shakable package with a single dependency. Here is what it does well, where it is aging, and how to vet it before adoption.

Apr 18, 20257 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 15) — Supply Chain Security Blog | Safeguard