Test rewritten software for invisible scars
When testing a rewritten version of mature software, look for 'scars' that are not visible from the outside, such as strict parsers, conservative defaults, or redundant checks. These are often the result of years of security research, fuzzing, and incident response. Try to find what is done differently between the original and the rewritten codebase, and ask if there is a security impact. Test the rewritten software with malformed inputs, encoding edge cases, and parser differentials to see if it behaves as expected. Check for vulnerabilities that were previously fixed in the original codebase, such as those listed in CVEs. Run tests that simulate production traffic and weird integrations to see if the rewritten software can handle them.
Follow #rewrites for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.