Remove plaintext audit dataset keys from model-owner CLI output
Maintainer antworten meist innerhalb von 1 Tag
@0xzoz arbeitet bereits daran.
Seit 12.11.2026.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 58/100
Rechercherichtung
Start with the logging call in dincli/cli/modelownerd/auditor_batches.py lines 309–311 and the returned object in cache_model_1/services/modelowner.py lines 247–263. Review adjacent audit and dispute paths for similar logging, then capture success, retry, and failure CLI output with synthetic key bytes. Done means logs retain batch counts and public CIDs without exposing keys, while encryption and decryption still work.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Observed against ed175d0deceddfa2e63175ec7752c800b31c1fbf during the November 10 Fashion-MNIST local test investigation. The subsequent full round with three notebooks and a Raspberry Pi used recorded workarounds; its success does not establish that this upstream defect is fixed. Related: #276 and #40.
Problem and evidence
create-testdataset prints the complete audit_testDataCIDs result. The reference service includes K, the raw 32-byte AES key, in each item. Consequently normal CLI output includes the decryption keys as well as ciphertext CIDs.
Our experiment removed this output before collecting shareable evidence. An additional focused reproduction used synthetic key bytes and the same Rich logging call: the key was present in captured output. No real key is needed in an issue or regression test.
Someone with access to such logs and the ciphertext can decrypt the batch without the intended auditor-specific key delivery. This is a log-access exposure, not evidence that an unauthenticated remote user can obtain the logs. Our dataset was public Fashion-MNIST; we did not demonstrate a leak of a private production dataset.
Proposed scope
Replace the raw object dump with an allowlisted summary such as batch count, batch index and public CID. Keep K available internally for encryption, but exclude it from normal/debug output and exception diagnostics. Review the adjacent audit/dispute paths for the same logging pattern.
Acceptance criteria
- Success, retry and failure output do not contain a synthetic key in bytes, hex or base64 form.
- Batch counts/CIDs remain available for diagnosis.
- Auditor key encryption and dataset decryption still work.
- Tests capture CLI output, rather than merely checking that one print statement was deleted.
Full-round test report
See Discussion #331 — Fashion-MNIST with three notebooks and a Raspberry Pi for the setup diagram, completed protocol roles, results and experiment adaptations.
- Vorherrschende Sprache
- Python
- Sterne
- 4
- Forks
- 7
- Ø Merge
- 5 T. 15 Std.
- Gemergte PRs (30 T.)
- 43
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus InfiniteZeroFoundation/DevNet
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
InfiniteZeroFoundation/DevNet#344 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Update the 25 translated organisation READMEs to match the English versionEvtl. vergeben @mrCabez hat das vor 15 Tagen übernommen. Offengood first issue help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
InfiniteZeroFoundation/DevNet#277 · 3 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Validator income: separate protocol (i.e., network) fees from DIN issuance, stop calling both "rewards", and keep DIN for stakingEvtl. vergeben @umermjd11 hat das heute übernommen. Offenenhancement
InfiniteZeroFoundation/DevNet#340 · 3 zugewiesene Personen ·
Maintainer antworten meist innerhalb von 1 Tag
-
Make reference auditors honor `audit_scoring_policy` in the manifestEvtl. vergeben @0xzoz hat das vor 2 Tagen übernommen. OffenApproved
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 54/100
InfiniteZeroFoundation/DevNet#330 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Serialize only assigned audit examples, not the full parent datasetEvtl. vergeben @0xzoz hat das vor 2 Tagen übernommen. OffenApproved
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
InfiniteZeroFoundation/DevNet#329 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in InfiniteZeroFoundation/DevNet
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
OCA/account-invoicing#2529 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area/ci
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag
-
ImageGen generate-batch aborts valid JSONL jobs containing a Unicode line separator in poster textOffenbug imagen skills
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
Email validation accepts a trailing newlineEvtl. vergeben @marcello-pichini hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag