Safeguard
Tag

Security Guides

Safeguard articles tagged "Security Guides" — guides, analysis, and best practices for software supply chain and application security.

4991 articles

Security Guides

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.

Oct 18, 20263 min read
Security Guides

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.

Oct 18, 20264 min read
Security Guides

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.

Oct 18, 20262 min read
Security Guides

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.

Oct 18, 20263 min read
Security Guides

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.

Oct 18, 20263 min read
Security Guides

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.

Oct 18, 20263 min read
Security Guides

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.

Oct 18, 20263 min read
Security Guides

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.

Oct 18, 20263 min read
Security Guides

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.

Oct 18, 20264 min read
Security Guides

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.

Oct 18, 20264 min read
Security Guides

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.

Oct 18, 20263 min read
Security Guides

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.

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.