# Zeek script about WASM

**URL:** <https://community.zeek.org/t/zeek-script-about-wasm/7945>\
**Category:** Zeek\
**Tags:** scripting\
**Created:** [February 9, 2026, 8:55am UTC](https://community.zeek.org/t/zeek-script-about-wasm/7945 "2026-02-09T08:55:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![liuchuang](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@liuchuang](https://community.zeek.org/u/liuchuang)\
**Post date:** [February 9, 2026, 8:55am UTC](https://community.zeek.org/t/zeek-script-about-wasm/7945/1 "2026-02-09T08:55:17Z")

</div>

Using the zeek (.zeek) script language has a learning curve. Are there any plans to use WebAssembly technology to enable scripting plugins in other languages (such as Rust or)?

---

<div class="post-metadata">

**Author:** ![Benjamin\_Bannier](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/benjamin_bannier/32/595_2.png) [@Benjamin\_Bannier](https://community.zeek.org/u/Benjamin_Bannier)\
**Post date:** [February 9, 2026, 9:25am UTC](https://community.zeek.org/t/zeek-script-about-wasm/7945/2 "2026-02-09T09:25:27Z")

</div>

Integrating WebAssembly code is already possible today with the existing [JavaScript bindings](https://docs.zeek.org/en/master/scripting/javascript.html). I have used this to e.g., integrate `async` Rust functions into Zeek.

This still goes through the JavaScript plugin which should be fine for most applications. There are no immediate plans to directly support loading WebAssembly in the core. That said, applications which need to integrate WebAssembly can definitely implement the limited interface they require.

---

<div class="post-metadata">

**Author:** ![awelzel](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/awelzel/32/609_2.png) [@awelzel](https://community.zeek.org/u/awelzel)\
**Post date:** [February 9, 2026, 12:14pm UTC](https://community.zeek.org/t/zeek-script-about-wasm/7945/3 "2026-02-09T12:14:52Z")

</div>

> (such as Rust or)?

The link posted by Benjamin doesn’t make this overly clear, but today you can use JavaScript to handle Zeek events already:

For example, there’s a re-implementation of JA3 / JA3s in JavaScript handling Zeek’s SSL events:

[https://github.com/corelight/zeekjs/blob/main/examples/ja3/ja3.js](https://github.com/corelight/zeekjs/blob/main/examples/ja3/ja3.js)

```auto
[...]

zeek.on('ssl_server_hello', (c, version, record_version, possible_ts,
                             server_random, session_id, cipher, comp_method) => {
  let uid = c.uid;
  let ja3s_parts = [
    version,
    cipher,
    (ja3s_conn_ssl_exts.get(uid) || []).join('-'),
  ];

  let ja3s_string = ja3s_parts.join(',');
  let ja3sfp_1= crypto.createHash('md5').update(ja3s_string).digest('hex');

  c.ssl.js_ja3s = ja3sfp_1;

  ja3s_conn_ssl_exts.delete(uid);
});

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [April 10, 2026, 8:55am UTC](https://community.zeek.org/t/zeek-script-about-wasm/7945/4 "2026-04-10T08:55:19Z")

</div>

This topic was automatically closed after 60 days. New replies are no longer allowed.
