So, serde seems to be downloading and running a binary on the system without informing the user and without any user consent. Does anyone have any background information on why this is, and how this is supposed to be a good idea?

dtolnay seems like a smart guy, so I assume there is a reason for this, but it doesn’t feel ok at all.

  • @[email protected]
    link
    fedilink
    English
    13
    edit-2
    1 year ago

    I saw some other crate doing something similar but using wasm, the idea is to sandbox the binary used as a proc macro. So that seems a bit better. Can’t see to find it any more.

    EDIT: Found it https://lib.rs/crates/watt

    • @Anders429
      link
      91 year ago

      Fun fact: the guy who wrote watt is the same guy who wrote serde.