Safeguard
Topic

Security Guides

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

5115 articles

Security Guides

How do you add rate limiting in NestJS with @nestjs/throttler?

Install @nestjs/throttler, bind ThrottlerGuard globally, tune per route limits and fix the trust proxy gap so every user is not counted as one IP.

Oct 19, 20263 min read
Security Guides

How should you name and tag AI agent identities?

A clear naming scheme and a short tag set make AI agent identities easy to find in logs, reviews and incidents. A practical convention with examples.

Oct 19, 20264 min read
Security Guides

Myth or fact: popular CI templates are safe without a review?

Popularity, a verified badge or an official source does not replace a review. Five common beliefs about public CI templates, checked against GitHub docs.

Oct 19, 20264 min read
Security Guides

Myth or fact: is a dependency override a permanent fix?

An override is a patch on top of your own dependency tree, not a repair of the source. Three myths about overrides and the facts teams should hold onto.

Oct 19, 20263 min read
Security Guides

Must an acquired team adopt the parent's dependency policy on day one?

Myth vs fact: acquired teams do not have to adopt every parent rule on day one. A small set of urgent controls first, the rest on a schedule you publish.

Oct 19, 20263 min read
Security Guides

Will a new security scanner break our monorepo build? Myth vs fact

A scanner breaks builds only if you let it. Myths and facts about speed, blocking, side effects and rollback when adding a scanner to a legacy monorepo.

Oct 19, 20264 min read
Security Guides

Myth or fact: if my npm account has 2FA, my CI publish token is safe?

Myth. A granular token with bypass 2FA can publish without a second factor, so account 2FA does not protect it. What npm documents and how to limit damage.

Oct 19, 20264 min read
Security Guides

Why should every alert silence have an end time and an owner?

A silence that never ends becomes a blind spot. Set an end time, an owner and a reason on every mute, and review the list weekly. A short policy to copy.

Oct 19, 20264 min read
Security Guides

How do you give each MQTT device access to just its own topics?

Use pattern ACLs that put the username or client ID into the topic, so one rule covers every device. Includes examples, wildcard traps and test steps.

Oct 19, 20265 min read
Security Guides

Which MQTT broker limits stop one client from exhausting memory?

Packet size, queued messages, connections and memory caps each protect an MQTT broker. See Mosquitto defaults that may surprise you and how to tune them.

Oct 19, 20264 min read
Security Guides

What must you do when you ship an app with MPL 2.0 code?

Shipping a compiled app that includes MPL 2.0 code means telling recipients where to get that source. Your own separate files stay under your license.

Oct 19, 20264 min read
Security Guides

What goes in a monthly security status report for retainer clients?

A one page monthly report for agency retainer clients: updates applied, open advisories, accepted risks, access changes, and next month's plan.

Oct 19, 20263 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.