Safeguard
Topic

Security Guides

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

5115 articles

Security Guides

Node.js permission model: a seat belt, not a sandbox

The Node.js permission model limits file, network and process access for trusted code. What its flags do and why it cannot contain malicious code.

Oct 18, 20263 min read
Security Guides

What the no-new-privileges container flag blocks and what it does not

The no-new-privileges option stops container processes from gaining privileges through setuid binaries. Learn how to set it and where it falls short.

Oct 18, 20264 min read
Security Guides

NIST zero trust: the seven tenets of SP 800-207 in plain language

The seven tenets of zero trust from NIST SP 800-207, explained in plain words with a practical question for each one that you can ask about your own setup.

Oct 18, 20263 min read
Security Guides

NIS2 vulnerability handling and disclosure: what is required

NIS2 asks for vulnerability handling and disclosure inside secure development, and national CSIRTs act as coordinators. What teams need to have in place.

Oct 18, 20263 min read
Security Guides

NIS2 patch management: when you may skip a patch, and how to record it

EU implementing rules expect timely, tested patches from trusted sources, and documented reasons when a patch is skipped. How to write the policy.

Oct 18, 20263 min read
Security Guides

Next.js server-only, taint and NEXT_PUBLIC: keeping secrets off the client

Three ways to keep private data out of the browser in Next.js: the NEXT_PUBLIC prefix rule, the server-only package and React taint APIs. What each does.

Oct 18, 20263 min read
Security Guides

Next.js Server Actions are public endpoints: check auth inside

A Server Action can be called with a direct POST, so a page level login check does not protect it. Verify authentication and ownership inside every action.

Oct 18, 20263 min read
Security Guides

Next.js Server Actions and CSRF: allowedOrigins explained

How Next.js limits CSRF on Server Actions with POST only and an Origin versus Host check, and when allowedOrigins matters behind a reverse proxy.

Oct 18, 20263 min read
Security Guides

Auditing a Next.js app: what to open first

A short audit order for a Next.js App Router project from the official data security guide: data layer, use client, use server, params and route handlers.

Oct 18, 20263 min read
Security Guides

Next.js data access layer and DTOs, explained

A data access layer is a server-only module that checks authorization and returns minimal objects. Why Next.js recommends it for new projects.

Oct 18, 20263 min read
Security Guides

New hire security training: a first week checklist

What to cover in a new employee's first week of security onboarding, in order, with timing and owners, so that access and training stay in step.

Oct 18, 20263 min read
Security Guides

New cloud account security checklist for the first week

A practical first week checklist for a new AWS, Azure or GCP account: lock down the owner, turn on logs, block public storage and remove long-lived keys.

Oct 18, 20264 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.