DEV Community

Discussion on: What Are Some of the Worst Security Practices You’ve Ever Seen in Software Development?

Collapse
 
bradtaniguchi profile image
Brad

Direct usage of eval used on end user input to perform basic math, from within nodejs.

Not only did this mean allowing users to perform "remote code execution", but to even get eval required bypassing codebase checks.

The worst part was this was being performed by a "senior" developer and part of an app that would rely heavily on end user input. They got demoted from the project soon after and we removed the offending code.