News for hackers. Stuff that matters.
Re:Xterm.js by emilfihlman on Friday October 08, 2021 @08:12AM (#28798323)
Running in the browser is no more (or less) untrusted than running a dedicated terminal client.
Re:Xterm.js by tyingq on Friday October 08, 2021 @08:26AM (#28798419)
That a terminal in the browser can't make ssh connections without a separate http or websocket bridge complicates that. Depends on that bridge and who/how/where it's running.
Re:Xterm.js by rbanffy on Friday October 08, 2021 @08:52AM (#28798642)
When was the last case when a malicious website or script could capture content or keystrokes directed at another tab? Really curious, because it seems an obvious attack vector.
Re:Xterm.js by amalcon on Friday October 08, 2021 @10:58AM (#28800058)
2018 at the earliest:

https://en.wikipedia.org/wiki/Spectre_(security_vulnerabilit...

It's not a browser vulnerability per se, but it's still mitigated by having a separate address space.

Re:Xterm.js by colejohnson66 on Friday October 08, 2021 @09:09AM (#28798827)
At least in the last decade, I don’t think that’s even possible on the “big” browsers. There were vulnerabilities involving <iframe>s, but I don’t know enough about those.
Re:Xterm.js by intc on Friday October 08, 2021 @10:56AM (#28800034)
Of course it is. In most cases you do not have any sort of guarantees regarding the browser (which it self usually is more complex piece of software than all your operating system and it's accessories calculated together - difficult to audit - known to collect metrics etc etc). In addition one can sandbox their local terminal pretty effectively - With Tomoyo or some other MAC technology. It's not so bad idea to actually isolate your browser too (with Mandatory Access Control) - It usually has no business for a global view on your filesystem or local network resources.
Re:Xterm.js by noergl on Friday October 08, 2021 @09:00AM (#28798730)
I tend to disagree. The fact, that a browser engine and JS is involved raises the bar significantly during security audits. It brings additional third-party players into the chain you have to trust. Meanwhile I suggest to read https://xtermjs.org/docs/guides/security/.