All challenges
Multiple ChoiceIntermediate 30s

eval() Danger

Choose the best answer for: eval() security
Options
  1. 1eval() is safe with user input because it only parses, never executes
  2. 2eval() sanitizes input and strips dangerous statements before running
  3. 3eval() is read-only and returns the string it was given unchanged
  4. 4eval() executes strings as code, a major injection vector

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle