Scan your whole stack
From OX Research Newsroom
Are you using @rabbit-company/argon2id?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2.2.0
@rabbit-company/argon2id was last scanned on 30 Nov 2026 at version 2.2.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 2.2.0 LATEST | 30 Nov 2026 | 1 rule fired |
Findings for v2.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The package includes a WebAssembly (.wasm) module. It cannot be reviewed as source, but it runs sandboxed inside the JavaScript runtime and can access only what the host code gives it. WebAssembly is common in parsers, codecs and cryptography libraries. Shown for awareness.
LOWThe score describes 2.2.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Argon2id password hashing for browsers, Bun, Deno and Node.js. The hashing runs in WebAssembly compiled from the RustCrypto argon2 crate.
argon2 CLI and other implementations.npm i @rabbit-company/argon2id
import Argon2id from "@rabbit-company/argon2id";
const hash = await Argon2id.hash(message, salt, parallelism, memory, iterations, length);
| Parameter | Default | Meaning |
|---|---|---|
message |
Text to hash, encoded as UTF-8 | |
salt |
Argon2id.randomSalt() |
Text salt, encoded as UTF-8. At least 8 bytes |
parallelism |
4 |
Lanes, at least 1 |
memory |
16 |
Memory cost. Values up to 20 are powers of two in KiB, so 16 means 2^16 KiB (64 MiB). Larger values are KiB. At least 8 KiB per lane |
iterations |
3 |
Passes over the memory, at least 1 |
length |
32 |
Output length in bytes, at least 4 |
hash resolves to the hash as lowercase hexadecimal and rejects with a message when a parameter is out of range or the memory can not be allocated.
const hex = await Argon2id.hash("4d7f2a9c1e8b", Argon2id.randomSalt(), 4, 65536, 3, 32);
hashEncoded takes the same parameters and returns a PHC string that stores the parameters and salt with the hash.
const encoded = await Argon2id.hashEncoded("4d7f2a9c1e8b");
// $argon2id$v=19$m=65536,t=3,p=4$c0FsVHNhbHRzQWxU$...
const matches = await Argon2id.verify(encoded, "4d7f2a9c1e8b"); // true
const digest = Argon2id.hashDecode(encoded); // the hash as hexadecimal
verify accepts encoded hashes from other Argon2 implementations too, including ones with random binary salts. It compares in constant time and rejects with "invalid hash", "unsupported algorithm" or "unsupported version" when the string is malformed.
Argon2id.randomSalt(); // 16 random letters and digits, about 95 bits
Argon2id.randRange(0, 100); // unbiased cryptographically random integer from 0 to 99
Argon2id.hexToBase64("0931"); // "CTE="
Argon2id.base64ToHex("CTE="); // "0931"
Serve argon2id_worker.js and argon2id_wasm_bg.wasm from node_modules/@rabbit-company/argon2id/module/ next to the script that imports the library. Hashing then runs in a worker. Without them it runs on the calling thread with the WebAssembly embedded in the module, and gives the same results.
bun run build-rust # compile the Rust code to WebAssembly and embed it
bun run build # bundle browser, module and dist
bun test
build-rust needs the wasm32-unknown-unknown Rust target.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.