Re:Axios Compromised on NPM – Malicious Versions Drop Remote...
by captn3m0 on Tuesday March 31, 2026 @02:21AM
(#47583427)
This only works for post-install script attacks. When the package is compromised, just running require somewhere in your code will be enough, and that runs with node/java/python and no bwrap.
[ Parent
| on HN ]
Re:Axios Compromised on NPM – Malicious Versions Drop Remote...
by himata4113 on Tuesday March 31, 2026 @02:25AM
(#47583456)
node is also sandboxed within bwrap I have sandbox -p node if I have to give node access to other folders, I also have sandbox -m to define custom mountpoints if necessary and UNSAFE=1 as a last resort which just runs unsandboxed.