Security Guides
Safeguard articles tagged "Security Guides" — guides, analysis, and best practices for software supply chain and application security.
4991 articles
Signing key rollover with key IDs and an overlap window
How to rotate a signing key without breaking clients: publish the new public key first, tag signatures with a key ID, then retire the old one.
Signed cookies, encrypted cookies or server sessions: how to choose
Signed values are tamper-evident but readable. Encrypted ones hide the contents. Server sessions store state elsewhere. Choose by what must stay private.
Should you study the OWASP Top 10 2025 in order? A study plan
The OWASP Top 10 2025 lists ten risk categories. Here is a practical order to study them if you are new to AppSec, with one exercise for each group.
Should you still use the OAuth implicit flow in 2026?
No for new apps. The OAuth security BCP says clients should not use the implicit grant. Here is why it fell out of favour and what to use instead.
Should you pin Let's Encrypt intermediate certificates in your app?
Pinning a Let's Encrypt intermediate is fragile: the authority runs several, and backups can start issuing without warning. What to pin or trust instead.
Should you log HTTP request bodies? When it helps and when it hurts
Default to no. Log metadata, not request bodies, because bodies carry passwords, tokens and personal data. Safe patterns for the few cases that need more.
Should you disable gRPC reflection in production?
gRPC reflection lets any client list your services and messages. Learn what it exposes, when to switch it off, and how to check a live server in minutes.
Should you disable FastAPI /docs and /openapi.json in production?
FastAPI serves /docs, /redoc and /openapi.json by default. When to turn them off, how with docs_url=None and openapi_url=None, and what that does not fix.
Should you hold a package with apt-mark, and what are the risks?
A hold stops a package from being upgraded or removed, which also blocks security fixes. Use it briefly, record why, and know the safer alternatives.
Should you accept a vulnerability when a fix PR already exists?
If a policy-gated fix pull request exists, accepting the risk needs a stronger case than before. Questions that decide between merging and an exception.
Should a vendor's support staff see your production PHI?
Vendor support often needs data access to fix issues, but standing access is a risk. Compare four access models and what to write into the contract.
Should security fixes ship separately from feature changes?
Usually yes. Small separate security releases are faster to approve, easier to roll back and simpler to prove in an audit than bundled fixes.
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.