JavaScript type confusion: Bypassed input validation (and how to remediate)
4y agoen
Source
SnykJavaScript type confusion: Bypassed input validation (and how to remediate)snyk.ioLearn about common type confusions scenarios where input sanitisation and validation can be bypassed by providing an unexpected input type. We’ll also provide remediation examples or suggestions for open source maintainers who are looking to patch these kinds of input validation bypasses.
You might also wanna read
Input Validation on Client-Side or Server-Side?
Packetlabs·3y ago
PBKDF2 JS Lib: Improper Input Validation Vulnerability
nvd.nist.gov·1y ago
Unconventional Type Casting Techniques in TypeScript
This article explores unconventional methods for type casting in TypeScript, moving beyond the standard 'as' operator. It presents various c
Exploring Chrome's SSL Bypass Code and Its Evolution
The article discusses a bypass code in Chrome that allows users to skip SSL errors by typing specific phrases. The history of the code, incl
Understanding JavaScript Promise Cancellation: Why It Doesn't Exist and Workaround Alternatives
This article explores the technical challenge of canceling JavaScript promises, explaining why there's no built-in cancellation mechanism de
Applying the Parse-Don't-Validate Principle in TypeScript: Making Illegal States Unrepresentable
This article explores Alexis King's "Parse, don't validate" principle and applies it to TypeScript development. The author argues that most

Comments
Sign in to join the conversation.
No comments yet. Be the first.