Security Guides
In-depth guides and analysis on security guides from the Safeguard engineering team.
5115 articles
Does Fastify block __proto__ in JSON request bodies by default?
Fastify rejects JSON bodies with __proto__ or constructor keys by default via secure-json-parse. See the options, tradeoffs and what it misses.
What is Fastify's default bodyLimit and what should you set it to?
Fastify's bodyLimit defaults to 1 MiB, ten times Express's default. See what happens past the limit and how to set it per route instead of globally.
What are Fastify's default Ajv settings and what do they change in input?
Fastify validates with Ajv using coerceTypes array, useDefaults and removeAdditional true. Learn how each alters request data and when to override it.
Where should FastAPI secrets live: env vars, .env or a secrets dir?
Read secrets from environment variables or a mounted secrets directory with pydantic settings. Keep .env files out of git and images. Options compared.
Reachability false positive or false negative: which costs more?
A wrong reachable label wastes time. A wrong not reachable label can leave a real hole. Learn how to weigh both errors and set your process accordingly.
Can a failed scan make vulnerabilities look fixed?
Yes. If findings close when they are absent from the next scan, a failed or partial scan can close them. Here is how to detect it and guard against it.
Which extension policy wins in Chrome, Edge and Firefox?
Chrome and Edge let ExtensionSettings override older install lists, and force-install beats the blocklist. Firefox uses its own modes. A short cheat sheet.
When extension rules conflict, which rule wins?
Edge force lists beat blocklists, VS Code lets the more specific selector win, and Firefox ignores the wildcard for IDs with entries. Know before you ship.
Extended support after end of support: what should you ask first?
Extended support buys time, not safety. Ask which flaws qualify, which components are covered, how long it runs and what you do when it ends.
What does Express's trust proxy setting do, and how do you set it safely?
Express trust proxy decides whether req.ip and req.protocol believe X-Forwarded headers. A wrong value lets clients fake their IP and dodge rate limits.
Does Express show stack traces to users, and what does NODE_ENV change?
Express's default error handler sends the stack trace to the client unless NODE_ENV is production. How to set it, and why a custom handler is still better.
What is Express's default JSON body size limit, and how to change it?
Express body parsing defaults to a 100kb limit for JSON and form bodies. Learn what a 413 means, when to raise the limit, and how to do it per route.
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.