LLM proxy in the control plane so the Anthropic key never enters a runner

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

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
fastapi, python
Ambito
ai, backend, security

Direzione di ricerca

Start by locating the control plane and runner code that currently passes ANTHROPIC_API_KEY, then trace how jobs receive tokens and how the Anthropic SDK is configured. The issue specifies a Messages API proxy, per-job authentication, and centralized dollar caps based on response usage, but does not name files or tests. Done means runners use ANTHROPIC_BASE_URL with a job token and cannot bypass the job's budget cap.

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

Descrizione

enhancement security

Today runners receive ANTHROPIC_API_KEY by environment variable. Instead:

  • The control plane exposes a Messages API proxy that accepts a per-job token and forwards to Anthropic with the real key.
  • It enforces the job's dollar cap centrally (it sees every response's usage).
  • The runner points the SDK at it with ANTHROPIC_BASE_URL and the job token.

This removes the most valuable secret from the isolated machine and makes budgets impossible to bypass from inside a runner.

Lingua principale
Python
Stelle
1
Fork
1
Merge medio
9h 33m
PR unite (30g)
1

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 Mystery01092000/pullwright

Tutte le issue di Mystery01092000/pullwright

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.