Re:Small models also found the vulnerabilities that Mythos f...
by ummonk on Sunday April 12, 2026 @03:05AM
(#47736866)
What's a situation where one needs to use `eval` in benign way in JS? If something is precomputable (e.g. `eval("1 + 1")` can just be replaced by 2), then it should be precomputed. If it's not precomputable then it's dependent on input and thus hardly benign -- you'll need to carefully verify that the inputs are properly sanitized.
[ Parent
| on HN ]
There are no comments on this comment yet.