Using eval in nodejs to evaluate client-side input values. The original developer not only used eval when more sensible approaches existed, but turned off linting multiple times to be able to write it.
One of the few times I legit walked out of the room.
For those unaware this basically meant the original developer jumped through a few hoops to open up the server to server-side code injection, honestly couldn't of been much worse 😢
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Using
eval
in nodejs to evaluate client-side input values. The original developer not only usedeval
when more sensible approaches existed, but turned off linting multiple times to be able to write it.One of the few times I legit walked out of the room.
For those unaware this basically meant the original developer jumped through a few hoops to open up the server to server-side code injection, honestly couldn't of been much worse 😢