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

オープン
#6 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
32/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript
領域
ai, security, testing

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
JavaScript
スター
75
フォーク
9
平均マージ
2時間 16分
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

togethercomputer/hurdle のほかの issue

togethercomputer/hurdle の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。