New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

receipt-cli-eth

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

receipt-cli-eth

Sign cryptographic receipts. Free. Patent Pending: US 63/926,683

latest
Source
npmnpm
Version
1.0.9
Version published
Maintainers
1
Created
Source

receipt-cli-eth

Sign cryptographic receipts. Free. No middleman.

Signing is free. The --pay flag optionally sends a 0.0001 ETH tip to support development.

npx receipt-cli-eth sign "Final Boss built this" --out receipt.json
npx receipt-cli-eth verify receipt.json

Project Names

NameWhat
GitHub repo805-ai/receipt-cli
npm package / CLIreceipt-cli-eth
SDKreceipt-sdk

Key Handling (IMPORTANT)

Do NOT pass private keys on the command line unless you understand the risks:

  • Shell history exposure
  • CI logs leaking secrets
  • Process list visibility

macOS/Linux:

export RECEIPT_KEY="0xYOUR_PRIVATE_KEY"
npx receipt-cli-eth sign "Final Boss built this" --out receipt.json

Windows PowerShell:

$env:RECEIPT_KEY="0xYOUR_PRIVATE_KEY"
npx receipt-cli-eth sign "Final Boss built this" --out receipt.json

CI-safe: stdin

macOS/Linux:

printf "%s" "$RECEIPT_KEY" | npx receipt-cli-eth sign "message" --key-stdin --out receipt.json

Windows PowerShell:

echo $env:RECEIPT_KEY | npx receipt-cli-eth sign "message" --key-stdin --out receipt.json

File-based

npx receipt-cli-eth sign "message" --key-file ~/.receipt/key --out receipt.json

Ensure key file is chmod 600 (owner read/write only) on Unix systems.

Legacy (discouraged)

npx receipt-cli-eth sign "message" --key 0xYOUR_PRIVATE_KEY --out receipt.json

Install

npm install -g receipt-cli-eth

Usage

Sign a message

receipt-cli-eth sign "Your message here" --out receipt.json

Verify a receipt

receipt-cli-eth verify receipt.json

Options

OptionDescription
--key, -kPrivate key (DISCOURAGED - prefer RECEIPT_KEY env)
--key-stdinRead key from stdin (CI-safe)
--key-file <path>Read key from file
--out, -oOutput file (default: receipt.json)
--payOptional tip (0.0001 ETH) to support development

Receipt Format

Version: 1

{
  "message": "Final Boss built this",
  "timestamp": "2025-12-25T12:00:00.000Z",
  "signer": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
  "signature": "0x..."
}

Signing Rule (for cross-language verification)

PropertyValue
SchemeEIP-191 personal_sign (eth_sign with \x19Ethereum Signed Message:\n prefix)
Signed bytesUTF-8 encoding of JSON.stringify({ message, timestamp, signer })
Field orderExactly: message, timestamp, signer (JavaScript insertion order)
TimestampISO 8601 with milliseconds: YYYY-MM-DDTHH:mm:ss.sssZ
Recoveryethers.utils.verifyMessage(payload, signature) returns signer address

Canonical payload example:

{"message":"Final Boss built this","timestamp":"2025-12-25T12:00:00.000Z","signer":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"}

Verifiers in other languages must construct this exact string (no extra whitespace, fields in order) before applying EIP-191 recovery.

Verify Behavior

ConditionExit CodeOutput
Valid signature0Prints signer address, message, timestamp
Invalid signature1Prints "INVALID - signature mismatch"
Malformed receipt1Error message

Use in CI:

npx receipt-cli-eth verify receipt.json && echo "Valid" || echo "Invalid"

SDK

For programmatic use:

npm install receipt-sdk
const { quickSign, verify } = require('receipt-sdk');
const receipt = await quickSign('message', privateKey);
const result = verify(receipt);

License

MIT - Built by Final Boss Technology, Inc.

Patent Notice

Patent Pending: US 63/926,683, US 63/917,247, and related applications.

The cryptographic receipt architecture implemented in this software is protected by pending patent applications assigned to Final Boss Technology, Inc.

(c) 2025 Final Boss Technology, Inc. All rights reserved.

Keywords

receipt

FAQs

Package last updated on 26 Dec 2025

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