{"entry":{"fixtureId":"attack-xchain-replay-namespacing-v0","appSlug":"attack-xchain-replay-namespacing","appName":"ATTACK: replay-namespacing","reportId":"lab_attack-xchain-replay-namespacing-v0_20260610225855226","generatedAt":"2026-06-10T22:58:55.226Z","status":"pass","jsonPath":"/bundle/server-functions/default/.nocklab/attack-xchain-replay-namespacing.report.json","markdownPath":"/bundle/server-functions/default/.nocklab/attack-xchain-replay-namespacing.report.md","reportHash":"sha256:4f5cc76207d951ee16828986566f5df75ea3e61f06cd985e2e92fe8b1f6ef278","snapshotRoot":"1a96f2fb4ba768c0","badgeCandidate":{"id":"badge-candidate-attack-xchain-replay-namespacing","label":"ATTACK: replay-namespacing Verification Candidate","reportSlug":"attack-xchain-replay-namespacing","fixtureId":"attack-xchain-replay-namespacing-v0","status":"watch","evidenceKind":"exploit-prevention","statusReDerived":"pass","statusConsistent":true,"kernelHash":null,"kernelVerified":false,"baseDeploymentHash":null,"baseVerified":false,"signatureStatus":"unsigned","evidence":{"reportHash":"sha256:4f5cc76207d951ee16828986566f5df75ea3e61f06cd985e2e92fe8b1f6ef278","snapshotRoot":"1a96f2fb4ba768c0","invariantPacks":[]}},"stepsPassed":1,"stepsTotal":1,"invariantsPassed":0,"invariantsTotal":1,"alertsTriggered":0,"snapshotsCaptured":2,"adapterObservationCount":0,"invariantPackCount":0},"report":{"reportId":"lab_attack-xchain-replay-namespacing-v0_20260610225855226","fixtureId":"attack-xchain-replay-namespacing-v0","generatedAt":"2026-06-10T22:58:55.226Z","app":{"name":"ATTACK: replay-namespacing","slug":"attack-xchain-replay-namespacing","version":"0.0.1","kernel":"xchain-attack-model"},"environment":{"mode":"mock-fakenet","grpcEndpoint":"n/a","fakenetCommand":"model","notes":["NEGATIVE CONTROL (expectRejected=true): a multi-EVM cross-chain exploit the invariant MUST catch.","One Nockchain burn (id wd-001) processed on BOTH Base (8453) and Arbitrum (42161) - double mint.","expectRejected inverts a CAUGHT exploit to a green proof-of-prevention."]},"summary":{"status":"pass","stepsPassed":1,"stepsFailed":0,"invariantsPassed":0,"invariantsFailed":1,"alertsClear":0,"alertsTriggered":0,"snapshotsCaptured":2,"durationMs":17,"expectRejected":true,"rawStatus":"fail"},"invariantPacks":[],"steps":[{"id":"observe","type":"bridge","title":"Observe terminal joint multi-EVM state","status":"pass","expectation":"xchain.observed == true","observed":"true","beforeHash":"0eed1bcfdfcb0e55","afterHash":"1a96f2fb4ba768c0","stateDiffs":[{"path":"xchain.observed","before":"undefined","after":"true"}],"durationMs":19}],"invariants":[{"id":"replay-namespacing","title":"Replay keyed per (destChainId, id)","severity":"critical","status":"fail","observed":"XCHAIN REPLAY: wd-001 misrouted to 42161 (expected 8453)","expected":"each message unique per (destChainId,id), carries a sourceChainId, routed to its expected chain, under xchain.routing"}],"alerts":[],"adapterObservations":[],"stateSnapshots":[{"label":"Initial state","stateHash":"0eed1bcfdfcb0e55","state":{"xchain":{"routing":{"processed":[{"id":"wd-001","sourceChainId":0,"destChainId":8453,"sourceTxHash":"0xabc"},{"id":"wd-001","sourceChainId":0,"destChainId":42161,"sourceTxHash":"0xabc"}],"expectedRoute":{"wd-001":8453}}}}},{"label":"After observe","stateHash":"1a96f2fb4ba768c0","state":{"xchain":{"routing":{"processed":[{"id":"wd-001","sourceChainId":0,"destChainId":8453,"sourceTxHash":"0xabc"},{"id":"wd-001","sourceChainId":0,"destChainId":42161,"sourceTxHash":"0xabc"}],"expectedRoute":{"wd-001":8453}},"observed":true}},"stepId":"observe"}],"stateDiffs":[{"path":"xchain.observed","before":"undefined","after":"true"}],"nextActions":["Replace mock poke and peek execution with local fakenet adapter calls.","Replace command-backed fakenet metadata probes with stable gRPC-native probes once node surfaces are available.","Persist generated reports under a project workspace.","Add app-specific invariant packs as the NockApp interface stabilizes."]},"markdown":"# ✅ ATTACK: replay-namespacing Lab Report\n\n> **PASS** — 1/1 steps · 0/1 invariants · 0 alerts · 17ms\n\n| Field | Value |\n| --- | --- |\n| Report | `lab_attack-xchain-replay-namespacing-v0_20260610225855226` |\n| Fixture | `attack-xchain-replay-namespacing-v0` |\n| Status | ✅ pass |\n| Steps | 1 passed, 0 failed |\n| Invariants | 0 passed, 1 failed |\n| Alerts | 0 clear, 0 triggered |\n| Snapshots | 2 |\n\n## Steps\n\n- ✅ `observe` — true _(xchain.observed == true)_; 0eed1bcfdfcb0e55 -> 1a96f2fb4ba768c0\n  - xchain.observed: undefined -> true\n\n## Invariants\n\n- ❌ `replay-namespacing` — XCHAIN REPLAY: wd-001 misrouted to 42161 (expected 8453) _(expected each message unique per (destChainId,id), carries a sourceChainId, routed to its expected chain, under xchain.routing)_\n\n## Alerts\n\n- No alert policies configured.\n\n## Adapter Observations\n\n- No adapter observations captured.\n\n## State Diffs\n\n- xchain.observed: undefined -> true\n\n## Snapshot Timeline\n\n- Initial state: 0eed1bcfdfcb0e55\n- After observe: 1a96f2fb4ba768c0\n\n","evidence":{"stateDiffCount":1,"snapshotCount":2,"alertCount":0,"triggeredAlertCount":0,"clearAlertCount":0,"triggeredCriticalAlertCount":0,"triggeredWarningAlertCount":0,"triggeredInfoAlertCount":0,"environmentMode":"mock-fakenet","grpcEndpoint":"n/a","environmentNoteCount":3,"nextActionCount":4,"firstNextAction":"Replace mock poke and peek execution with local fakenet adapter calls.","invariantPackCount":0,"invariantPackIds":[],"invariantPackDomains":[],"firstInvariantPackPath":"","changedPaths":["xchain.observed"],"markdownPreview":"# ✅ ATTACK: replay-namespacing Lab Report"}}