Security Guides
In-depth guides and analysis on security guides from the Safeguard engineering team.
5115 articles
How do you rank threats after a threat modeling session?
Rank threats by likelihood times impact. OWASP scores each factor 0 to 9, averages them, and maps the result to low, medium, high or critical severity.
Which disaster scenarios should you rehearse first? A ranking method
You cannot drill everything. Score scenarios on likelihood, impact and how well you could recover today, then rehearse the highest gaps first.
Rails SQL injection: where() placeholders and safe patterns
find and find_by escape input, but where with a string, execute and find_by_sql need placeholders. Safe and unsafe Active Record patterns side by side.
Rails strong parameters: permit, expect and why permit! is risky
How strong parameters stop mass assignment in Rails, what expect adds over permit, and why permit! allows future attributes you have not written yet.
Rails send_file, uploads and redirect_to with user input
Three Rails mistakes that turn a request parameter into a file read or an open redirect, and the fixes the Rails security guide recommends for each one.
Rails secret_key_base: what breaks when you rotate it
Rotating secret_key_base invalidates sessions, signed and encrypted cookies and Active Storage files. When to do it and how to keep secrets in credentials.
Rails sessions: reset_session after login and what to store
Call reset_session after a successful Rails login, keep only an ID in the cookie session, expire sessions on the server and force SSL. The why behind each.
A RAG red team test plan you can run this week
A concrete checklist of tests for a RAG application: poisoning, hidden text, permission leaks, injected tool calls, secrets in the index and log coverage.
RabbitMQ permissions explained: configure, write and read regexes
How RabbitMQ vhosts and the configure, write, read permission triple work, with patterns for a producer, a consumer and a locked out user.
RabbitMQ guest user: why remote login fails and what to do
RabbitMQ's default guest user only connects from localhost. Learn why that is, why you should not lift the limit, and how to replace it in production.
RabbitMQ auth mechanisms: which to keep and which to turn off
RabbitMQ enables PLAIN, AMQPLAIN and ANONYMOUS by default. See what each does, why ANONYMOUS should go in production, and when x.509 fits better.
Questions to ask OT vendors and integrators before you buy or connect
A buyer's question list for OT products and integrators from CISA advisories: default passwords, exposed interfaces, remote access, patches, support.
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.