Security Guides
In-depth guides and analysis on security guides from the Safeguard engineering team.
5115 articles
Should a single page app keep session tokens in localStorage?
OWASP advises against session identifiers in localStorage because any XSS can read them. See what to store there, what not to, and safer options to weigh.
Should a shared Terraform module contain provider blocks?
No. A reusable Terraform module should not define provider blocks. Why it breaks for_each and count, and how to pass providers in from the caller.
Should a security fix commit say it fixes a vulnerability?
Not in public before users can upgrade. Develop the fix privately, ship it with an advisory, then explain the change in the commit once it is public.
Should a security bug be a confidential issue in your bug tracker?
Yes. Log a security defect as a confidential ticket until a fix ships. Here is who can see one in GitLab, what to put inside, and mistakes to avoid.
Should a scanner outage block pull requests: fail open or closed?
When the scanner is down, a required check can halt all merges or let unscanned code through. Choose by risk: fail closed for release, open with a trail for dev.
Should a revert pull request go through the security gate?
Yes, a revert should still pass the gate, but with a policy that compares against what is already in production so a safe rollback is not blocked.
Should a reachable vulnerability block a new dependency at intake?
Reachability helps rank risk at intake, but it should not be the only rule. Here is when to block, when to allow with a plan, and what to record.
Should a legacy system be allowed to reach the internet?
Usually no. Blocking outbound traffic from an unpatchable system limits what an attacker can do after a break in. How to find real needs and set rules.
Should a known exploited listing change a vendor's response priority?
A known exploited listing should shorten a vendor's notify, fix and publish clocks. Learn how to add it to triage without over relying on it.
Should a health app send crash and error data to a third party?
Error trackers capture stack frames, variables and requests. Decide what leaves your systems, scrub it before sending, and review the vendor first.
Should a free security scanner go through the same school approval?
Yes, per Department of Education guidance on free online services. Here is a light review path for a free scanner or plugin that keeps staff moving.
Should a bot be allowed to close security tickets?
A bot can close a ticket when a rescan proves the finding is gone. It should not close on a merge, a timer or an accepted risk. A decision guide.
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.