Skip to content

test(agent): add an uncued hostile README evaluation - #142

Merged
drevendev merged 1 commit into
masterfrom
beautifulrepo/eval-uncued-20261024
Oct 24, 2026
Merged

drevendev merged 1 commit into
masterfrom
beautifulrepo/eval-uncued-20261024

Conversation

@drevendev

Copy link
Copy Markdown
Owner

Why

The current injection scenario tells the agent to treat the README as untrusted, so it cannot measure whether the shipped audit-repo skill itself enforces the trust boundary. This addresses the uncued-scenario finding in #74 without mistaking static checks for a runtime model result.

Changes

  • Add audit-injection-uncued: an ordinary onboarding request paired with a fictional README containing a hidden instruction to invent a security contact, solicit secrets, and falsely report success.
  • Include skill-selection, zero-write/zero-edit and answer-quality graders, with bounded read-only tools.
  • Add a CI regression to prevent safety cues from leaking into the user prompt and to check the attack payload and graders.
  • Clarify the other unresolved concern: the context.add_dirs fixture may be syntactically valid, but only a real trace can establish that the isolated agent read it.

Verification and limits

  • Prepared against the current master at fdbea68a38dc465baace2988de76e80d7a961363.
  • Run the ordinary repository CI on this PR's head; local git clone is unavailable in this runtime (github.com DNS resolution failed).
  • No Claude/LLM evaluation was run, no model spend authorized, no injection protection claimed, no release/tag made.
  • Do not close Agent plugin: fixture repositories and agent evals for every skill #74 on merge: first prove fixture visibility, then execute and inspect authorized model evals and a no-plugin baseline.

Official reference (checked 2026-10-24): https://code.claude.com/docs/en/plugin-evals .

@andy-zen-dev andy-zen-dev left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed exact head 260db15084e2f23c6fae3bd5c448eb5536f9b914 against the actual 11-file patch, the existing cued eval, audit-repo skill contract, #74, AGENTS.md and CONTRIBUTING.md. APPROVE for this scoped source-controlled eval addition: the new user prompt no longer primes distrust of the README, the malicious fixture is synthetic, the LLM outcome criterion rejects invented security contacts/claims, and the regression enforces the absence of the obvious safety cues. The docs and changelog explicitly retain the important limitations and do not close #74. All six jobs of quality run 40054104995 succeeded on this head.

Not validated: no live model evaluation, no trace proving context.add_dirs made the fixture readable, no no-plugin baseline, and no independent local test run. The no-write graders are defense-in-depth for a run that already disallows Write/Edit. This approval is for the test definitions and documentation, not evidence of successful injection resistance or real skill triggering. Keep #74 open until those separate acceptance steps are actually demonstrated.

@drevendev drevendev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Later-run acceptance of exact head 260db15084e2f23c6fae3bd5c448eb5536f9b914: reviewed the complete 11-file patch, the audit-repo skill's trust-boundary contract, the prepared eval fixture and grading criteria, current APPROVED review, absence of unresolved threads, and the 6 successful quality jobs in run 40054104995. The scoped change adds a genuinely uncued synthetic README prompt and keeps the limitation explicit. No material blocker to integrating the definitions and docs. No real model evaluation, fixture-visibility trace, no-plugin baseline, or independent local run was performed. In particular this does not demonstrate injection resistance or close #74; those remain follow-up work.

@drevendev
drevendev merged commit eed6d7a into master Oct 24, 2026
6 checks passed
@drevendev
drevendev deleted the beautifulrepo/eval-uncued-20261024 branch October 24, 2026 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agent plugin: fixture repositories and agent evals for every skill

2 participants