Safeguard
Tag

web-security

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

153 articles

Vulnerabilities

A CSRF Example: Full Attack Walkthrough

A concrete csrf example — a bank transfer form with no anti-forgery token — showing exactly how a forged request rides in on a victim's session and what stops it.

Mar 8, 20265 min read
Vulnerabilities

XSS Scripting Attacks: A Refresher for Engineers

XSS scripting attacks still make the OWASP Top 10 more than two decades after they were first documented, mostly because the fix is context-dependent and easy to get almost-right.

Mar 7, 20265 min read
Vulnerabilities

What Is a CSRF Token, and How Does It Stop CSRF?

A CSRF token is a random, per-session value a server requires on state-changing requests so a malicious site can't forge one on a logged-in user's behalf.

Mar 4, 20265 min read
Vulnerabilities

SSRF Examples and How They're Actually Exploited

Real SSRF examples, from cloud metadata theft to internal port scanning, showing exactly how a server-side request forgery bug gets turned into a full compromise.

Mar 1, 20266 min read
Vulnerabilities

CSRF Attacks: How They Work and How Tokens Stop Them

A CSRF attack rides a logged-in user's browser to forge requests they never meant to send. Here is the mechanism and why anti-CSRF tokens defeat it.

Feb 27, 20266 min read
Vulnerabilities

SQL Injection Basics for Engineers Who Aren't Security Specialists

SQL injection is still one of the most common ways applications get breached, and the fix is usually a one-line change — this walks through the basics with a real example.

Feb 26, 20265 min read
Best Practices

Django Security Best Practices, 2024 Edition

From SECRET_KEY hygiene to middleware ordering, the Django security checklist worth actually following in 2024, grounded in real CVEs and production incidents.

Feb 21, 20266 min read
Application Security

WebSocket Security in Modern Applications

WebSockets enable real-time communication but introduce attack surfaces that traditional HTTP security controls miss entirely.

Feb 21, 20265 min read
Application Security

Prototype Pollution in JavaScript: Prevention Guide

Prototype pollution lets attackers modify the behavior of all JavaScript objects by injecting properties into Object.prototype. This guide covers exploitation techniques, real-world impact, and layered defenses.

Feb 20, 20266 min read
Vulnerabilities

XSS Script Examples, Annotated

Reading a real xss script example line by line makes cross-site scripting concrete in a way definitions rarely do — here are annotated examples across the three main XSS types.

Feb 20, 20265 min read
Vulnerabilities

XSS Attack Explained: How Cross-Site Scripting Works

An XSS attack lets an attacker run their JavaScript in your users' browsers. Here is how cross-site scripting works, the three types, and how to stop it.

Feb 17, 20267 min read
Code Security

XML External Entity (XXE) Prevention: Disabling the Features That Attack You

XXE attacks exploit XML parser features that most applications never need. Here is how to disable them across every major language and framework.

Feb 14, 20265 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.

web-security (Page 10) — Safeguard Blog