concept weakness in category security

appears as: The weakness, weaknesses, weakness, weaknesses
Secure by Design

This is an excerpt from Manning's book Secure by Design.

The weakness in this approach is that, for a number of reasons, it struggles to create software that’s secure enough to withstand the harsh reality of production environments. If it had been successful, software security vulnerabilities wouldn’t be as common as they are today, and we wouldn’t see the same vulnerabilities responsible for massive security breaches over and over again. Let’s take a closer look at some of the shortcomings of this approach to better understand why this approach struggles and why we think a different approach can be more successful.

It’s also important to verify that harmful input can’t break the validation mechanism. For example, the design of EmailAddress relies heavily on how regular expressions are interpreted. This is fine, but what if there’s a weakness in the regexp engine that could make it crash when parsing a certain input, or if there’s input that takes an extremely long time to evaluate? Flushing out these types of problems is the objective of the last two test types: invalid input testing and extreme input testing. Let’s see how to apply invalid input testing on the EmailAddress object.