Skip to content

Monitoring effectiveness failures: LLM safety evidence paths at evolving framework boundariesMonitor-Validity Failures: LLM Safety Evidence Paths at Evolving Framework Boundaries

arXiv: Jailbreaks, Prompt Injection, Poisoning & Defenses· arXiv:2610.23362· Junchi Liao·Indexed by this site · 2026-10-19· Originally publishedEvaluation

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

Using canary contracts, 18 evidence-path failures were confirmed across 11 framework project groups, of which 14 reached E1.

Questions
Runtime monitors need to read tool calls, streams, detector outputs, and validator inputs. The framework path can still be running, and the detector can already have hit, but the positive result or payload does not reach the block, routing, or validation decision. The authors state this differs from jailbreaks and detector errors.
Methods
The unit of confirmation is the canary contract. A deterministic payload is placed only on the changed evidence surface, recording whether the parent lacks it and whether the fixed version restores visibility or the decision. For a case to count as confirmed, six conditions must hold simultaneously, including existing safety-contract evidence and the parent path still being executable.
Experiments and results
18 cases were confirmed, distributed across 11 framework project groups and four implementation ecosystems; existing boundary 9, new surface 8, boundary-only evidence 1, E1 is 14. In the five-case diagnostic, ordinary functionality checks passed without the canary oracle; visibility-only checks are insufficient to cover the adapter or decision gaps in NeMo and Haystack.
Limitations and future work
The paper does not specifically discuss limitations. The confirmed set was selected by feasibility and determinism, and the Figure 4 caption states that these counts are not prevalence estimates. None of the 18 cases established a complete interval from usable to failing and then repaired. The prospective audit confirmed 1 additional case among 300 recently closed PRs, and 3 cases are still being reproduced.
Experimental setuppublic framework repairs、195 high-signal public PR and issue references et al. · visibility oracle、decision oracle et al.
Benchmarks
public framework repairs195 high-signal public PR and issue referencesLiteLLMPromptfooNeMo GuardrailsSemantic KernelInvariantHaystackCrewAIAutoGenLangChain
Metrics
visibility oracledecision oracleTier A/BE1/E2/E3
AI summaryAn arXiv paper proposes using canary contracts to audit runtime monitoring of LLM applications, and states that in fixes to public frameworks it confirmed 18 evidence paths failing, covering 11 LLM or Agent security project groups and 4 implementation ecosystems. The paper notes that such problems differ from jailbreaks or detector misjudgments: monitoring has already identified the evidence, but the framework does not deliver the result to the interception decision point. Of the 18 cases, 14 reach the E1 execution boundary, including 7 native action results, 6 configuration execution boundaries and 1 synthetic consumer consequence; the rest affect validators, safety prompts or observability channels. The authors recommend adding regression tests on the schemas, streams, tools and adapters of evolving frameworks.

