Skip to content
Phylax
Get started

Quickstart

Verify your first artifact in about five minutes.

Phylax helps you verify the integrity and provenance of open source and third-party artifacts so you can build and ship with confidence.

Prerequisites

  • Node.js 20+ installed
  • Network access to api.phyi.dev (TLS 1.2+)
  • An account on the Phylax Platform
  1. Install the Phylax CLI

    Install the Phylax CLI globally using npm.

    Terminal window
    npm install -g @phyi/cli
  2. Login to Phylax

    Authenticate the CLI with your Phylax account.

    Terminal window
    phylax login
  3. Verify a package

    Verify an artifact by its package reference (type/namespace/name@version).

    Terminal window
    phylax verify package npm/express@4.18.2
  4. Download an attestation

    Fetch the signed attestation for the artifact in JSON format.

    Terminal window
    phylax attestation get pkg:npm/express@4.18.2 --json > express.sssa.json
  5. Verify it offline

    Verify the attestation file offline to confirm its authenticity and integrity.

    Terminal window
    phylax attestation verify ./express.sssa.json --offline

Sample result

A successful verification should look like this:

Verdict ALLOW The artifact is trusted.
Risk score 8/100 Low risk
Confidence 0.97 High confidence

You’ve verified your first artifact. You’re ready to go.

Next steps

Did this page help you?