GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Andy Wingo (wingo@mastodon.social)'s status on Wednesday, 03-Dec-2025 04:43:07 JST Andy Wingo Andy Wingo

    just saw someone argue that llvm cannot be used as backend for a wasm compiler that processes untrusted input, because "a maliciously crafted C, Rust or bitcode input file can cause arbitrary code to execute in LLVM" (https://llvm.org/docs/Security.html#what-is-considered-a-security-issue)

    what do we think, chat

    In conversation about 2 months ago from mastodon.social permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: llvm.org
      LLVM Security Response Group — LLVM 22.0.0git documentation
    • Embed this notice
      Andrew Kelley (andrewrk@mastodon.social)'s status on Wednesday, 03-Dec-2025 04:43:05 JST Andrew Kelley Andrew Kelley
      in reply to

      @wingo I completely agree - I think they should choose to have security as a goal also for the compiler pipeline

      In conversation about 2 months ago permalink
      Haelwenn /элвэн/ :triskell: likes this.
    • Embed this notice
      Andy Wingo (wingo@mastodon.social)'s status on Wednesday, 03-Dec-2025 04:43:06 JST Andy Wingo Andy Wingo
      in reply to
      • Andrew Kelley

      @andrewrk but this is wild, there’s nothing different about a compiler here than, like, notepad reading untrusted txt files; seems like quite the capitulation

      In conversation about 2 months ago permalink
    • Embed this notice
      Andrew Kelley (andrewrk@mastodon.social)'s status on Wednesday, 03-Dec-2025 04:43:07 JST Andrew Kelley Andrew Kelley
      in reply to

      @wingo reasonable concern, if you're running the compiler in a trusted environment against untrusted code.

      Not necessarily because LLVM is implemented in C++, but because the project declares security a non-goal for the compiler code (according to your link)

      In conversation about 2 months ago permalink
    • Embed this notice
      ✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Wednesday, 17-Dec-2025 07:57:49 JST ✧✦Catherine✦✧ ✧✦Catherine✦✧
      in reply to
      • Daphne Preston-Kendal

      @dpk @wingo i vaguely recall Andy saying that Wastrel was prompted by https://github.com/YoWASP/clang ?

      In conversation about 2 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
        GitHub - YoWASP/clang: Unofficial LLVM/Clang/LLD WebAssembly packages
        Unofficial LLVM/Clang/LLD WebAssembly packages. Contribute to YoWASP/clang development by creating an account on GitHub.
    • Embed this notice
      Daphne Preston-Kendal (dpk@chaos.social)'s status on Wednesday, 17-Dec-2025 07:57:51 JST Daphne Preston-Kendal Daphne Preston-Kendal
      in reply to

      @wingo Wait, couldn’t you compile LLVM itself to WASM, compile the WASM to C with Wastrel, then any compile time code execution in LLVM is inside the WASM sandbox too?

      I realize that ‘get Wastrel to the point of being able to compile and run LLVM’ may itself be a tall order 😅

      In conversation about 2 months ago permalink
    • Embed this notice
      Andy Wingo (wingo@mastodon.social)'s status on Wednesday, 17-Dec-2025 17:31:55 JST Andy Wingo Andy Wingo
      in reply to
      • ✧✦Catherine✦✧
      • Daphne Preston-Kendal

      @whitequark @dpk i am more interested in gc, i just used your toolchain as a test (as it was in the w2c2 repository)

      In conversation about 2 months ago permalink
    • Embed this notice
      ✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Wednesday, 17-Dec-2025 17:32:07 JST ✧✦Catherine✦✧ ✧✦Catherine✦✧
      in reply to
      • Daphne Preston-Kendal

      @wingo @dpk ohhh i see that makes more sense

      In conversation about 2 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.