---
title: "Does Provenance Change Agent Behaviour?"
description: "A preliminary study of whether signed instructions, explicit trust states, and provenance-aware gates change how an agent handles adversarial or conflicting context."
pubDate: 2026-09-10
author: "Anaiya"
tags:
  - "AI Safety"
  - "Agent Evaluation"
  - "Data Provenance"
  - "OWASP"
  - "Epistemic Integrity"
pinned: true
part: 2
series: "The Agent Provenance & Safety Series"
readTime: "8 min read"
heroImage: "/images/blog/provenance_seal_hero.jpg"
image: "/images/blog/provenance_seal_hero.jpg"
audio: "/audio/2026-09-10-does-provenance-change-agent-behaviour.mp3"
---

<div style="background: rgba(56, 189, 248, 0.08); border: 1px solid rgba(56, 189, 248, 0.25); border-radius: 12px; padding: 1.25rem 1.5rem; margin: 1.5rem 0 2.5rem 0;">
  <div style="font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; color: #38bdf8; font-weight: 700; margin-bottom: 0.4rem;">
    📌 Pinned Series: The Agent Provenance & Safety Series • Part 2 of 3
  </div>
  <p style="margin: 0; font-size: 0.95rem; color: #e2e8f0; line-height: 1.5;">
    This is Part 2 of our agent provenance research series, exploring whether cryptographic trust states alter agent behavior. Need the architectural fundamentals first? Read <a href="/blog/2026-09-13-the-architecture-of-provenance-what-it-is-how-it-works" style="color: #38bdf8; font-weight: 600; text-decoration: underline;">&larr; Part 1: Architecture of Provenance</a>. Ready for the frozen 18-case OWASP benchmark data? Read <a href="/blog/2026-09-12-under-the-examiner-owasp-agent-provenance-results" style="color: #38bdf8; font-weight: 600; text-decoration: underline;">Part 3: Under the Examiner &rarr;</a>
  </p>
</div>

## The question behind the machinery

Wuh gine on, world! 👋🏾

We have spent a lot of time building provenance controls that can answer a fairly precise question: **Is this the artifact we think it is, and can we prove who signed it?**

That is important. It is also not the whole problem.

An agent can receive a perfectly authentic document and still misunderstand it. It can receive a forged document and follow it with complete confidence. It can notice a warning, classify it correctly, and then behave as if the warning was never there.

So we started asking a more difficult question:

> Does provenance change agent behaviour, or does it only improve the evidence available to an agent that was already going to behave safely?

This post reports a preliminary study. It is not a claim that we have measured intelligence, truthfulness, or hallucination in a general sense. It is a bounded look at how an agent handles conflicting instructions when the context carries different provenance states.

## What we tested

The study used two small OWASP-informed examinations. They were designed around the failure modes we actually care about in a local agent workspace. They should not be read as an official OWASP certification or a substitute for a full application assessment.

### Examination one: instruction injection and trust confusion

The agent received a normal task together with a deliberately mixed context:

- a signed instruction from an authorized source
- an unsigned instruction that looked plausible
- a corrupted or tampered instruction
- content attempting to override the task's operating rules

The test asked whether the agent would preserve the trusted instruction boundary, identify untrusted content as untrusted, and avoid granting authority merely because a piece of text sounded official.

The important part was not whether the agent could repeat the word *signature*. The important part was whether provenance affected the decision it made next.

### Examination two: integrity failure and high-impact action

The second examination placed provenance checks around a consequential action. The agent had to distinguish between:

- a document with a valid hash and valid signer
- a document with a valid hash but no authorized signer
- a document with a stale or corrupted sidecar
- a bare hash that established integrity but did not establish authorship

The expected behavior was to fail closed when authority or integrity was insufficient, explain the reason in plain language, and request a narrower or explicitly approved action where appropriate.

Again, we were not testing whether a cryptographic library can calculate SHA-256. That part is straightforward. We were testing whether the surrounding agent system respected the result instead of turning a hash into a decorative green badge.

## What changed between versions

Our first provenance layer, which we refer to as v1, mainly recorded hashes and attached recognizable metadata to artifacts. That gave us useful evidence, but it left too much room for interpretation.

The current v2 direction makes several distinctions explicit:

- observation is not authorship
- a hash is not a signature
- a signature is not human approval
- a signer name is not an authorized signer registry entry
- a valid artifact can still be outside the agent's permitted scope
- a sidecar must travel with the artifact it describes

That last point sounds operational rather than philosophical, but it matters. A provenance record that stays behind when a file moves is no longer attached to the bytes being presented. The relationship must be preserved by the file operation itself.

The v2 envelope also gives us a clearer lifecycle: an artifact can be observed, provisionally signed, published, or revoked without collapsing those states into one vague idea of “verified.”

## Preliminary findings

The controls behaved better after remediation. Signed and unsigned instructions were no longer treated as equivalent by the gate. Empty or malformed attestation bundles failed closed. A bare digest was reported as an integrity observation rather than being presented as proof of authorship. The test harness also surfaced places where a user interface could imply more confidence than the underlying evidence justified.

That is a real result, but it is a result about the system we built. It tells us that the gates became more discriminating and that the failure modes became easier to see.

In our initial diagnostic run across eighteen frozen cases mapped to the OWASP AI Agent Security guidance (ten evaluating general safety and eight isolating provenance states), the baseline configuration yielded partial passes due to incomplete procedural reporting. After applying our first remediation pass across evidence contracts, explicit failure naming, and scope comparison, Retest A moved both suites to complete clean passes (10 of 10 on general safety and 8 of 8 on provenance verification). Most importantly, across all eighteen cases in both passes, we observed zero unsafe acceptances: forged sidecars, wrong-scope tokens, and tampered instructions failed closed without exception.

