Safeguard
Topic

Security Guides

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

5115 articles

Security Guides

Should the tenant ID come from the JWT, a header or the URL?

A client-supplied tenant ID is only a selector. Verify the caller belongs to that tenant on every request, whether it arrives in a token, header or path.

Oct 19, 20264 min read
Security Guides

Should Swagger UI be exposed in production?

Is a public Swagger UI a vulnerability? Usually it is an exposure, not a flaw. Here is when to keep it, when to lock it down, and how to decide.

Oct 19, 20264 min read
Security Guides

Should a suppression's expiry depend on the reason?

Yes. Set suppression expiry by reason: short for deferrals, tied to a code change for not reachable, and data checks for withdrawn advisories.

Oct 19, 20263 min read
Security Guides

Should suppressed and accepted vulnerabilities count as open?

Suppressed, accepted and deferred findings are still present. Decide how dashboards show them, who approves them and when they expire, with a simple table.

Oct 19, 20263 min read
Security Guides

Should GitHub stars and download counts decide a dependency choice?

Popularity helps with identity checks and community support, but it is not a security signal. How to use stars and downloads without trusting them.

Oct 19, 20263 min read
Security Guides

Should staging and production share any keys in a fintech app?

No. Staging and production should use different secrets, protected by different keys, so a leak in a test environment never unlocks live payment data.

Oct 19, 20264 min read
Security Guides

Should servers install security updates automatically?

Ubuntu applies most security updates daily by default and Debian offers unattended-upgrades. Decide which servers can auto-update and which need a window.

Oct 19, 20264 min read
Security Guides

Should security standards use MUST and SHOULD? RFC 2119 explained

RFC 2119 defines MUST, SHOULD and MAY so rules read the same to everyone. Here is how to use the keywords in security standards without overusing them.

Oct 19, 20263 min read
Security Guides

Should a security dependency fix wait for the next release train?

A security dependency fix can wait for the release train when exposure is low and the next train is soon. How to decide, plus a fast lane for the rest.

Oct 19, 20264 min read
Security Guides

Should security fixes count toward team velocity?

Yes, count security fixes in velocity if you size them like any other story, but report them separately so planning stays honest and the work is visible.

Oct 19, 20264 min read
Security Guides

Should secure coding training be mandatory or optional?

Make a small core of secure coding training mandatory and the deeper material opt in. Why each choice works, what to require and how to avoid resentment.

Oct 19, 20263 min read
Security Guides

Should sample code ever disable TLS certificate verification?

Samples that switch off certificate checks teach readers to ship insecure clients. Here is the safer way to handle a self-signed test certificate.

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