The [`Function()` evaling][1] could be replaced with [`vm.runInNewContext`][2] for better sandboxing. [1]: https://github.com/yt-dlp/ejs/blob/0.3.1/src/yt/solver/solvers.ts#L108 [2]: https://nodejs.org/docs/latest/api/vm.html#vmruninnewcontextcode-contextobject-options