Safeguard
Topic

Developer Tools

In-depth guides and analysis on developer tools from the Safeguard engineering team.

2959 articles

Developer Tools

What is pytm and can you write a threat model as code?

pytm is an OWASP Python framework: describe a system in code and get a data flow diagram, sequence diagram and report. Setup needs and where it fits.

Oct 18, 20263 min read
Developer Tools

Theme app extension or edited theme code: which is safer to maintain?

Apps that paste code into your theme leave leftovers and break on updates. How app blocks differ and how to clean up what an old app left behind.

Oct 18, 20263 min read
Developer Tools

TestFlight limits and what beta distribution means for security

TestFlight allows up to 100 internal and 10,000 external testers, with builds lasting up to 90 days. What that means for how you handle beta access.

Oct 18, 20263 min read
Developer Tools

Test data for data pipelines without copying production PII

Teams copy production tables to test pipelines and create a second, weaker data store. Safer options: synthetic data, subsets and masked copies.

Oct 18, 20263 min read
Developer Tools

Test both states of a feature flag before release, including the off path

A flagged artifact can run with the flag on or off in production, so CI must test both. How to cover them without testing every combination of flags.

Oct 18, 20264 min read
Developer Tools

How do you test an AI security assistant on your languages and frameworks?

Build a coverage matrix of your languages, frameworks and weakness classes, test two cases per cell, and treat untested cells as unsupported until proven.

Oct 18, 20264 min read
Developer Tools

How do you test a Python release on TestPyPI before publishing?

Upload to TestPyPI with twine, install with an index URL, add an extra index for dependencies, and avoid its traps. A short rehearsal for every release.

Oct 18, 20264 min read
Developer Tools

What does a Terraform version constraint like ~> 1.2 actually allow?

The ~> operator lets only the right-most version part rise. See what ~> 1.0.4 and ~> 1.1 allow, and how to choose constraints for providers and modules.

Oct 18, 20263 min read
Developer Tools

Terraform validate, plan or a security scan: what does each catch?

Validate checks syntax and consistency, plan shows proposed changes, and a security scan checks risky settings. Use all three, in that order.

Oct 18, 20263 min read
Developer Tools

When is it safe to use terraform apply with the target option?

The target option plans only some resources. HashiCorp says to use it in exceptional cases only. Here is the security risk and what to do instead.

Oct 18, 20263 min read
Developer Tools

What is Terraform state locking and when is force-unlock safe?

State locking stops two runs from writing state at once. Learn what force-unlock does, why it needs a lock ID, and the one case where using it is safe.

Oct 18, 20263 min read
Developer Tools

How do you back up and recover Terraform state safely?

Terraform state maps your code to real resources and often holds sensitive values. How to version, encrypt, lock and restore it without leaking secrets.

Oct 18, 20263 min read

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.