News for hackers. Stuff that matters.
Re:Email doesn't suck – it's email clients that need improving by egberts1 on Wednesday August 24, 2022 @12:13PM (#32581467)
JavaScript, embedded, in email is, pejoratively, a bad idea by putting too much power into a transmitted email.

Too many security holes, discovered and undiscovered with JavaScript, not to mention JMTP.

Better yet,

Hashing the local part of the email address and retrofitting mail clients to do the mapping and rejection is the best way to delete unwanted and unsolicited emails.

Couple that with new decentralized lookup of sender’s PKI (as well as DKIM).

That should add years/decades to SMTP viability and usability.

Re:Email doesn't suck – it's email clients that need improving by trevoristall on Wednesday August 24, 2022 @03:56PM (#32584908)
I was under the impression JMAP was just a sync protocol and had nothing to do with js in email. Is that incorrect?
Re:Email doesn't suck – it's email clients that need improving by Flimm on Wednesday August 24, 2022 @05:06PM (#32585755)
JMAP is not JavaScript embedded in email. Are you thinking of something else?
Re:Email doesn't suck – it's email clients that need improving by egberts1 on Wednesday August 24, 2022 @05:16PM (#32585883)
But it does nothing to prevent JS in its payload.
Re:Email doesn't suck – it's email clients that need improving by Beltalowda on Wednesday August 24, 2022 @07:01PM (#32587007)
I can also put JavaScript in a DNS TXT record; the protocol does nothing to stop that!

There is no "JavaScript" in JMAP in the sense that it's supported by the protocol, and the specification explicitly warns against email clients interpreting JavaScript.

Re:Email doesn't suck – it's email clients that need improving by egberts1 on Friday August 26, 2022 @08:25AM (#32606465)
Now you are getting the idea of how to design a new network protocol in contrast to adding the supporting numbers of parsers and validators.

Potential and actual vulnerabilities explodes, like the chronic problems of Microsoft Macros.

Re:Email doesn't suck – it's email clients that need improving by sleepybrett on Wednesday August 24, 2022 @06:08PM (#32586431)
sure, but that's not a feature a protocol should have. Because the protocol itself does not interact with it in any way. It's clients that process that javascript and execute it. The protocol is about moving 'emails' from one place to another. If you don't want javascript in your email and run your own email stack you can certainly filter out javascript blobs if you want. Or you can chose clients that disable or simply don't even know what javascript is.
Re:Email doesn't suck – it's email clients that need improving by egberts1 on Friday August 26, 2022 @08:38AM (#32606613)
While it is a bit late to close the door on JS usage within SMTP protocol, choices of client SMTP becomes paramount given its legacy stage of SMTP protocol.
Re:Email doesn't suck – it's email clients that need improving by sleepybrett on Friday August 26, 2022 @10:43AM (#32608166)
again, the protocol should be dumb, its a way to move bytes. If there is js encoded in those bytes the rotocol will not and should not know or care. It's up to a client do decide what it wants to do with the bytes it receives.
Re:Email doesn't suck – it's email clients that need improving by windows_sucks on Wednesday August 24, 2022 @06:03PM (#32586381)
the client should be responsible for not executing embedded JS in a message
Re:Email doesn't suck – it's email clients that need improving by hulitu on Wednesday August 24, 2022 @02:38PM (#32583864)
> JavaScript, embedded, in email is, pejoratively, a bad idea by putting too much power into a transmitted email

The exploits writers would like to politely disagree. /s

Re:Email doesn't suck – it's email clients that need improving by hsbauauvhabzb on Wednesday August 24, 2022 @05:09PM (#32585787)
You cannot read this email until you disable your adblocker.