Security Guides
Safeguard articles tagged "Security Guides" — guides, analysis, and best practices for software supply chain and application security.
4991 articles
SSH certificates vs authorized_keys: which fits a team
Compare per-server authorized_keys files with OpenSSH user certificates signed by a CA: expiry, principals, revocation and when each approach makes sense.
How do you show root cause analysis under SSDF RV.3?
How to evidence SSDF RV.3 root cause analysis: record causes, spot patterns, hunt similar flaws, and show a change to your development process.
What does SSDF PW.9 mean by secure settings by default?
What SSDF practice PW.9 asks for: a secure baseline for every security setting, secure defaults shipped, documented settings, and the evidence to keep.
How do you secure development environments for SSDF PO.5?
What SSDF practice PO.5 asks for when securing build, test and dev environments and developer endpoints, with the evidence to keep for each task.
Is SQLAlchemy text() safe? Bound parameters versus f-strings
text() is safe when values go in as bound parameters with :name placeholders. Building the SQL string with f-strings or format brings SQL injection back.
Which password encoder does Spring Security use by default?
DelegatingPasswordEncoder, which prefixes each hash with an id so old and new formats can coexist. What the prefix means and how to upgrade hashes.
Is CSRF protection on by default in Spring Security?
Yes. Spring Security checks CSRF tokens on unsafe methods such as POST by default. Here is what that covers, where tokens live, and what to confirm.
Does rule order matter in Spring Security authorizeHttpRequests?
Yes. Spring Security applies only the first matching rule, in the order you list them. How to order rules, end with a catch all and test for gaps.
Does Spring Boot enable @PreAuthorize automatically?
No. Spring Boot Starter Security does not activate method level authorization. Add the method security annotation or your PreAuthorize rules do nothing.
What is a good Spring Boot dependency hygiene checklist?
A practical Spring Boot dependency hygiene checklist: stay on a supported line, use the BOM, override carefully, inventory the JAR, gate vulnerable builds.
Should the Actuator health endpoint show details?
The health endpoint hides details by default. When to use never, when-authorized or always, and how roles decide who sees component status.
Does Spring Boot Actuator hide secrets in the env endpoint?
By default Actuator replaces values from env, configprops and quartz with asterisks. The show-values setting can change that, so check who can see them.
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.