mrkeyoor.comAsk

zama-ai/fhevmtested 05 Oct 2026commit 3b536d6

fhevm review

Our FHEVM test command exited 127 after 7 seconds because Bun was missing, so this run provides no passing integration result.

  • Tests failed
178 sto install
  • 2,041 packages
Dev Toolsevaluationupdated 03 Nov 2026
-3stars / 7d

FHEVM is the framework behind the Zama Confidential Blockchain Protocol, designed to let smart contracts work with encrypted values on EVM-compatible blockchains. It combines contracts with a separate computation service and key-management integration. Evaluate it when keeping application state confidential is a requirement worth taking on that infrastructure.

Verdict

Our FHEVM test command exited 127 after 7 seconds because Bun was missing, so this run provides no passing integration result. FHEVM merits a focused evaluation when encrypted EVM state is essential and you can assess the surrounding services. Resolve the dependency audit and Zama’s stated commercial terms before treating the repository as a deployment choice.

We ran it

Lab card: what happened when we ran fhevm
Lab card from our sandbox run
Screenshot of fhevm (github.com/zama-ai/fhevm)
github.com/zama-ai/fhevm
Install✓ · 178s2041 packages · 1769 MB
Buildn/ano build script
Tests✗ · 7sran, no count parsed
Known vulns1093 critical · 47 high · 36 moderate · 23 low (npm audit)
Repo5022 files~1,125,090 lines of source · 106.3 MB · 82 CI workflows

Answers from our run

Does fhevm build from source?

Dependencies installed in 178 seconds (2041 packages), and the project has no separate build step. We cloned commit 3b536d6 into a clean Debian container with 3 CPUs and no project-specific setup.

Do fhevm's tests pass?

No. The project's own test command exited unsuccessfully after 7 seconds, and its output did not expose an individual test count.

Does fhevm have known vulnerabilities in its dependencies?

npm audit flagged 109 known advisories in the dependency tree, including 3 critical at the time of our run.

Who should not use fhevm?

Teams expecting an npm install to deliver a working confidential chain: the README describes separate host contracts, gateway contracts, a Rust coprocessor and KMS integration.

What are the alternatives to fhevm?

TFHE-rs, Oasis Sapphire. Our FHEVM test command exited 127 after 7 seconds because Bun was missing, so this run provides no passing integration result.

Setup3/5Our source checkout installed in 178 s, a heavy install of 2,041 dependencies, and we did not run a README task.Editor’s note: Supported integration setup was not reproduced: installation succeeded, but the test command could not launch Bun and no stack was deployed.
Docs3/5Under the body rubric, the README gives a component map, use cases and explicit contribution and commercial-use conditions, but does not itself supply a complete runnable stack procedure.
Community5/5Last push on 2026-11-03 and 24,733 stars.Editor’s note: The last push and merged configuration work show activity, but do not establish adoption, support responsiveness or contributor access in practice.
Maturity2/5Latest release v0.13.8 on 2026-10-16 (pre-1.0), repository created 2025-05-02 and its test suite did not pass in our sandbox.Editor’s note: The failed launcher and skipped build provide no evidence about integration correctness, cryptographic assurance or deployed reliability.

How we score

Discussed on

  1. hnFhEVM whitepaper (homomorphic encryption for blockchain) [pdf]3 points

Who it’s for

Solidity teams evaluating encrypted balances, bids or other confidential contract state.
Protocol engineers who can assess the host contracts, coprocessor and key-management services together.
Researchers willing to reproduce the supported integration environment before drawing conclusions about execution.

Who it’s NOT for

Teams expecting an npm install to deliver a working confidential chain: the README describes separate host contracts, gateway contracts, a Rust coprocessor and KMS integration.
Commercial adopters expecting the repository license alone to settle usage terms: Zama says commercial use requires its commercial patent license.
Contributors unwilling to seek approval and sign a CLA: the README says only approved contributors may send pull requests.
Teams requiring a passing integration result from this review: our command stopped because Bun was unavailable.

Setup reality

Our October 5, 2026 run at 3b536d6 installed successfully in 178 seconds, recording 2,041 dependencies and 1,769 MB on disk. The build was skipped because no build script or target was detected. Tests failed with exit 127 after 7 seconds: the command called Bun, and the shell reported bun: not found. npm audit reported 109 known vulnerabilities, including 3 critical and 47 high.

The README describes host and gateway contracts, a Rust coprocessor, KMS integration and Helm configurations. A working evaluation needs the relevant chain endpoints and service configuration for that stack. We did not deploy it or verify credentials, key handling or decryption. The npm workspace result covers only the recorded repository steps.

The sandbox configuration was 3 CPUs, 8 GB RAM and image lab-node:22, which does not prove the actual Node or operating-system version. The missing Bun executable explains this command failure. It supplies no result about whether the integration suite would pass in its supported environment.

Encrypted state brings services beyond the Solidity contract

FHEVM's host chain executes encrypted operations symbolically, while a separate coprocessor performs the actual encrypted computations asynchronously. That documented split is the first adoption decision. If your application needs private balances or bids, the framework is relevant, but evaluating the Solidity interface alone leaves much of the system unexamined.

