4fb01b1895e824517bdea6adad1fbb4c061226ad4773f0e925b0097c1ddddb59
The file is the module exactly as the page had it. WebAssembly does nothing on its own: it runs only when a script instantiates it. Labels describe what the module contains and are leads, not verdicts.
At a glance
- What it is
- Built from the Rust crate bitwarden_wasm_internal.
- How it was built
- Written in Rust. wasm-bindgen connects it to the page's JavaScript.
- What it can do
- Its imports reach: cryptography, network request, storage. Judged from the names of its imports.
- Where we saw it
- On 1 public scan, 2026-10-19.
- Findings
- Dense data, Hashing or cipher loops. Leads, not verdicts: legitimate modules show these too.
- Size
- 7.6 MiB
- First seen
- 2026-10-19
- Last seen
- 2026-10-19
- Public scans
- 1
- Functions
- 15557
- Imports
- 291
- Exports
- 503
- Data segments
- 4144
Analysis limits
Only its first 2,000 strings were read.
How it was built
Written in Rust. wasm-bindgen connects it to the page's JavaScript.
- Language
- RustImplied: wasm-bindgen is only used with Rust.
- Connects to JavaScript
- wasm-bindgenRust's bridge to JavaScript. It writes glue code on both sides, so the module can call page functions such as fetch or the DOM, and the page can call the module.
Read from text inside the module (its build metadata and paths the compiler left) and from its import and export names. Whoever builds a module can change or remove these, so treat them as hints. They say how a module was made, not what it does.
What it is made of
138 Rust crates from crates.io, with the versions it was built with:
Build tools and versions it names:
- rustc 1.98.0 (88d9e12ae 2026-08-18)
- walrus 0.25.2
- wasm-bindgen 0.2.114
Read from text the build left in the module: source paths, build metadata and .NET metadata. Whoever builds a module can change or remove it, so treat it as a hint.
Hashing and cipher code
Algorithms recognised from their published constants, tables and rotation amounts: BLAKE2b, BLAKE2s or BLAKE3, Blowfish, CRC-32, ChaCha20, Keccak (SHA-3), SHA-1 or RIPEMD-160, SHA-256, SHA-512, SHA-512 or BLAKE2b, Salsa20, Salsa20 or ChaCha. Legitimate modules use them all the time, for hashing, captchas and encryption, so this is a lead, not a verdict.
- function 299BLAKE2b · constants in its code, its rotation amounts
- function 301SHA-512 · a table it reads, its rotation amounts
- function 310SHA-256, SHA-512 · a table it reads, its rotation amounts
- function 342BLAKE2b · constants in its code, its rotation amounts
- function 366BLAKE2s or BLAKE3 · constants in its code, its rotation amounts
- function 550BLAKE2b · its rotation amounts
- function 663ChaCha20 · its rotation amounts
- function 691Salsa20 or ChaCha · a table it reads
- function 952Keccak (SHA-3) · its rotation amounts
- function 1007Blowfish · a table it reads
- function 1203Keccak (SHA-3) · its rotation amounts
- function 1691ChaCha20, Salsa20 or ChaCha · constants in its code, a table it reads, its rotation amounts
- function 1830Salsa20 ·
- function 1857SHA-512 or BLAKE2b · constants in its code
- function 2557Salsa20 or ChaCha · a table it reads
- function 4189Salsa20 or ChaCha · a table it reads
- function 4553BLAKE2b · its rotation amounts
- function 5026SHA-512 or BLAKE2b · constants in its code
- function 5480ChaCha20 · its rotation amounts
- function 5489Salsa20 · its rotation amounts
Showing 20 of 22 functions.
Decompiled code
15,542 of 15,557 functions decompiled to C-like pseudocode; 291 more are imported from the page.
- 15 of 15,557 functions could not be decompiled.
Decompiled code is a reconstruction from the file, so names and types are often guesses. Query values in URLs are masked here; the downloaded file is unchanged.
| Function | Size | Blocks | Complexity | Notes |
|---|---|---|---|---|
| No functions match. | ||||
File layout
WebAssembly binary format version 1, core module, 11 sections (1 custom).
| Section | Offset | Size | Items |
|---|---|---|---|
| type | 0x8 | 910 bytes | 105 |
| import | 0x396 | 19.6 KiB | 291 |
| function | 0x51e3 | 15.2 KiB | 15,557 |
| table | 0x8ead | 9 bytes | 1 |
| memory | 0x8eb6 | 5 bytes | 1 |
| global | 0x8ebb | 11 bytes | 1 |
| export | 0x8ec6 | 17.7 KiB | 503 |
| element | 0xd5c5 | 8.7 KiB | 1 |
| code | 0xf873 | 5.8 MiB | 15,557 |
| data | 0x5d4bb2 | 1.8 MiB | 4,144 |
| custom: producers | 0x79fc25 | 98 bytes |
- Memory
- 46 pages (2.9 MiB), no upper limit
- Table
- 4,435 entries, up to 4,435 entries, funcref
- Globals
- 1
- Element segments
- 1
- Function names
- none (names were stripped)
Data segments
Each bar is one segment of the module's data: as wide as its size, as tall as its entropy. Bars above the dashed line are encrypted or compressed. 4,144 segments, 1.8 MiB in all. The chart shows 65: the first 64 and every encrypted or compressed one.
- Segment 752: 4,962 bytes at 7.76 bits per byte
Imports (291)
Can reach: crypto, network, storage.
Imports from wbg are wasm-bindgen glue. Each __wbg_… import calls one JavaScript function in the page, and its name says which (__wbg_fetch_… calls fetch). The __wbindgen_… imports are wasm-bindgen's own helpers for strings, errors and memory.
- ./bitwarden_wasm_internal_bg.js.__wbg__wbg_cb_unref_6b5b6b8576d35cb1
- ./bitwarden_wasm_internal_bg.js.__wbg_new_ab79df5bd7c26067
- ./bitwarden_wasm_internal_bg.js.__wbg_set_cache_ec7e430c6056ebda
- ./bitwarden_wasm_internal_bg.js.__wbg_signal_166e1da31adcac18
- ./bitwarden_wasm_internal_bg.js.__wbg_status_318629ab93a22955
- ./bitwarden_wasm_internal_bg.js.__wbg_headers_eb2234545f9ff993
- ./bitwarden_wasm_internal_bg.js.__wbg_entries_5b8fe91cea59610e
- ./bitwarden_wasm_internal_bg.js.__wbg_get_a8ee5c45dabc1b3b
- ./bitwarden_wasm_internal_bg.js.__wbindgen_object_clone_ref
- ./bitwarden_wasm_internal_bg.js.__wbg_length_b3416cf66a5452c8
- ./bitwarden_wasm_internal_bg.js.__wbg_removeAll_4a28187381d4042f
- ./bitwarden_wasm_internal_bg.js.__wbg_removeBulk_e0ab5a2b2fed00b8
- ./bitwarden_wasm_internal_bg.js.__wbg_get_7dc1b9ea6f8c30b1
- ./bitwarden_wasm_internal_bg.js.__wbg_set_cc385b457ec6c32d
- ./bitwarden_wasm_internal_bg.js.__wbg_list_5315646ee23783fe
- ./bitwarden_wasm_internal_bg.js.__wbg_remove_33f1aa5d842e9f77
- ./bitwarden_wasm_internal_bg.js.__wbg_new_a70fbab9066b301f
- ./bitwarden_wasm_internal_bg.js.__wbg_set_282384002438957f
- ./bitwarden_wasm_internal_bg.js.__wbg_setBulk_b2732a4dedb53da3
- ./bitwarden_wasm_internal_bg.js.__wbg_removeAll_1307aabba6b4d470
- ./bitwarden_wasm_internal_bg.js.__wbg_removeBulk_a022c44a66bca2bc
- ./bitwarden_wasm_internal_bg.js.__wbg_get_9b7f7011317e3276
- ./bitwarden_wasm_internal_bg.js.__wbg_set_4534d7d5a5d14d26
- ./bitwarden_wasm_internal_bg.js.__wbg_list_c20faaf3b7249c98
- ./bitwarden_wasm_internal_bg.js.__wbg_remove_870a00a8614cdf3f
- ./bitwarden_wasm_internal_bg.js.__wbg_setBulk_8be9a99ca2e0a42f
- ./bitwarden_wasm_internal_bg.js.__wbg_removeAll_41d5a935f78979fa
- ./bitwarden_wasm_internal_bg.js.__wbg_removeBulk_30f604b01aa3c7c0
- ./bitwarden_wasm_internal_bg.js.__wbg_get_c3072c87e364e2d5
- ./bitwarden_wasm_internal_bg.js.__wbg_set_8be09f2622017c62
- ./bitwarden_wasm_internal_bg.js.__wbg_list_3c8789a776626a02
- ./bitwarden_wasm_internal_bg.js.__wbg_remove_147678d59633639b
- ./bitwarden_wasm_internal_bg.js.__wbg_setBulk_9f6c43adb61be262
- ./bitwarden_wasm_internal_bg.js.__wbg_removeAll_d2004db1c04bc944
- ./bitwarden_wasm_internal_bg.js.__wbg_removeBulk_322de9c4f042fc3d
- ./bitwarden_wasm_internal_bg.js.__wbg_get_e9a9feded03e831a
- ./bitwarden_wasm_internal_bg.js.__wbg_set_f1a4a93819be2d81
- ./bitwarden_wasm_internal_bg.js.__wbg_list_9c625cc3f4e36902
- ./bitwarden_wasm_internal_bg.js.__wbg_remove_5f5bb0c25641e97f
- ./bitwarden_wasm_internal_bg.js.__wbg_setBulk_b18494bda13ddb22
- ./bitwarden_wasm_internal_bg.js.__wbg_removeAll_703e5086f1c5d50f
- ./bitwarden_wasm_internal_bg.js.__wbg_removeBulk_80e04d74b4408c88
- ./bitwarden_wasm_internal_bg.js.__wbg_get_cfef4e77cab0d423
- ./bitwarden_wasm_internal_bg.js.__wbg_set_efe3e94fa972d4e7
- ./bitwarden_wasm_internal_bg.js.__wbg_list_b0d60892c076d069
- ./bitwarden_wasm_internal_bg.js.__wbg_remove_7f632709c972cc57
- ./bitwarden_wasm_internal_bg.js.__wbg_setBulk_e4cd1c9f3c2d9b64
- ./bitwarden_wasm_internal_bg.js.__wbg_get_access_token_9d8820d2f26177da
- ./bitwarden_wasm_internal_bg.js.__wbg_warn_69424c2d92a2fa73
- ./bitwarden_wasm_internal_bg.js.__wbg_create_e9e35ffcb49d7084
Exports (503)
- memory
- __wbg_flightrecorderclient_free
- __wbg_passwordmanagerclient_free
- __wbg_purecrypto_free
- flightrecorderclient_count
- flightrecorderclient_new
- flightrecorderclient_read
- flightrecorderclient_write
- generate_ssh_key
- import_ssh_key
- init_sdk
- isTestError
- passwordmanagerclient_auth
- passwordmanagerclient_collections
- passwordmanagerclient_commercial
- passwordmanagerclient_crypto
- passwordmanagerclient_crypto_cipher_suite
- passwordmanagerclient_crypto_sync_handler
- passwordmanagerclient_echo
- passwordmanagerclient_emergency_access
- passwordmanagerclient_exporters
- passwordmanagerclient_generator
- passwordmanagerclient_gov_mode
- passwordmanagerclient_http_get
- passwordmanagerclient_importers
- passwordmanagerclient_invite_link
- passwordmanagerclient_managed_settings
- passwordmanagerclient_new
- passwordmanagerclient_organization_users_management
- passwordmanagerclient_platform
- passwordmanagerclient_policies
- passwordmanagerclient_send_sync_handler
- passwordmanagerclient_throw
- passwordmanagerclient_user_crypto_management
- passwordmanagerclient_vault
- passwordmanagerclient_version
- platformclient_load_flags
- purecrypto_decapsulate_key_unsigned
- purecrypto_decrypt_user_key_with_master_key
- purecrypto_decrypt_user_key_with_master_password
- purecrypto_derive_kdf_material
- purecrypto_encapsulate_key_unsigned
- purecrypto_encrypt_user_key_with_master_password
- purecrypto_key_algorithm_for_verifying_key
- purecrypto_make_aes256_cbc_hmac_key
- purecrypto_make_user_key_aes256_cbc_hmac
- purecrypto_make_user_key_xchacha20_poly1305
- purecrypto_new_guid
- purecrypto_random_number
- purecrypto_rsa_decrypt_data
Scripts that carry or load it
- vault.bitwarden.com loads it; the script is minified or bundled.
From public scans. A script loads a module when it fetches or compiles it.
Text it passes to the page
Fixed text the module hands to the page's JavaScript when it calls an import, read from the module file. Imports that reach the network, run code or change the page come first; web addresses are shown as their host.
| Import | Text |
|---|---|
| ./bitwarden_wasm_internal_bg.js.__wbindgen_cast_000000000000000a | detail |
| ./bitwarden_wasm_internal_bg.js.__wbindgen_cast_000000000000000a | start |
| ./bitwarden_wasm_internal_bg.js.__wbindgen_cast_000000000000000a | end |
| ./bitwarden_wasm_internal_bg.js.__wbindgen_cast_000000000000000a | Failed to convert JSON payload to string |
| ./bitwarden_wasm_internal_bg.js.__wbindgen_cast_000000000000000a | name |
| ./bitwarden_wasm_internal_bg.js.__wbindgen_cast_000000000000000a | ServiceWorkerGlobalScope |
| ./bitwarden_wasm_internal_bg.js.__wbindgen_cast_000000000000000a | %cERROR%c %s |
| ./bitwarden_wasm_internal_bg.js.__wbindgen_cast_000000000000000a | color: white; font-weight: bold; padding: 0 5px; background: #CC0000; |
| ./bitwarden_wasm_internal_bg.js.__wbindgen_cast_000000000000000a | background: inherit; color: inherit; |
| ./bitwarden_wasm_internal_bg.js.__wbindgen_cast_000000000000000a | %c INFO%c %s |
| ./bitwarden_wasm_internal_bg.js.__wbindgen_cast_000000000000000a | color: white; font-weight: bold; padding: 0 5px; background: #4E9A06; |
| ./bitwarden_wasm_internal_bg.js.__wbindgen_cast_000000000000000a | %cTRACE%c %s |
| ./bitwarden_wasm_internal_bg.js.__wbindgen_cast_000000000000000a | color: white; font-weight: bold; padding: 0 5px; background: #75507B; |
| ./bitwarden_wasm_internal_bg.js.__wbindgen_cast_000000000000000a | %cDEBUG%c %s |
| ./bitwarden_wasm_internal_bg.js.__wbindgen_cast_000000000000000a | color: white; font-weight: bold; padding: 0 5px; background: #3465A4; |
| ./bitwarden_wasm_internal_bg.js.__wbindgen_cast_000000000000000a | %c WARN%c %s |
| ./bitwarden_wasm_internal_bg.js.__wbindgen_cast_000000000000000a | color: white; font-weight: bold; padding: 0 5px; background: #C4A000; |
| ./bitwarden_wasm_internal_bg.js.__wbindgen_cast_000000000000000a | A span changed id, this is currently not supported |
| ./bitwarden_wasm_internal_bg.js.__wbindgen_cast_000000000000000a | reqwest::errors::TimedOut |
In our sandbox
- Produced 9 strings at run time, listed below.
- Cleared 7 data segments while running: memory reused, not decryption.
Strings it produced at run time
Text that appeared while it ran and is not in the file: decoded, decrypted or built by its code. Web addresses are shown as their host.
- event crates/bitwarden-core/src/key_management/crypto.rs:413bitwarden_core::key_management::crypto
- HeaderName::from_static with invalid bytes
- Failed to parse key
- SshKeyImportError
- CryptoError
- EncString
- EncString error, Invalid asymmetric type, got type 0 with 0 parts
- The cipher key has an invalid length
- InvalidKeyLen
Data it rewrote while running
Segments of its own data that were replaced in memory. New readable content means it decrypted or unpacked them; a segment left at entropy 0 was cleared, which is memory being reused, not decryption.
| Segment | Offset | Size | Entropy before → after | During | What happened |
|---|---|---|---|---|---|
| #630 | 0x1566e4 | 5.0 KiB | 7.14 → 0 | purecrypto_derive_kdf_material | cleared |
| #752 | 0x163620 | 4.8 KiB | 7.76 → 0 | purecrypto_derive_kdf_material | cleared |
| #828 | 0x1693b8 | 7.5 KiB | 7.54 → 0 | purecrypto_derive_kdf_material | cleared |
| #852 | 0x16b361 | 5.2 KiB | 7.8 → 0 | purecrypto_derive_kdf_material | cleared |
| #856 | 0x16d010 | 20.7 KiB | 7.78 → 0 | purecrypto_derive_kdf_material | cleared |
| #2905 | 0x17f2f2 | 37.7 KiB | 7.29 → 0 | purecrypto_derive_kdf_material | cleared |
| #4049 | 0x20b104 | 1.2 KiB | 7.09 → 0 | purecrypto_derive_kdf_material | cleared |
Checks we ran
- Threat-feed matches: none
- Names of mining software or pools: none
- CryptoNight mining structure: not found
- Hashing or cipher loops: 17 functions (common in codecs and captchas)
- Known hashing or cipher algorithms: BLAKE2b, BLAKE2s or BLAKE3, Blowfish, CRC-32, ChaCha20, Keccak (SHA-3), SHA-1 or RIPEMD-160, SHA-256, SHA-512, SHA-512 or BLAKE2b, Salsa20, Salsa20 or ChaCha
- Encrypted or compressed data: 1 block, 4.8 KiB (0.3% of its data)
- JavaScript stored inside: none
- Other modules inside: none
- Imports that read browser or page details: 2
- Function names: removed (usual in release builds)
Static checks of the file: nothing in it was run for these. A finding is a lead, not a verdict.
Seen on 1 public scan
| Page | Title | Seen | How it got there |
|---|---|---|---|
| vault.bitwarden.com | Bitwarden Web vault | 2026-10-19 | Downloaded as a file |