Actually, just rewrite all the packages on npm in rust and that will automatically get rid of any security problem.
Reply on news.ycombinator.com