Custom Node Proposal: SaveImageSiliconSignature + VerifySiliconSignature — ASIC-Bound Image Authentication
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
Hi @comfyanonymous,
ComfyUI's node-based architecture is perfect for adding a **hardware-bound watermarking node**. I have a project that fits naturally into your ecosystem.
## SiliconSignature — ASIC-Based Image Authentication
We use **ASIC miners** (Antminer S9 BM1387) to generate proof-of-work nonces, then embed them via Reed-Solomon LSB watermarking.
## Proposed Integration: Custom Node
**New node: `SaveImageSiliconSignature`**
```
[VAEDecode] → [SaveImageSiliconSignature] → [PreviewImage]
│
├── image (IMAGE) ← from VAE
├── asic_device (STRING) ← "/dev/ttyUSB0"
├── redundancy (INT) ← 5
├── metadata_json (STRING) ← {"prompt": "...", "seed": 42}
└── include_workflow (BOOLEAN) ← True
```
**Node outputs:**
- `image` — Watermarked image (visually identical)
- `signature_hash` — SHA-256 for blockchain/logging
- `asic_id` — Hardware identifier
- `integrity_score` — Reed-Solomon health check
**Verification node:**
```
[LoadImage] → [VerifySiliconSignature]
│
└── verify_result (STRING)
→ "✅ Signed by ComfyUI-ASIC-0x7a3f... | Integrity: FULL"
```
## Why This Fits ComfyUI
| Feature | Current ComfyUI | + SiliconSignature |
|---------|-----------------|-------------------|
| **Workflow provenance** | JSON in PNG | **+ ASIC-bound proof** |
| **Node composability** | ✅ Yes | ✅ Watermark as a node |
| **Batch processing** | ✅ Yes | ✅ Sign every image in batch |
| **Tamper detection** | ❌ No | ✅ Syndrome per pixel |
| **Offline verify** | ❌ Needs ComfyUI | ✅ Pure Python anywhere |
## Installation
```bash
# Via ComfyUI Manager (if accepted)
comfy node registry-install comfyui-siliconsignature
# Manual
cd ComfyUI/custom_nodes
git clone https://github.com/Agnuxo1/comfyui-siliconsignature.git
```
## Technical Details
- **ASIC**: SHA-256 on Antminer S9 BM1387 (or $30 USB stick)
- **Watermark**: Reed-Solomon GF(2^8), configurable redundancy
- **Embed**: LSB in PNG (preserves ComfyUI's PNG workflow)
- **Verify**: Offline Python, zero dependencies
- **Forge barrier**: Physical ASIC required ($10,000+)
- **Repo**: https://github.com/Agnuxo1/Secure_image_generation_with_ASIC_signature
## Author
Francisco Angulo de Lafuente (@Agnuxo1) — independent researcher, 35 years
Would you be open to a **custom node** for hardware-bound image authentication in ComfyUI?
— Francisco
Contributor guide
Assessment
This issue has not been assessed yet.