Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
fix(nodes): require compute-job receipts to be signed by the claiming node's own key
nirholas050af705a1b7
diff --git a/api/nodes/jobs/[id]/result.js b/api/nodes/jobs/[id]/result.jsindex 272747009..6e1641c7d 100644--- a/api/nodes/jobs/[id]/result.js+++ b/api/nodes/jobs/[id]/result.js@@ -66,10 +66,12 @@ export default wrap(async (req, res) => {const prompt = typeof job.input === 'string' ? job.input : job.input?.text ?? '';const model = output?.model || job.model;- const verified = await verifyResultReceipt(- { jobId, model, prompt, output, startedAt, finishedAt },- receipt,- );+ // The receipt must be signed by the claiming node's own key. `node` is only a+ // claim in the body; without pinning the receipt key to it, anyone who knows a+ // job id and its claimant could sign forged output with a key of their own.+ const verified =+ receipt?.publicKey === job.claimedBy &&+ (await verifyResultReceipt({ jobId, model, prompt, output, startedAt, finishedAt }, receipt));if (!verified) {return error(res, 401, 'bad_receipt', 'result receipt does not verify against the claiming node');}