Safeguard
Topic

Security Guides

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

5115 articles

Security Guides

Does reachability analysis work across internal packages in a monorepo?

A vulnerable function is reached through your own packages too. Learn why call paths must cross internal package boundaries and what to ask a tool.

Oct 18, 20263 min read
Security Guides

RBI VA and PT schedule: every 6 and 12 months for critical systems

RBI sets vulnerability assessment every six months and penetration testing every 12 months for critical systems. What else section 26 asks of teams.

Oct 18, 20263 min read
Security Guides

Which RBAC roles should an enterprise AppSec tool support?

A practical role model for AppSec tools: viewer, triager, policy admin, auditor and billing, plus the scoping and test questions to ask during a pilot.

Oct 18, 20264 min read
Security Guides

Should you score threats with numbers or High, Medium, Low?

OWASP prefers qualitative High, Medium, Low ratings over numeric threat scores. How to rate by ease of exploitation and impact, with a worked table.

Oct 18, 20264 min read
Security Guides

When the rate limiter's datastore dies: fail open or closed?

A rate limiter backed by a shared store must decide what to do when the store is gone. A route by route guide to fail open, fail closed or local fallback.

Oct 18, 20263 min read
Security Guides

What should you do if your Rails master.key leaks?

If a Rails master.key leaks, treat every credential in the file as exposed. Generate a new key, re-encrypt, rotate each secret, and expect sessions to end.

Oct 18, 20263 min read
Security Guides

Do you need config.hosts in Rails production?

Yes. Rails only checks the Host header in development by default. Set config.hosts in production to block DNS rebinding and host header attacks.

Oct 18, 20263 min read
Security Guides

Rails credentials or environment variables: where do secrets go?

Rails encrypted credentials can live in Git if the master key stays safe. Environment variables suit per-host values. Compare both and pick for your team.

Oct 18, 20263 min read
Security Guides

Questions to ask when a tool claims it finds zero days

Zero-day discovery is easy to claim and hard to verify. Ask what counts as one, how findings are confirmed, how they are disclosed and what you receive.

Oct 18, 20263 min read
Security Guides

Python .pth files run code at startup: how to check yours

A malicious litellm release used a .pth file to run on every Python start. How .pth files work, what a safe one looks like and a quick audit.

Oct 18, 20263 min read
Security Guides

Do Python extras and environment markers change what a scan reports?

Extras add optional packages and markers switch dependencies on or off by platform. Learn why a scan of one machine can differ from another.

Oct 18, 20263 min read
Security Guides

Does your scanner match PyPI names like Foo_Bar and foo-bar?

Python treats Foo_Bar, foo.bar and foo-bar as one package. A scanner that compares raw strings can miss a vulnerable match. Here is how to test yours.

Oct 18, 20264 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.