Security Guides
In-depth guides and analysis on security guides from the Safeguard engineering team.
5115 articles
Django HTTPS settings in order: redirect, cookies, HSTS
Which Django settings turn on HTTPS properly, in what order, and the proxy mistake that can quietly break CSRF protection. Short and practical.
Django check deploy: what to fix before you go live
Run the Django deploy check against production settings, then fix SECRET_KEY, DEBUG, ALLOWED_HOSTS and secure cookies first. Here is the order to follow.
Django ALLOWED_HOSTS and the Host header, explained
Why Django requires ALLOWED_HOSTS even when your web server checks hosts, and the two ways your own code can accidentally bypass Host header validation.
Dismiss stale approvals: what the setting protects you from
Dismiss stale approvals drops a PR approval when the code changes afterward, so it never covers unreviewed commits. How it works on GitHub, with limits.
90 days, 30 days, 45 days: disclosure deadlines explained
How coordinated disclosure deadlines work in practice, using Google Project Zero's 90 plus 30 policy and CISA's 45 day rule as concrete examples.
Should you disclose AI-written code in commits and pull requests?
A practical policy for labeling AI-assisted changes: what to record, why reviewers benefit, and how to keep accountability with the human author.
What goes in a disaster runbook: the fields every one needs
A runbook is read under stress by someone who did not write it. These sections make it usable: trigger, owner, steps, checks, rollback and contacts.
How to stop Kubernetes from mounting a service account token in a pod
Most pods never call the Kubernetes API. Set automountServiceAccountToken to false on the pod or service account to drop a credential attackers steal.
How to disable anonymous blob access on Azure Storage
Set AllowBlobPublicAccess to false to stop anonymous reads on an Azure storage account. Check who uses it first, then enforce it with Azure Policy.
Did we do a good enough job? A threat model review checklist
The fourth threat modeling question is a review. Check that the diagram is accurate, threats are covered, each has a response and mitigations are testable.
DICOM gives you security mechanisms, not a security policy
DICOM defines optional tools for authentication, tamper detection and encryption in transit, but not access policy. Here is what imaging teams must add.
Device ownership transfer: a checklist for connected products
Who controls a connected car, robot or drone after it is sold or an account changes? A design checklist drawn from the Kia ownership takeover case.
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.