The README calls FHEVM the core framework of the Zama Confidential Blockchain Protocol. It describes host and gateway contracts, a Rust coprocessor, and integration with key-management services. Programmable access control lives in the contracts. Decide who should be able to decrypt a value before treating encryption as a complete application policy.

What happened when we ran it

Our FHEVM installation succeeded in 178 seconds, recording 2,041 dependencies and 1,769 MB on disk. We ran commit 3b536d6 on October 5, 2026. The build was skipped because no build script or target was detected, and the test command failed with exit 127 after 7 seconds.

The log shows cd test-suite/fhevm && bun run test, followed by sh: 1: bun: not found. Bun was unavailable to that command. This is an environment blockage, and it leaves integration behavior unassessed. Calling it a failed cryptographic test would misdescribe the evidence. Installing the npm dependencies did not supply a passing execution path for this launcher.

Our sandbox configuration specified 3 CPUs, 8 GB RAM and image lab-node:22. The image name does not establish the actual runtime or operating-system version. The checkout had 5,022 files, approximately 1,125,090 source lines and 106.3 MB. This is a large workspace repository, even though the harness selected its npm route.

The scan recorded 82 CI workflow files, no Dockerfile and no tests directory. Those last two detections must be read narrowly: the README explicitly describes golden container images and a test-suite directory. A scan's directory labels are not an inventory of every container or checking route. Our skipped build also does not establish that none of the Rust or contract components can be compiled.

The audit needs follow-up before a deployment decision

npm audit reported 109 known vulnerabilities: 3 critical, 47 high, 36 moderate and 23 low. That result belongs to the recorded dependency environment. It does not identify which advisories reach a deployed component, whether an exploit is practical, or what remains in a newer checkout.

For a team considering adoption, the useful next action is to examine the advisory paths against the components it intends to ship. We have neither a remediation result nor a protocol security evaluation. The audit is enough to require investigation, without using a package count as evidence that encrypted computation itself is unsafe.

The recorded installation footprint also excludes proof of a working service stack. Helm configurations, contract deployment and KMS integration remain separate evaluation work. Budget engineering ownership for those components rather than treating the successful dependency step as the end of setup.

Commercial terms and contributor approval can rule it out

Zama says commercial use requires its commercial patent license. The README identifies BSD-3-Clause-Clear as the repository license and separately states that development, research and experimentation have different terms from commercial use. If purchasing that license would rule out your project, settle the question before investing in an integration. This review does not determine your legal obligations or license cost.

Contribution is also conditional. The README says approved contributors must sign a Contributor License Agreement, and only approved contributors can send pull requests. A team expecting to begin contributing immediately should account for that process. Source availability and permission to participate are separate practical questions here.

For the application itself, the contract's access rules still deserve a concrete exercise. Use a disposable example to decide which actor may request decryption and what should happen to an unauthorized request. That is a proposed evaluation, not an experiment completed by our sandbox run.

Recent changes show maintenance, not a verified deployment

The last push was November 3, 2026. The inspected pull-request activity includes merged work on integration configuration and host-chain environments, while the latest-release endpoint returned v0.13.8, dated October 16. Together these show ongoing repository work. The release tag alone cannot tell you whether a particular deployment path is current.

Recent configuration changes also mean the October sandbox result should stay attached to its commit. The root package script still calls Bun, but that observation does not resolve the rest of the environment. Select the documented stack configuration and reproduce it before making a correctness judgment.

Choose alternatives by what you need to keep private

TFHE-rs performs boolean and integer operations on encrypted data in Rust. Its README makes it a relevant candidate when you need an encrypted-computation library without adopting a smart-contract stack. It is not a claim that moving the same application there would be easy or cheaper.

Oasis Sapphire provides a confidential EVM-compatible environment on the Oasis Network. Its repository is worth examining if that network fits your application. We have no comparative throughput, setup or security measurements for either alternative.

Documentation scores 3/5 on this editorial scale: 1 means obstructive guidance, 2 scattered instructions, 3 a usable basic map, 4 detailed usage and boundaries, and 5 independently verified coverage. Setup, community and maturity remain unassessed. For FHEVM, the next useful result is a supported integration run that reaches encrypted computation and authorized decryption, with the advisory review recorded alongside it.

Alternatives

ProjectWhat it isPick it when
TFHE-rsA Rust implementation of TFHE for boolean and integer operations on encrypted data.Pick TFHE-rs when the requirement is encrypted computation in an application rather than a confidential smart-contract stack. Check its own terms separately.
Oasis SapphireA confidential EVM-compatible smart-contract environment on the Oasis Network.Evaluate Sapphire when deploying on the Oasis Network is acceptable. It is a different deployment choice, with no comparative security or performance result in this review.

Sources

  1. FHEVM README and stated terms
  2. Root package script
  3. FHEVM v0.13.8 release
  4. Merged integration configuration change
  5. TFHE-rs README
  6. Sapphire README

More dev tools reviews