New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@fairseal/core

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fairseal/core

Cryptographic primitives, signing, and Merkle trees for FairSeal

latest
Source
npmnpm
Version
1.3.4
Version published
Maintainers
1
Created
Source

@fairseal/core

Part of FairSeal — formerly OpenRNG.

VEO-2 types, schema, and shared primitives for the FairSeal ecosystem.

VEO = Verifiable Execution Object — a standard format for recording, proving, and explaining AI decisions.

Install

npm install @fairseal/core

Quick Start

import { createVEO, validateVEO, createVEOHash } from '@fairseal/core';

// Create a VEO for an AI execution
const veo = createVEO({
  provider_id: 'my-service',
  execution: {
    prompt_hash: 'sha256-of-prompt',
    output_hash: 'sha256-of-output',
    model_id: 'gpt-4o',
    latency_ms: 412,
    cost: { total_tokens: 1500, cost_usd: 0.003 },
  },
  confidence: { score: 850, grade: 'AA' },
});

// Validate
const { valid, errors } = validateVEO(veo);

// Hash (for anchoring)
const hash = createVEOHash(veo);

Object Classes

ClassNameUse Case
VEO-2ARaw ExecutionSingle AI call (chat, completion, inference)
VEO-2BComposite ExecutionMulti-step chains, agent pipelines
VEO-2CAnchored ExecutionWith blockchain proof / Merkle anchor
VEO-2DGoverned ExecutionWith policy assertions, human approvals

VEO Lifecycle

created → signed → anchored → indexed → verified

Full Spec

PackagePurpose
@fairseal/coreTypes, schema, validation (this package)
@fairseal/verifyVerify any VEO object
@fairseal/autoAuto-instrument AI SDK calls

License

MIT — FairSeal

Keywords

openrng

FAQs

Package last updated on 19 Aug 2026

Related posts