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

@cellar-door/attestation-core

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

@cellar-door/attestation-core

Shared attestation primitives for EXIT Protocol adapters — marker hashing, salt generation, and core types.

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

@cellar-door/attestation-core

license

𓉸 Passage Protocol · exit-door · entry-door · mcp · langchain · vercel · eliza · eas · erc-8004 · sign · python

⚠️ Pre-release software — no formal security audit has been conducted. This project is published for transparency, review, and community feedback. It should not be used in production systems where security guarantees are required. Report vulnerabilities to hawthornhollows@gmail.com.

Shared hash, salt, and verification logic for EXIT Protocol attestation adapters. Used internally by @cellar-door/eas, @cellar-door/sign-protocol, and @cellar-door/erc-8004.

Install

npm install @cellar-door/attestation-core

API

computeMarkerHash(marker, salt?)

Compute a keccak256 commitment hash for an EXIT marker.

import { computeMarkerHash } from '@cellar-door/attestation-core';

const { hash, salt } = computeMarkerHash(marker);
// hash: '0x...' (bytes32)
// salt: '0x...' (auto-generated 256-bit random salt)

// With explicit salt:
const { hash } = computeMarkerHash(marker, existingSalt);

verifyMarkerHash(marker, expectedHash, salt)

Verify that a marker matches a previously computed hash.

import { verifyMarkerHash } from '@cellar-door/attestation-core';

const valid = verifyMarkerHash(marker, hash, salt);
// true if recomputed hash matches expectedHash

randomSalt()

Generate a cryptographically random 256-bit salt.

import { randomSalt } from '@cellar-door/attestation-core';

const salt = randomSalt();
// '0x...' (32 bytes hex)

Ecosystem

PackageLanguageDescription
cellar-door-exitTypeScriptCore protocol (reference impl)
cellar-door-exitPythonCore protocol
cellar-door-entryTypeScriptArrival/entry markers
@cellar-door/langchainTypeScriptLangChain integration
cellar-door-langchainPythonLangChain integration
@cellar-door/vercel-ai-sdkTypeScriptVercel AI SDK
@cellar-door/mcp-serverTypeScriptMCP server
@cellar-door/elizaTypeScriptElizaOS plugin
@cellar-door/easTypeScriptEAS attestation anchoring
@cellar-door/erc-8004TypeScriptERC-8004 identity/reputation
@cellar-door/sign-protocolTypeScriptSign Protocol attestation

Paper · Website

License

Apache-2.0

Keywords

exit-protocol

FAQs

Package last updated on 10 Mar 2026

Related posts