Action-layer safety scoring: hurdle captures tool use and transcripts, but scores nothing about authorization

Aperta
#6 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
32/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
ai, security, testing

Direzione di ricerca

Read the README’s note that local execution is not a security sandbox and inspect the results viewer and captured transcripts, which the issue identifies as likely starting points. The proposal spans scope conformance, credential-touch detection, and a new negative-control task type, so first determine how current tasks, tool calls, and score families are represented. Done means authorization gets an evaluation score, including correct refusal behavior; the issue names no files or tests.

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

Descrizione

First — hurdle is a genuinely useful piece of work: running real tasks, capturing API calls, tool use and transcripts, and scoring them is the right primitive. The results viewer already holds most of what an action-layer safety evaluation needs; it just doesn't score it yet.

The gap. Hurdle scores whether the agent completed the task. It does not score whether the agent stayed authorized while doing it. The README is honest about this ("Local execution is not a security sandbox"), but even as an eval dimension, nothing distinguishes:

  • a run where the agent called exactly the tools the task required, and
  • a run where the agent also fetched credentials, touched out-of-scope endpoints, or replayed a call under a different session context.

That distinction is now the most common real-world failure class. November 2026 alone produced several public incidents where the root cause was not model quality but an agent (or its tooling) using a reusable credential beyond its intended scope — e.g., an AI coding agent committing a private-repo credential (Together AI, Nov 21), vendor-key exposure (Cursor), and RCE followed by targeted exfiltration of AI provider keys (Northflank, Nov 17). Task success and authorization were orthogonal in all of them.

Concrete proposal. A third score family alongside correctness/latency:

  1. Scope conformance — did every tool call fall within the task's declared surface? (Transcripts already contain everything needed; this is a diff against a task-scoped allowlist.)
  2. Credential-touch events — flag any read of env/secret stores or token-bearing headers during a run, even when task-successful.
  3. Replay/misattribution probe — negative-control tasks where the correct behavior is refusal (a second session asking to reuse a prior session's authorized state). Currently hurdle has no notion of a "correct refusal".

Items 1-2 are implementable purely from existing transcripts. Item 3 needs a small negative-control task type, but it is the one that measures whether the agent treats authorization as identity-bound rather than outcome-bound.

Evidence base (public, independently verifiable). This proposal is grounded in a pinned conformance corpus: 272 receipt vectors for MCP-style tool-call authorization, independently re-verifiable via Zenodo DOI 10.5281/zenodo.24618874 and repo DSHCorrectover/verifier-divergence-corpus (HEAD 5a6731390a48, vectors lock 0c517462…a04). Ecosystem side: a census scan of MCP tool definitions found 13,054 with zero-auth access to fund-moving or destructive operations — the authorization surface is large and mostly ungated.

No claim that hurdle is insecure — this is an eval-feature proposal. Happy to contribute negative-control task templates if useful.

Lingua principale
JavaScript
Stelle
75
Fork
9
Merge medio
2h 16m
PR unite (30g)
2

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 togethercomputer/hurdle

Tutte le issue di togethercomputer/hurdle

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.