Safeguard
Tag

nodejs

Safeguard articles tagged "nodejs" — guides, analysis, and best practices for software supply chain and application security.

112 articles

Security

eslint-plugin-security: How to Catch Node.js Security Bugs at Lint Time

eslint-plugin-security adds static-analysis rules to ESLint that flag risky Node.js patterns before they ship. Here is how to configure it and read its warnings without drowning in noise.

Mar 18, 20255 min read
Open Source

Execa on npm: A Security Review and Safe Usage Guide

Execa is one of the most popular ways to run child processes in Node.js. Here is how to use the execa npm package without opening a command-injection hole.

Mar 18, 20256 min read
Open Source

How to Use the express-validator npm Package Safely

A security-focused review of the express-validator npm package: what it protects you from, what it does not, and how to configure it so bad input never reaches your handlers.

Mar 18, 20256 min read
DevSecOps

How to Update Node.js Safely: A Security-First Guide

The safest way to update Node.js is to move to a supported LTS line and treat the upgrade as a security event, not a chore. Here is a practical path from an EOL version to a maintained one.

Mar 18, 20256 min read
Dev Practices

Node.js Backend Security Checklist

A working checklist for securing a Node.js backend: dependency hygiene, input validation, secrets, HTTP headers, and the CI gates that keep regressions out.

Mar 18, 20256 min read
Containers

Node.js in Docker: Choosing and Securing Your Base Image

The Docker Node base image you pick decides your CVE count before you write a line of code. Here is how to choose between Debian, slim, and Alpine — and harden whichever you pick.

Mar 12, 20257 min read
Open Source

node-fetch: Vulnerability History and the Native fetch Upgrade Path

The npm node-fetch package served a decade of HTTP requests and picked up two notable CVEs along the way. Here is its vulnerability history and how to move to native fetch.

Mar 11, 20257 min read
Security

https-proxy-agent: What It Does and How to Use It Safely

A practical security review of https-proxy-agent, the Node.js module that tunnels HTTPS through an HTTP proxy, plus the advisories worth knowing before you pin a version.

Mar 11, 20256 min read
Security

What Causes a Memory Leak in JavaScript (and How to Find One)

A memory leak in JavaScript happens when objects you no longer need stay reachable, so the garbage collector can never free them. Here is how they start and how to hunt them down.

Mar 11, 20256 min read
Open Source

undici npm: Security Review and Safe Usage

The undici npm package is Node.js's modern HTTP client and the engine behind the built-in fetch. Here is a review of its security history and how to keep npm undici patched.

Mar 3, 20255 min read
Open Source

npm dd-trace: Security Review and Safe Usage

The npm dd-trace package is Datadog's Node.js APM tracer. It runs deep in your process, so here is an honest look at its security posture and how to deploy it safely.

Feb 19, 20256 min read
Open Source

Is the got npm Package Safe? A Security Review of got for Node.js

got is a well-maintained HTTP client, but one redirect-handling CVE and its SSRF-prone defaults are worth knowing before you ship it. Here is the security review.

Feb 11, 20255 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.

nodejs (Page 9) — Safeguard Blog