[security][design] Anti-Sybil / fingerprint-forgery: registration + hardware root of trust (NOT a blind patch)
I maintainer di solito rispondono entro 10 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 8/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- authentication, blockchain, security
Direzione di ricerca
Start with validate_fingerprint_data, anti_double_mining.compute_machine_identity_hash and _detect_exotic_arch, plus the anti-emulation has_evidence check, to see how the fingerprint gate is built. The issue is a design discussion, not a patch: it needs a maintainer decision on registration, the Ed25519 signing scheme and a coordinated client+server rollout before any code. Done would be an agreed design doc and migration plan, not a merged fix.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
From the quad-brain red-team. The anti-VM fingerprint gate has Critical/High forgery + Sybil findings, but naive server-side hardenings break the legitimate fleet and must NOT be shipped blindly.
Findings
- [Critical]
validate_fingerprint_data: vintage/exotic multiplier is gated by self-reported software-timing checks with no hardware root of trust — fully forgeable. - [High]
anti_double_mining.compute_machine_identity_hash: identity = hash of client floats rounded to 6 dp (clock_cv,thermal_var, …). Sub-percent micro-perturbation → new identity → evades dedup (Sybil/farm). - [High]
_detect_exotic_archtrusts claimedmachine/cpu_brandwith no corroboration (modern-ARM-as-x86 / exotic spoof). - [High] anti-emulation
has_evidenceis satisfied by an emptyvm_indicators: []— but honest hardware also sends empty (real HW has no VM markers), so it can't simply be rejected. - [Low] Ed25519 attestation signature does not cover the device/fingerprint fields (claims are forgeable per-key).
Why naive fixes are UNSAFE (would penalize the real fleet)
- Coarsen fingerprint buckets → identical-model fleet (multiple G4 PowerBooks, multiple G5s) collapses to one identity → only one rewarded.
- Per-IP / per-subnet cap → the whole local fleet sits behind one home NAT/public IP → caps legitimate machines.
- Require positive anti-emulation evidence → honest hardware sends empty
vm_indicators→ rejecting empty rejects honest miners (needs a coordinated client+server change).
Safe design direction (needs Scott's input + a migration plan)
- Per-machine registration / allowlist: owner pre-registers known machine-identity hashes (+ public IP allowance); registered machines are exempt from caps. Unknown near-duplicate clusters get rate-limited, not auto-penalized.
- Bind Ed25519 over
sha256(canonical(device))|sha256(canonical(fingerprint))(client+server lockstep, versioned scheme) so claims are non-repudiable per key. - Server-issued nonce mixed INTO the timing benchmark + statistical models of expected G4/G5 distributions; reject out-of-distribution claims.
- Positive proof-of-scan in anti-emulation (client emits
paths_checkedhashes; server cross-checks) — coordinated client rollout across all 4 miner variants. - Hardware-rooted attestation (TPM / secure-element / provisioned per-machine key) for the real long-term fix.
- Near-duplicate clustering REPORT (flag for review, do not auto-penalize) as a safe interim monitoring step.
CHAOTIC-tier; coordinated client+server rollout; must not break the fleet-behind-NAT or identical-hardware fleet. Good multi-part bounty.
- Lingua principale
- Python
- Stelle
- 850
- Fork
- 589
- Merge medio
- 11g 7h
- PR unite (30g)
- 29
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Scottcjn/Rustchain
-
utxo_ledger (reference): failed apply_transaction leaks already-created outputs (supply inflation)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 10 giorni
-
SDK CLI prints 0 RTC for canonical /wallet/balance responsesForse già presa @ArtyormSatori l’ha presa 37 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Scottcjn/Rustchain#8580 · 4 commenti ·
I maintainer di solito rispondono entro 10 giorni
-
utxo_ledger (reference): no coinbase authorization; mempool admits any input-less MINING_REWARDAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
I maintainer di solito rispondono entro 10 giorni
-
[SECURITY] Non-finite and garbage weights pass the sybil-guard money chain — enrollment_weight has no isfinite guard and epoch_weight_to_units raises on NaN/infForse già presa @thinhnx128 l’ha presa 28 giorni fa. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
Scottcjn/Rustchain#8619 · 2 commenti ·
I maintainer di solito rispondono entro 10 giorni
-
[Antiquity] Celeron M (Banias/Dothan, 2004) has no brand rule — real vintage silicon falls to x86 default 1.0x while its Pentium M twin earns 1.9xForse già presa @Limm-web l’ha presa 60 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
Scottcjn/Rustchain#8578 · 5 commenti ·
I maintainer di solito rispondono entro 10 giorni
Tutte le issue di Scottcjn/Rustchain
Issue simili
-
[Resource]: SpaicelyApertaresource-submission validation-passed
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
hesreallyhim/awesome-claude-code#3875 · 1 commento ·
-
[Bug]: Ajax Pro login issueApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
bvis/aegis-hass#725 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
datasektionen/cashflow#468 ·
-
dont call alembic upgrade until we check whether or not the cache DB has an alembic version stampAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Bug: AttributeError: 'GptOssConfig' object has no attribute 'rope_scaling_factor' with transformers >= 5.xForse già presa @NimaVaziri l’ha presa oggi. ApertaPytorch
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
NVIDIA/TensorRT-LLM#23406 ·
I maintainer di solito rispondono entro 1 giorno