Re:Xterm.js
by lhnz on Friday October 08, 2021 @08:36AM
(#28798489)
Are terminals better sandboxed when run outside of a browser?
[ Parent
| on HN ]
Usually yes. They are running in a completely different process than the browser.
Don't be ridiculous. The only and obvious answer to the question is "no" -- the terminal itself and all commands inside it run unimpeded.
A malicious website would have a hard time capturing (or injecting) info an OS terminal running on an entirely different process than it would on a browser with imperfect context separation.
You clearly misunderstood the issue.