Security Guides
Safeguard articles tagged "Security Guides" — guides, analysis, and best practices for software supply chain and application security.
4991 articles
Why a new DNS record is still not found: negative caching
Resolvers cache 'does not exist' answers too. Learn how the SOA value sets that delay, why a new record can stay invisible, and how to avoid it.
DNS delegation explained: NS records, glue and the two server rule
How a parent zone hands authority to a child with NS records, why glue records are needed, and why every zone should live on two name servers.
DMARC subdomain policy: sp and np tags explained
How DMARC treats subdomains: the sp tag for existing ones, the new np tag for non-existent ones, and the inheritance rules that decide which policy applies.
DMARC rollout plan: from p=none to quarantine to reject
A staged DMARC rollout: start at p=none with reports, find every sender, move to quarantine, then reject. With timing guidance from RFC 9989.
DMARC is now RFC 9989: what changed from RFC 7489
RFC 9989 (May 2026) makes DMARC a Standards Track document and obsoletes RFC 7489. See what changed: DNS tree walk, t and np tags, and pct removed.
DMARC pct tag removed: what the new t tag does instead
RFC 9989 drops the DMARC pct tag for gradual enforcement and adds t=y for testing. Learn why pct was removed and how to phase in a stricter policy.
DMARC none, quarantine or reject: a safe rollout plan
DMARC policy options explained, with a staged path from none to reject so you stop spoofing of your domain without blocking your own legitimate mail.
DMARC alignment: relaxed versus strict, with examples
DMARC passes only when SPF or DKIM passes and the domain aligns with the From address. See how relaxed and strict alignment differ, with worked examples.
DKIM selectors explained, and how to rotate a signing key
A DKIM selector names which public key verifies a signature. Learn how selectors work, why they make rotation safe, and the order of steps to follow.
DKIM key size: is 1024 bit still acceptable, or use 2048?
RFC 8301 requires DKIM signers to use RSA keys of at least 1024 bits and says they should use 2048. Here is what that means and how to publish a long key.
Django user uploads: a security checklist
How to accept file uploads in Django without serving a malicious file back: size limits, extensions, a separate domain and why image checks are not enough.
Django raw SQL: safe parameters versus string formatting
Django QuerySets are parameterized, but raw(), cursor.execute(), extra() and RawSQL are not safe by default. Here is the one rule that keeps them safe.
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.