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

Đang mở
#6 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
32/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
ai, security, testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
JavaScript
Star
75
Fork
9
Merge trung bình
2 giờ 16 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của togethercomputer/hurdle

Tất cả issue của togethercomputer/hurdle

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.