🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

hashproof

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hashproof

CLI for the Hashproof Content Provenance API

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

hashproof

Command line interface for the Hashproof Content Provenance API. Verify, store, resolve, and fingerprint digital assets from the terminal.

Install

Run it without installing, using npx:

npx hashproof status

Or install it globally:

npm install -g hashproof

Authentication

The verify, store, resolve, and fingerprint commands require an API key. Keys start with hpsk_. Save one with:

hashproof config set-key hpsk_your_key

You can also provide the key through the environment, which takes precedence over the saved key:

export HASHPROOF_API_KEY=hpsk_your_key

The status command does not require a key.

Commands

hashproof verify <file>          # Check a file's content provenance
hashproof store <file>           # Store a C2PA manifest for a file
hashproof resolve <file>         # Resolve provenance by soft binding
hashproof fingerprint <file>     # Compute a perceptual fingerprint
hashproof status                 # Report API service status
hashproof config set-key <key>   # Save your API key
hashproof config set-url <url>   # Set a custom API base URL
hashproof config show            # Show the current configuration

store accepts --title (-t) to set an asset title. fingerprint accepts --algorithm (-a), which defaults to phash-dct-64.

Configuration

Configuration is stored at ~/.hashproof/config.json. Two environment variables override the saved values:

  • HASHPROOF_API_KEY overrides the saved API key.
  • HASHPROOF_BASE_URL overrides the API base URL. The default is https://api.hashproof.ai.

License

MIT

Keywords

hashproof

FAQs

Package last updated on 09 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts