Generated reports

Generated report detail

ATTACK: hash-algo-mismatch

Fixture attack-xchain-hash-algo-mismatch-v0 generated pass at 2026-06-10T22:58:55.221Z.

JSON
Status
pass
Steps
1/1
Invariants
0/1
Snapshots
2

Environment

Mode

mock-fakenet

gRPC Endpoint

n/a

Fakenet Command

model

NEGATIVE CONTROL (expectRejected=true): a cross-chain exploit that the invariant MUST catch.

Nockchain leg locks under keccak256 — a hash Nockchain (%hax=Tip5) cannot compute.

expectRejected inverts a CAUGHT exploit to a green PASS (a signed proof-of-prevention).

Next Actions

  1. Replace mock poke and peek execution with local fakenet adapter calls.
  2. Replace command-backed fakenet metadata probes with stable gRPC-native probes once node surfaces are available.
  3. Persist generated reports under a project workspace.
  4. Add app-specific invariant packs as the NockApp interface stabilizes.

Invariant Packs

No invariant packs referenced.

Run Steps

Observe the terminal joint state

bridge

pass

true

Invariant Results

Each leg must use a chain-computable hash

critical

fail

Observed HASHLOCK MISMATCH: nockchain: keccak256 not computable on that chain (allowed: tip5); expected each HTLC leg locks the shared preimage under a hash its own chain can compute, with distinct per-chain commitments, under xchain.

Alerts

No alert policies configured.

Adapter Observations

No adapter observations captured.

State Diffs

PathBeforeAfter
xchain.observedundefinedtrue

Snapshot Timeline

Initial state

initial

70a438c3dedca6b6

After observe

observe

79dc2b034e545c43

Artifacts

Report ID

lab_attack-xchain-hash-algo-mismatch-v0_20260610225855221

Report Hash

sha256:fe5325655cc4b637ac17a448b0e7136d28865fb06290318e533c03b4710adb9c

Snapshot Root

79dc2b034e545c43

JSON Path

/bundle/server-functions/default/.nocklab/attack-xchain-hash-algo-mismatch.report.json

Markdown Path

/bundle/server-functions/default/.nocklab/attack-xchain-hash-algo-mismatch.report.md

Markdown Bytes

1059

Changed Paths

xchain.observed

Markdown Preview

# ✅ ATTACK: hash-algo-mismatch Lab Report

Alert Summary

0 triggered, 0 clear

Verification Candidate

Candidate

ATTACK: hash-algo-mismatch Verification Candidate

Status

watch

Signature

unsigned

Invariant Packs

none

Report Hash

sha256:fe5325655cc4b637ac17a448b0e7136d28865fb06290318e533c03b4710adb9c

Snapshot Root

79dc2b034e545c43