Security Guides
In-depth guides and analysis on security guides from the Safeguard engineering team.
5115 articles
report-to or report-uri: how do you collect CSP violation reports?
Use report-to with a Reporting-Endpoints header to collect CSP violations, and keep report-uri as a fallback. See the setup, report format and rollout.
Why does my CSP block inline scripts and eval, and what should you do?
A CSP with script-src or default-src blocks inline scripts, event handlers and eval by default. See what unsafe-inline and unsafe-eval do and safer fixes.
What does strict-dynamic do in a Content Security Policy?
strict-dynamic passes trust from a nonced or hashed script to the scripts it loads. See when it helps, what it weakens, and a safe starting policy.
Which small CSP directives matter: base-uri, object-src, form-action?
Three short CSP directives close gaps that script-src leaves open: base-uri, object-src and form-action. See what each blocks and which skip default-src.
What should you check in a code review that touches cryptography?
Ten questions reviewers can ask when a pull request adds encryption, hashing or key handling. Based on OWASP and CWE guidance, with a table of red flags.
What is Cross-Origin-Resource-Policy, and how is it not CORS?
CORP stops other origins reading your no-cors resources, while CORS opens up reads. Learn the three CORP values, what it blocks, and one Chrome PDF caveat.
A critical CVE lands in launch week: what do you decide?
When a critical CVE hits in launch week, decide in this order: are we affected, is it exploited, is a fix available, and can we ship with a mitigation.
What if a critical CVE lands in the middle of a buyer's review?
A major vulnerability is announced while a deal is in security review. How a startup should check exposure, tell the buyer first, and turn it into trust.
How often should a small team rotate API keys and credentials?
Rotate by risk: powerful, long lived credentials most often, plus on every departure or leak. A simple rotation calendar for small teams to keep.
How do you count vulnerabilities in containers that live for hours?
Count findings per image and per service, not per running container. How to avoid double counting and measure exposure time for short lived workloads.
Copied a CI workflow from a blog or forum? How to review it first
A workflow pasted from a blog post or forum answer runs with your token and secrets. Six review steps to take before it ever runs on your repository.
How do you plan a coordinated release day for a security fix?
A coordinated security release needs a private fix, a ready release, and an advisory published at the same time. Here is a step plan for the day.
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.