Safeguard
Tag

input-validation

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

62 articles

Application Security

A practical REST API hardening checklist

OWASP's 2023 API Security Top 10 still ranks broken object-level authorization as the #1 risk — here's a concrete checklist for authn, rate limiting, and input validation.

Jul 8, 20266 min read
Application Security

Secure URL Encoding and Decoding in Java

Java's URLEncoder turns spaces into + instead of %20 — a form-encoding quirk that, mixed with double-decoding, still causes path-traversal bugs like CVE-2025-41242 in 2025.

Jul 8, 20266 min read
Application Security

Robust input validation in Spring Boot: Bean Validation and its bypasses

Bean Validation (JSR-380) looks like a solved problem in Spring Boot, but nested DTOs, list elements, and unannotated service methods routinely skip validation silently.

Jul 8, 20266 min read
Guides

Secure Coding for Beginners: Writing Code That Resists Attack

Secure coding is not a separate discipline you bolt on later. It is a set of small habits you weave into the way you already write software. Here is a friendly introduction with a first exercise to try today.

Jul 5, 20266 min read
AI Security

Prompt Injection Prevention: A Defense-in-Depth Guide

Prompt injection is the top risk on the OWASP list for LLM applications for a reason: there is no single patch. Preventing it means layering controls around a model that cannot reliably tell instructions from data.

Jul 3, 20266 min read
Open Source

Zod on npm: A Security Review and Safe Usage Guide

Zod is a well-maintained TypeScript validation library that is itself a security asset, if you put it at your trust boundaries. Here is a review and how to use it right.

Jul 2, 20266 min read
Security Guides

C# Secure Coding Guide: Patterns That Prevent Real Bugs

A hands-on C# secure coding guide covering input validation, safe APIs, path traversal, injection, and the language-level patterns that keep vulnerabilities out of your code.

Jul 1, 20266 min read
AppSec

XSS Payloads on GitHub: What Those Repos Contain and How to Defend

Searching for XSS payloads on GitHub turns up huge lists of test strings. Here is what they are actually for, how defenders use them responsibly, and how to stop cross-site scripting in your own code.

Jun 28, 20267 min read
AppSec

An XSS Example That Explains How Cross-Site Scripting Works

A clear XSS example shows how unescaped user input becomes executable script in a victim's browser, and why output encoding and CSP are the fixes that hold.

Jun 28, 20267 min read
AppSec

SQL Injection Strategies: A Free Guide (No PDF Download Needed)

Looking for a SQL injection strategies PDF free download? Here is the defensive material that actually matters, covering how the attack works and how to shut it down.

Jun 16, 20266 min read
AppSec

SQL Injection Test: How to Safely Check Your App for SQLi

A SQL injection test proves whether user input can reach your database as code. Here is how to test your own applications responsibly, read the results, and fix what you find.

Jun 7, 20267 min read
Security

Regex DDoS (ReDoS): How Catastrophic Backtracking Takes Down a Service

A regex DDoS, or ReDoS, weaponizes a slow regular expression so a short input pins a CPU core for seconds or minutes. Here is why it happens and how to detect and fix it.

Jun 3, 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.

input-validation (Page 2) — Safeguard Blog