Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On the contrary, `eval` is used so little in real code that it's easy to detect. A tiny, obfuscated VM would be much more difficult.


‘eval’ is not trivial to detect when it’s

window[rot13("riny")]("console.log('lol')");

or one of the many other ways to obfuscate eval




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: