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

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
32/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
ai, security, testing

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
JavaScript
Stars
75
Forks
9
Avg merge
2h 16m
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from togethercomputer/hurdle

All issues in togethercomputer/hurdle

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.