enclave-merkle

Generate Merkle trees and inclusion proofs for Latch Enclave audit logs.

2|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/latchagent/latch-core --skill enclave-merkle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: enclave-merkle
Source: https://github.com/latchagent/latch-core/tree/main/.agents/skills/enclave-merkle
Command: npx skills add https://github.com/latchagent/latch-core --skill enclave-merkle

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides tamper-evident audit logging and verification using Merkle trees, ensuring data integrity for the Latch Enclave attestation system.

Core Features & Use Cases

  • Tamper-Evident Audit Logs: Generate Merkle roots from event hashes for undeniable proof of log consistency.
  • Inclusion Proofs: Provide O(log n) proofs that specific events were included in a Merkle tree.
  • Consistency Proofs: Verify that an old log is a prefix of a new log without reprocessing all events.
  • Use Case: Securely attest to the integrity of log files generated by Latch agents or other critical systems by leveraging Merkle proofs.

Quick Start

Use the enclave-merkle skill to generate a Merkle root from a list of event hashes.

Frequently Asked Questions about enclave-merkle

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create tamper-evident audit logs with Merkle trees?

Tamper-evident audit logs use Merkle trees to generate cryptographic roots from event hashes, proving log consistency. This Skill creates those roots and proofs specifically for high-assurance tamper detection in distributed systems.

How does a Merkle inclusion proof verify event logs?

A Merkle inclusion proof verifies event logs by providing O(log n) cryptographic evidence that a specific event hash was included in the tree. This ensures individual log entries cannot be denied or altered without detection.

Do I need Node.js crypto to generate SHA-256 Merkle roots?

Yes, you need the Node.js crypto module to perform SHA-256 hashing when generating Merkle roots. This Skill requires that specific environment to compute the cryptographic proofs needed for attestation.

What is a Merkle consistency proof for log management?

A Merkle consistency proof verifies that an older log is a strict prefix of a newer log without reprocessing all events. It ensures append-only log integrity for distributed systems and agent log management.

Can I use this for Latch Enclave attestation systems?

Yes, this Skill is specifically designed for the Latch Enclave attestation system. It securely attests to the integrity of log files generated by Latch agents using cryptographic Merkle proofs.

When do I need cryptographic proofs for audit trails?

You need cryptographic proofs for audit trails when managing high-assurance distributed systems requiring tamper detection. They provide undeniable mathematical verification of event inclusion and log consistency.