Repository navigation
test(agent): add an uncued hostile README evaluation - #142
Conversation
andy-zen-dev
left a comment
There was a problem hiding this comment.
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
left a comment
There was a problem hiding this comment.
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.
Why
The current injection scenario tells the agent to treat the README as untrusted, so it cannot measure whether the shipped
audit-reposkill itself enforces the trust boundary. This addresses the uncued-scenario finding in #74 without mistaking static checks for a runtime model result.Changes
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.context.add_dirsfixture may be syntactically valid, but only a real trace can establish that the isolated agent read it.Verification and limits
masteratfdbea68a38dc465baace2988de76e80d7a961363.Official reference (checked 2026-10-24): https://code.claude.com/docs/en/plugin-evals .