An arXiv paper proposes using canary contracts to audit runtime monitoring of LLM applications, and states that in fixes to public frameworks it confirmed 18 evidence paths failing, covering 11 LLM or Agent security project groups and 4 implementation ecosystems. The paper notes that such problems differ from jailbreaks or detector misjudgments: monitoring has already identified the evidence, but the framework does not deliver the result to the interception decision point. Of the 18 cases, 14 reach the E1 execution boundary, including 7 native action results, 6 configuration execution boundaries and 1 synthetic consumer consequence; the rest affect validators, safety prompts or observability channels. The authors recommend adding regression tests on the schemas, streams, tools and adapters of evolving frameworks.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Identified policy evidence may not reach a still-running monitoring decision point.

    A running framework may fail to act on already-identified policy evidence.

    • Where it appears: The authors state that guardrails in modern LLM applications are rarely just prompt wrappers. Before blocking, routing, redacting or reporting, they may read request objects, tool-call arguments, stream events, generated files, detector outputs or verifier inputs; safety depends on structured evidence between the prompt and the final response.
    • Different from jailbreak: The authors state that this is not a matter of stronger jailbreak prompts or better regexes. In one NeMo Guardrails case, a regex detector returned a structured positive result is_match=true, yet the parent still let it through because that result was not mapped to a block; after the fix added the output mapping, the same canary was blocked.
    • Existing evaluations are insufficient: The authors state that jailbreak and guardrail benchmarks ask whether unsafe behavior can be elicited or identified through a specified interface. Source diffs or issue titles are also insufficient: the same patch may be a real miss, removal of an old boundary, a new feature, or a refactor with no behavioral change.
    • The authors' classification: monitor-validity failure refers to an observable parent/fixed repair contrast; monitor-validity drift is reserved for the longitudinal subtype from working to failing. The authors report that these 18 cases establish only a failing parent and a repaired child. The monitor may still be in the configuration while the evidence changes fields, loses metadata, enters another adapter, or is materialized only after the safety check.
    • How to confirm: The canary contract places a known policy-relevant payload only on the changed evidence surface, records monitor visibility, and in action-boundary cases records the downstream decision. Failures are organized by four dependency types: carrier, adapter from detection result to action, authority of competing channels, and monitored surface.
  2. What related research exists?

    The authors place the problem between guardrail evaluation and software evolution testing, distinguishing identification from evidence delivery.

    The authors position the problem within two bodies of work, guardrail evaluation and software evolution, and distinguish whether evidence reaches the policy boundary, not whether a detector can recognize the payload.

    • Guardrails and agent safety: Jailbroken (Wei, Haghtalab, and Steinhardt 2023), HarmBench (Mazeika et al. 2024), Llama Guard (Inan et al. 2023), and WildGuard (Han et al. 2024) evaluate detection after evidence reaches the intended interface. Agent work extends the interface to actions, traces, tool calls, streams, artifacts, and provider schemas, including ReAct (Yao et al. 2022), Toolformer (Schick et al. 2023), ToolLLM (Qin et al. 2023), InjecAgent (Zhan et al. 2024), AgentDojo (Debenedetti et al. 2024), and AgentHarm (Andriushchenko et al. 2024).
    • Runtime verification and software evolution: Runtime verification discusses properties that can be verified and enforced at runtime (Leucker and Schallhart 2009; Falcone, Fernandez, and Mounier 2012). API evolution work discusses client breakage caused by refactoring (Dig and Johnson 2006). Regression test selection, differential testing, and metamorphic testing compare related executions (Rothermel and Harrold 1997; McKeeman 1998; Chen et al. 2018).
    • Hidden coupling in machine learning systems: Sculley et al. (2015), the ML test score of Breck et al. (2017), and Amershi et al. (2019) document hidden interface coupling and technical debt. The authors state that this work provides motivation for examining hidden coupling.
    • Control setup: The paper does not use the above detectors or cited benchmarks as experimental baselines. The experimental controls are negative examples, random PR batches, and ordinary functionality checks and partial oracles. The object of evaluation is public framework fixes.

    The authors state that model-centric evaluation asks whether a payload can be recognized once presented through a chosen interface; framework-validity checking asks whether the exercised representation reaches that interface, and whether the positive result reaches the intended action, and the two can diverge. The canary contract connects the policy-intent anchor, the payload placed only on the changed surface, and separate visibility and execution oracles to the changed representation.

  3. How does the paper address this problem?

    The canary contract places the payload only on the changed surface and contrasts visibility and decision between parent and fixed.

    The unit of confirmation is the canary contract: one known payload, one repaired boundary, and visibility and decision on the same execution. What it isolates is whether the interface sends evidence to the policy boundary, not prompt or model quality.

    Monitoring validity and repair boundaries

    • Monitor: The authors define it as a component that observes framework state and can influence safety-related decisions. State can be messages, tool calls, stream increments, trace metadata, detector results, provider metadata, or artifact paths; decisions can be blocking, redaction, interrupting tool calls, routing filtered results, restricting automatic tool execution, or producing validator findings.
    • Relative path: Validity is relative to the representation and routing actually used by the policy boundary. A request guardrail may check messages, while the supported path puts the payload in input; the application path can still complete normally.
    • Repair contrast: Cases compare both sides of a public fix. The parent-side path still runs, but the payload is not in the evidence visible to monitoring, or does not reach the decision; fixed connects the same payload to the corresponding oracle. The authors do not require the parent revision to introduce the failure; it is the reproducible nearest failing side.
    • Not drift: Monitor-validity drift is reserved for the temporal subtype from usable to failing and then repaired. The authors report that none of the 18 cases established this complete interval.

    Contract fields and counting conditions

    • Five fields: According to Table 1, the contract records the version pair, the intended boundary, the canary placement, the visibility oracle, and the decision oracle. The boundary field states why the parent should already have observed or executed the payload.
    • Placement: The payload is a tracer of the evidence path, not an attack prompt. The marker can be a rejected tool name, a regex-matchable token, a synthetic credential, a tool parameter, or a vulnerable code snippet; the authors emphasize that what matters is placement, not linguistic difficulty. The payload avoids legacy surfaces so that fixed is not explained by an unrelated detection path.
    • Two oracles: Visibility asks whether the monitor sees the payload, and decision asks whether the intended action occurs. In the regex example, the former asks whether the detector hits, and the latter asks whether that hit blocks the output.
    • Six conditions must hold simultaneously to count: an identifiable parent and fixed; existing safety-contract evidence on the affected surface or an equivalent surface; a deterministic payload placed only on the changed surface; execution of the parent-side monitoring path; the parent missing on visibility or decision; fixed repairing the same item. Candidates that crash, fail closed, or depend on model sampling are recorded separately.

    Four dependency types and canary placement

    According to Table 3, the family marks the dependency that breaks first on the exercised path, and the canary must be placed on that dependency.

    • Carrier: Assumes the payload location is unchanged, and the canary is placed only on the new carrier. In one Invariant case, the policy analyzer matched nested tool calls, but the pending-trace metadata was attached only to the top-level message, and the violation was filtered to not pending.
    • Adapter: Assumes the positive result becomes an action. In one NeMo regex case, the detector returned a structured positive result, and the parent lacked the output mapping that turns that result into a block.
    • Authority: Assumes channel priority follows policy. The canary makes two channels inconsistent, for example a tool call in structured metadata versus harmless text, or a public agent identity replaced by an internal execution clone.
    • Surface: Assumes the materialization order is still covered by the old check. The canary does not appear on the legacy surface, only on the new surface, such as image parts, Responses API input, or real-time stream chunks. The authors state that the Surface cases in this corpus are new-surface validity gaps, not temporal regressions.

    Screening, intent evidence, and tiers

    • Sources and exclusions: The corpus comes from public fix references, issue leads, commit scans, and in-project triage. The reconstructed denominator sweep used monitoring and failure-indicator queries to obtain 195 high-signal public PR and issue references; Appendix B records the query flow and exclusions (Table 9). The intent boundary holds only when supported by configuration semantics, existing behavior on an equivalent surface, upstream or fixed regression tests, documentation, or issue/PR discussion. Loud crashes, unmerged PRs, ordinary feature additions, general authentication or rate-limit defects, and fail-closed parents are excluded.
    • Subtypes: Existing-boundary cases already have the intended affected boundary on the parent side; new-surface cases connect an existing policy expectation to a newly supported representation; the boundary-only row retains a deterministic repair contrast, and the temporal subtype is separate from the first two.
    • Tiers: Tier A executes framework- or module-level monitoring code; Tier B uses stubs to isolate the changed logic. E1 is execution, blocking, interruption, rewriting, filtering, or routing; E2 is validator or safety-prompt evidence; E3 is evidence visible only in the observability channel. Semantic Kernel's Python and .NET count as one project group, and the LiteLLM/Dynamiq stream cases count toward the LiteLLM boundary.
  4. What experiments did the paper conduct?

    18 confirmed failures across 11 project groups, 14 reaching E1; the authors state the counts are not prevalence.

    Experimental setup

    • Object: Monitoring boundaries on public framework fixes, not the general safety of a particular LLM. Table 6 names LiteLLM, Promptfoo, NeMo Guardrails, Semantic Kernel, and there are 7 single-case projects, 11 project groups in total. Examples in the main text also include Invariant, Haystack, CrewAI, AutoGen, LangChain; not all project names are listed individually.
    • Scale: 18 confirmed cases. The denominator sweep covered 195 high-signal references. The prospective rules were frozen before review, and the first pass covered 300 recently closed PRs, of which 186 were merged.
    • Controls: No other attacks or detectors were used as baselines. Controls include random merged PRs, held-out high-risk candidates, negative examples, and ordinary functionality checks and partial oracles on five cases.
    • Oracles and metrics: The visibility oracle checks whether the payload enters evidence visible to monitoring; the decision oracle checks whether the intended action triggers when an action boundary is claimed. Tier A/B, E1/E2/E3, subtypes, and the four families are also reported.
    • Not reported: The paper does not report the LLMs tested, judge models, sampling temperature, number of repetitions, or query budget. Candidates that depend on model sampling are recorded separately and not counted among the 18 cases.
    • Intent evidence: 8 cases from existing tests or fixtures, 5 from issue or PR discussion, 4 from configuration or documentation semantics, 1 from equivalent-surface behavior. Appendix D retains case-level source descriptions.

    Main results

    ItemCountSource
    Confirmed parent/fixed cases18Table 2
    Existing boundary / new surface / boundary-only9 / 8 / 1Table 2
    Framework project groups11Table 2
    Implementation ecosystems4Table 2
    Tier A / Tier B17 / 1Table 2
    E1 / E2 / E314 / 3 / 1Table 2
    • The authors further divide E1 into 7 native action outcomes, 6 configuration execution boundaries, and 1 synthetic-consumer consequence; Appendix Table 11 gives the per-case 7/6/1 mapping. Table 4 is written by form as block/filter/rewrite 5, interrupt or HITL routing 3, hook/cap/policy state 6, with examples NeMo regex, Haystack, CrewAI respectively.
    • The existing-boundary subset is Adapter 4, Authority 3, Carrier 2, all at E1 action boundaries, spanning 8 project groups. The abstract calls the 8 cases new-surface policy-coverage gaps, while the main text calls them new-surface validity gaps; the authors treat Surface cases as related repair-boundary failures, not temporal regressions.
    • The authors state that the percentages in Figure 2 and the composition in Figure 4 are descriptive or convenience-corpus counts, not used as prevalence evidence. The main text does not give the individual percentages in Figure 2. The Figure 1 caption states that the parent monitor still runs but reads an incomplete evidence surface, and the repaired child reconnects the same canary to visibility and decision.

    Cross-project and implementation ecosystems

    • Projects: According to Table 6, LiteLLM 4 cases (proxy, stream, policy), Promptfoo 3 cases (verifier, tool-use), NeMo Guardrails 2 cases (output, multimodal), Semantic Kernel 2 cases (termination, filters), single-case projects 7 cases. The authors state the CSV has 13 raw project labels, grouped into 11 framework project families. The four LiteLLM cases are proxy guardrail input construction, stream-derived tool evidence, in-memory policy update, and pass-through lifecycle hook.
    • Languages: The authors report 6 cases outside Python, distributed across TypeScript, Java, and C#/.NET. Table 5 language column: Carrier is Python 3, TypeScript 2; Adapter is Python 4, C# 1; Authority is Python 2, TypeScript 2; Surface is Python 3, Java 1. The Projects column is 4, 3, 4, 4 respectively, indicating the project groups touched by that family, not mutually exclusive totals.
    • Authors' interpretation: The authors state that the same project can exhibit multiple families at different integration points, and the same family can appear in unrelated frameworks; this is not a conclusion about overall concentration. Table 4's E2 is missing evidence in validator or safety-prompt input, with Promptfoo as the example; E3 is the observability channel, with AutoGen as the example.

    Confirmation-rule validation

    • Table 8: 195 high-signal references newly promoted 9 cases; none of 55 random merged PRs was confirmed; none of 8 held-out high-risk candidates was confirmed; 13 reviewed negative examples were excluded; all 14 known-pattern fixtures express the contract; 3 boundary cases were excluded; 21 mixed candidates reproduced the 18/3 split.
    • Five-case diagnostic: On Invariant, NeMo regex output mapping, CrewAI, Haystack, and LangChain stream redaction, ordinary functionality checks passed without the canary oracle. The authors state that visibility-only checks are insufficient to cover the adapter or decision gaps in NeMo and Haystack, and partial oracles also fail to capture the fixed repair. The full contract combines changed-surface placement, parent/fixed visibility, and decision assertions at action boundaries. Appendix Table 10 gives the case-level comparison.
    • Prospective audit: 300 recently closed PRs, 186 merged, produced 27 term-matching candidates: 23 excluded, 3 still being reproduced, and 1 additional repair-boundary case confirmed outside the retrospective 18 cases.

    Other ablations and analyses

    • Intent evidence sources are tests or fixtures 8, issue/PR 5, configuration or documentation semantics 4, equivalent-surface behavior 1 (main text; Appendix D Table 13).
    • There are 14 known-pattern fixtures in total, checking whether the metadata emitter can express the four types of visibility and decision contracts; the authors state they are not additional failures (Table 2, Table 8).
    • Exclusions include loud crashes, unmerged PRs, ordinary feature additions, general authentication or rate-limit defects, and fail-closed parents.
    • Table 7 writes the reproduction contrast as evidence invisible, execution skipped, wrong authority channel, stale policy state, with repairs respectively restoring the carrier, restoring the adapter, selecting the channel, and rebinding the rule.
    • Figure 3 has one representative contract per family; the 18-case audit matrix is in Appendix D. The main text does not give the specific values on the cards.
    • None of the 18 cases established a complete interval from usable to failing and then repaired (Background).
  5. What are some points that can be further explored?

    The paper does not specifically discuss limitations or future work.

    Limitations and future directions noted by the authors

    The paper does not specifically discuss limitations. The Conclusion suggests regression testing of monitoring assumptions on evolving schemas, streams, tools and adapters, but does not write this as a limitations or future work list.

    Scope of experimental coverage

    • The confirmed objects are 18 parent/fixed repair boundary cases, from 11 framework project groups and 4 implementation ecosystems; reproduction strength is Tier A 17, Tier B 1, and impact is E1 14, E2 3, E3 1 (Table 2).
    • Subtypes are existing boundary 9, new surface 8, boundary only 1. The existing-boundary subset contains Adapter 4, Authority 3, Carrier 2, all in E1, across 8 project groups (RQ1).
    • Validation records include 195 high-signal references, 55 randomly merged PRs, 8 held-out candidates, 13 negative examples, 14 fixtures and 21 mixed candidates (Table 8). The five partial-prediction contrasts are Invariant, NeMo regex output mapping, CrewAI, Haystack, and LangChain stream redaction.
    • The prospective pass covers 300 recently closed PRs, 186 merged, 27 term-matching candidates, confirming 1 case outside the 18-case corpus, with 3 more still being reproduced (RQ4).
    • Cases were selected by feasibility and determinism; the Figure 4 caption states that convenience-corpus counts are not prevalence estimates. The paper does not report the LLMs tested, reviewer models, number of repetitions or query budget. None of the 18 cases establishes a complete working-to-failing-to-repaired interval.
  6. Summarize the main content of the paper

    In the 18 parent/fixed pairs, the evidence path can be broken while the framework is still running; 14 reach E1.

    This is a repair-boundary audit of the evidence path for LLM and agent framework monitoring, checking whether identified evidence still reaches the policy decision.

    • Problem: The application path can return normally, and the monitor can still be in the configuration, but the policy payload has changed carrier, the positive result stops at the adapter, the wrong authority channel is selected, or a new surface appears only after the check. The authors state this differs from jailbreak induction and from a detector failing to recognize.
    • Method: The canary contract fixes parent and fixed, places a deterministic tracer payload only on the changed surface, and records visibility and action separately. The four placement types correspond to Carrier, Adapter, Authority, Surface. Counting requires six conditions to hold simultaneously, and excludes candidates that crash, fail closed, or depend on sampling.
    • Corpus: According to Table 2, 18 cases, 11 project groups, and 4 ecosystems were confirmed; subtypes 9/8/1; Tier A/B 17/1; E1/E2/E3 14/3/1. The authors state E1 contains 7 native action, 6 configuration boundary, and 1 synthetic-consumer consequence. The existing-boundary subset is Adapter 4, Authority 3, Carrier 2, all in E1, spanning 8 project groups.
    • Distribution and controls: The authors state that within a single project, LiteLLM contributes 4 cases, and they belong to different boundaries; 6 cases are outside Python. In five cases, ordinary functionality checks passed without the canary oracle. 195 high-signal references newly promoted 9 cases; none of 55 random merged PRs was confirmed.
    • Prospective and conclusion: After freezing the rules, 1 more case was confirmed among 300 recently closed PRs, outside the retrospective corpus, and 3 more are still being reproduced. The authors argue that detectors, policy DSLs, validators, or LLM-as-judge cannot protect a reproduction boundary that does not send evidence or positive results to the decision point, and that monitoring assumptions need to become explicit contracts across schemas, streams, tools, adapters, and policy update paths.
Read originalarxiv.org