Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

transport.a2a_adapter / a2a_sdk / hardware_acceptance: unvalidated message/metadata types, empty parent_record_hash, unsafe float-to-int coercion, and duplicate JSON keys

Aperta
#286 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@drk-ram ci sta già lavorando.

Dal 25/10/2026.

  • #291 di @drk-ram — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend, security

Direzione di ricerca

Start with src/ca2a_runtime/transport/a2a_adapter.py and src/ca2a_runtime/transport/a2a_sdk.py, then inspect hardware_acceptance.py and the related tests. Check how invalid types, empty hashes, unsafe numeric values, duplicate JSON keys, and nonstandard constants are handled; done means each case is rejected or reported through the intended validation path. Pull request #291 is already open for this issue.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

needs-review:MEDIUM
Summary
  1. collect_metadata in src/ca2a_runtime/transport/a2a_adapter.py raises AttributeError/TypeError instead of TransportError when message_or_request or metadata is not a dict, and parse_peer_request accepts an empty string "" for parent_record_hash.
  2. metadata_from_sdk_message in src/ca2a_runtime/transport/a2a_sdk.py converts any float where value.is_integer() is True into int(value) without bounding to the RFC 8785 safe-integer limit (2**53 - 1), coercing imprecise IEEE-754 floats >= 2**53 into fabricated integers.
  3. hardware_acceptance.py loads config and chain JSON without rejecting duplicate keys or NaN/Infinity constants, and does not verify isinstance(config, dict) or isinstance(raw_chain, list).
Lingua principale
Python
Stelle
9
Fork
14
Merge medio
19h 54m
PR unite (30g)
47

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di agentrust-io/ca2a

Tutte le issue di agentrust-io/ca2a

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.