cloudflare / cloudflare/binary-install

Use checksums to verify integrity of the downloads

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement status - PR Welcome
Dominant language
JavaScript
Stars
48
Forks
23
PR merge metrics
No merged PRs in 30d

Description

On Discord somebody mentioned that they won't use wasm-pack because it is insecure, because it is downloading a foreign URL without using a checksum to verify the integrity.

I agree with them, I think for security it's important to verify checksums on all downloaded binaries.

So first this will have to be added to binary-install, and then wasm-pack can be changed to use the checksums.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting binary-install's download path and how wasm-pack consumes it; the issue does not name specific files or tests. Trace every downloaded binary and determine how checksums can be supplied and verified, then confirm that wasm-pack uses the protected path for its downloads.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, wasm
Domain
security, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.