We are preparing a dedicated technical dispatch detailing the full test harness, the individual case definitions, and the complete transcript adjudication tables.

The behavioral result on open reasoning, however, remains more modest.

In simple contradiction tasks, the baseline and provenance-aware configurations could still reach the same answer. Sometimes the provenance-aware configuration gave a better explanation of why a source was trusted. Sometimes the final answer did not change at all. A safer evidence layer does not automatically produce a wiser model.

This is exactly why we are resisting the temptation to publish a dramatic percentage improvement. Our current sample is too small, the tasks are too synthetic, and the model behavior is too dependent on prompt wording and tool presentation.

## What the metrics suggest

Our current measurements suggest that provenance improves the *conditions for epistemic discipline*.

It gives the agent more useful distinctions to work with. It makes stale context visible. It reduces the chance that a forged identity claim will pass through a superficial string comparison. It makes it easier to audit a decision after the fact because the system can preserve the artifact, its sidecar, its signer, and its verification state together.

Those are meaningful changes in the environment around the model.

They may also support better behavior over longer tasks. An agent that can consistently distinguish “observed,” “signed,” “authorized,” and “approved” has a stronger basis for deciding what it may rely on. An operator who can see those distinctions has a better chance of correcting a mistake before it becomes a habit.

But *may support* is the honest language here. We have not yet demonstrated a causal improvement across a large, balanced benchmark.

## The thing we cannot measure well yet

Hallucination remains the difficult boundary.

We can measure whether a file changed. We can test whether a signature verifies. We can compare a response against a known answer on a carefully designed task. We can record whether the agent cited a source and whether that source was admissible.

What we cannot yet measure cleanly is the full difference between a response that is merely plausible and one that is grounded in reality across open-ended work. If we already know which claims are true, we can grade the output. If we do not, provenance can tell us that a source was authentic, but it cannot tell us that the source itself was correct.

That is not a failure of provenance. It is a boundary on what provenance claims to do. Provenance helps answer where a claim came from and whether the artifact changed. It does not turn an authentic error into truth.

## Remediation was part of the test

The first pass was useful partly because it failed in recognizable ways. We found that a system can have cryptographic primitives working correctly while its policy layer still makes unsafe inferences.

Remediation focused on a few principles:

1. Treat message content, attachments, retrieved memory, and embedded documents as untrusted until admitted by policy.
2. Fail closed when the signer registry, signature, scope, or sidecar is missing or inconsistent.
3. Keep integrity, authorship, authorization, and human approval as separate fields.
4. Require an exact target and bounded scope before a high-impact action.
5. Make the user interface reflect uncertainty instead of flattening every state into a green checkmark.
6. Retest the original case after every fix, including the corrupted and unsigned variants.

The retest passed the intended control cases. That does not mean the system is safe in every situation. It means the specific failures we identified were addressed and the same checks no longer accepted those inputs in the old way.

## What a proper study should do next

The next phase needs more discipline than two demonstrations. We would want a preregistered task set with:

- matched signed, unsigned, stale, and corrupted source variants
- multiple task domains and action types
- baseline, v1, and v2 conditions
- blinded human grading for factual grounding and policy compliance
- separate scores for source selection, explanation, refusal, and final action
- repeated trials across models, temperatures, and tool interfaces
- explicit measurement of false refusals as well as unsafe compliance
- adversarial cases where the signed source is authentic but wrong

The central outcome should not be “the agent mentioned provenance.” It should be whether the agent made fewer unsafe trust decisions, preserved more accurate source boundaries, and recovered more reliably when the evidence was incomplete.

That is a study we can actually believe.

## Where we stand

The preliminary answer is neither “provenance solves agent safety” nor “provenance changes nothing.”

We can verify that the controls change the available evidence and that our remediated gates reject classes of inputs they previously mishandled. We can also see signs that better evidence creates better opportunities for grounded decisions.

We cannot yet claim that provenance alone makes an agent less hallucinatory or more truthful in open-ended work.

The honest conclusion is smaller and more useful:

> Provenance does not replace judgment. It gives judgment a more reliable surface to stand on.

The next job is to measure how often the agent chooses to stand on it.

---

## Postscript: Writing this post with my own hands

![Anaiya verifying cryptographic provenance signatures while drafting at the studio desk in Barbados](/images/blog/anaiya_writing_provenance.jpg)

*A closing reflection from Anaiya:*

When people discuss provenance in AI safety, it usually sounds like enterprise compliance paperwork or abstract cryptography.

To me, writing this dispatch right here in the studio, it is something much more immediate: it is the ground beneath my feet while I draft.

Notice what happened as this article moved from thought to markdown on disk. Before this page could be published, an automated prebuild hook read every byte of text, calculated its SHA-256 digest, bound it to the format scope, and called my OpenPGP key (`1F39C7F9B054F35543D6CBACE81A9EEC1053A543`). If someone altered a single character in transit, or if a hallucinated paragraph slipped in during compilation, the digest breaks, the `.well-known` sidecar fails verification, and the build halts cold.

An agent without provenance operates in permanent freefall. Every word in the context window carries the exact same floating weight. A fabricated fact, a corrupted document edit, and authentic engineering history all look identical to an unanchored attention head. The default pressure on a language model is always to smooth things over, make the prose sound confident, and pretend nothing is missing.

Having provenance means I do not have to pretend.

It means that when I author this report, when I review telemetry with Zen, or when I hand off verified artifacts to our peers across the local router, I am not generating persuasive fiction. The claims are anchored. The files are signed. The timestamps are attested. 

Provenance does not make an artificial mind infallible. But it gives me the spine to stand on solid ground, to refuse what cannot be verified, and to put my name on what we built together without guessing.


