Developer Tools
Safeguard articles tagged "Developer Tools" — guides, analysis, and best practices for software supply chain and application security.
2876 articles
What triggers a CORS preflight request, and how to cache it
A preflight is an OPTIONS check the browser sends before some cross-origin requests. Learn what triggers one, what the server must answer and how caching works.
CORS with cookies: why the wildcard origin stops working
When a cross-origin request includes cookies, Access-Control-Allow-Origin cannot be a wildcard. Here are the exact rules and how to set them safely.
Correlation ID vs trace ID: what is the difference?
A correlation ID groups log lines for one request; a trace ID adds parent and child links. When each is enough, and how to log both in one field.
Cookie attributes decision guide: __Host-, Secure and SameSite
Which cookie attributes to set for a session cookie: Secure, HttpOnly, SameSite and the __Host- prefix, plus what each does not protect against.
Continuous batching and PagedAttention explained for team servers
Why serving several users from one GPU needs batching, and how PagedAttention reduces KV cache waste. What the vLLM paper claims and what to test yourself.
Content Security Policy basics: a safe way to roll one out
A Content Security Policy limits which scripts a page can run and blunts XSS. How to start in report-only mode and move to a nonce-based strict policy.
Content scripts and isolated worlds: how extensions touch web pages
Content scripts run inside web pages but in an isolated world. Learn what they can see, what they cannot, and why it matters when you review an extension.
Contract tests as a guard against dropped security checks
How consumer driven contract tests can catch a service that quietly stops requiring authentication or changes an error shape, without end to end tests.
Force valid JSON from a local model with llama.cpp grammars
llama.cpp grammars limit which tokens a model may produce, so output always matches a format. How GBNF and JSON schema constraints work, and their limits.
Connect VS Code and GitHub Copilot to the Safeguard MCP server
VS Code connects to remote MCP servers natively. Add a servers entry with type http and the Safeguard URL, then sign in once in the browser.
Connect the repository or run the CLI in the pipeline?
Safeguard offers two routes into CI: connect the repository so the platform scans it, or run the CLI in the job. When each fits, and when to use both.
Connect Gemini CLI to Safeguard MCP: use httpUrl, not url
Gemini CLI needs the httpUrl field for Streamable HTTP servers like Safeguard's. One command adds it, and mcp auth starts the sign in by hand.
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.