Skip to content
3pm

3pm

Every package, signed by humans. on-chain.

Created on 12th April 2026

•

3pm

3pm

Every package, signed by humans. on-chain.

The problem 3pm solves

The Problem It Solves

Every time a developer runs npm install, they are making a trust decision with zero information. They are saying: "I trust that these bytes are safe to run on my machine." Nothing enforces that. Nothing verifies it. You get bytes, and you hope.

This is not a hypothetical risk. The npm ecosystem has been hit repeatedly:

  • A maintainer's account gets stolen, and a malicious version is live for hours before anyone notices
  • A bad actor spends months building trust in an open source project, then slips in a backdoor right before a major release
  • A maintainer themselves goes rogue and deliberately ships code that wipes files based on the user's IP address

In all of these cases, one person had one token, and that was enough.

npm's own "provenance attestations" just move the single point of failure from your npm token to your GitHub Actions secret. The structural problem is identical.

3pm removes that single point of failure.

Publishing a package through 3pm requires M-of-N co-signers to independently review and cryptographically approve the exact tarball bytes before anything reaches npm. Every approval is an EIP-712 signature made in the signer's own wallet - no one can publish alone, even if their npm account or CI token is completely compromised.

On the consumer side, 3pm verifies that the bytes you downloaded from npm are byte-for-byte identical to what the maintainers actually signed on-chain. A tampered package - whether published by a compromised account or a rogue maintainer - will have no matching on-chain record, or its hash will not match. Either way, you are told before any code runs on your machine.

Before signing a release, co-signers see a diff of exactly what changed since the last version, a heuristic scan for dangerous patterns, and a plain-English AI summary generated locally by Gemma 3. Code never leaves the reviewer's machine.

For teams auditing their dependencies, 3pm walks the full transitive dependency tree and checks every package against the OSV vulnerability database, runs typosquat detection to catch names like expres or lodahs, and verifies on-chain records - all in one command, suitable for CI gating.

A Chrome extension surfaces trust signals directly on npmjs.com package pages, so developers can see whether a package has verified on-chain releases before they decide to install it.

The result is a system where trust is not assumed - it is proven at every step, with an immutable on-chain record of who approved what and when.

Challenges we ran into

Getting every signer to sign the exact same thing

The core guarantee of the multisig is that every co-signer independently signs an identical EIP-712 payload. The contract recovers each signer's address from their signature and checks it against the on-chain maintainers list - if even one byte of the signed message differs between what the proposer signed and what an approver signed, the recovered address is garbage and the transaction reverts.

This sounds simple until you're debugging why a valid-looking signature is failing on-chain. The culprit was the nonce field. The nonce is a uint256 on-chain, a BigInt in the backend, and gets serialized to JSON as a string for storage. When the approver reconstructed the EIP-712 message, it was reading the nonce back as a string from the API response and passing it to the signing function as a string - while the proposer had signed it as a BigInt. EIP-712 encodes those differently. The signatures looked fine individually. They only broke when the contract tried to verify them together.

The fix was enforcing a single canonical type at every boundary: BigInt when constructing the payload for signing, toString() only for JSON transport, and BigInt(nonce) immediately on the receiving end before anything touches the signing path. Once that was consistent across the CLI and backend, the signatures started matching.

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio