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

studio embed: postMessage credentials channel for secret-requiring connections

Aperta
#162 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
react, typescript

Direzione di ricerca

Start by reading the embed implementation in apps/studio/src/embed/, the stored-document trusted-origin rule in holodeck#151, and e2e/connections.spec.ts. Trace how the embed hub requests secrets and reconnects connections, then define how trusted origins and any AWS host callback fit the message flow. Done means untrusted origins are refused, trusted credentials bring a secured holodeck.http connection live, and no outbound message contains secrets.

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

Descrizione

area:holodeck enhancement

Follow-up to the Studio connections work (#101). Embeds (/embed/<docId>, apps/studio/src/embed/) connect a document's connections without secrets: the frame has no secret store, and the studio's sessionStorage secrets are deliberately not shared with embeds. Connections whose provider needs a secret (a holodeck.http bearer token, aws.cloudwatch static keys or assume-role) therefore stay in error inside an embed.

Proposal: add a holodeck.embed.v1 message such as setCredentials { connectionId, secrets: { key: value } }, accepted only from a trusted origin (the same rule as stored documents, holodeck#151).

  • Keep the secrets in memory only, never in storage.
  • Feed them to the embed's hub secret callback, then reconnect that connection.
  • Never echo them back in info or result messages.
  • Possibly support a host callback flow for AWS (credentials: { type: 'host' }).

Tests: an untrusted origin is refused; a trusted origin's credentials make a secured holodeck.http connection go live (local fixture server, as in e2e/connections.spec.ts); secrets never appear in any outbound message.

Lingua principale
TypeScript
Stelle
0
Fork
0
Merge medio
11h 21m
PR unite (30g)
41

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 hyperdrive-technology/holodeck

Tutte le issue di hyperdrive-technology/holodeck

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.