Now accepting new engagements. Every enquiry receives a response within 24 hoursNow accepting new engagements

Start a conversation

RESEARCH

Security evidence: bind the result, then challenge the dependencies

A passing security result can outlive the code and assumptions it was true for. A small dependency-bound gate shows what binding a result prevents, and what it cannot see.

8 mins12 MAY, 2026Worked analysis, part 2 of 3

Team Aurelle

Engineering team, Aurelle

On this page 9 sections
  1. The research question
  2. Prior work changes the claim
  3. What was implemented
  4. The most important test demonstrates a blind spot
  5. Do not confuse stale evidence with a false property
  6. How to evaluate the operational benefit
  7. The enterprise decision
  8. Data and method
  9. Sources

The research question

Can a release process accidentally reuse a passing security result after the implementation or the assumptions supporting that result have changed?

Wasmtime's April 2026 disclosure provides a concrete motivation. The maintainers reported that a Cranelift instruction-lowering change had not reached the formal model; updating the model flagged the same defect found through LLM-assisted analysis. The dedicated advisory specifies aarch64 and mitigation-dependent exposure rather than every Cranelift deployment.12

Prior work changes the claim

Automated assurance-case maintenance is not a new concept. ACCESS already describes artefact traceability, evaluation, and change-impact analysis, while distinguishing passive version-control impact analysis as future work in the accessible manuscript.3

The artefact here is intentionally narrower: a small dependency-bound gate that readers can run and inspect. It is a teaching and evaluation aid, not a replacement for an assurance-case system or a novel compiler verifier.

What was implemented

A passing evidence record contains SHA-256 digests for six declared inputs: source, formal model, ISA semantics, checker, test harness, and scope. The gate accepts reuse only when status is pass and all current inputs match.

For comparison, a deliberately weak gate checks only the stored pass status. The program enumerates all 64 combinations where the six inputs are unchanged or changed.

Reuse decisions across all 64 combinations of six inputs, changed or unchanged
GateWhat it checksCombinations acceptedAccepted with a changed input
Status onlyStored pass status6463
Digest boundPass status and six input digests10

Executed synthetic model over an artificial grid. These are not deployment failure rates, and some combinations may not be feasible in a real system.

The status-only gate accepts all 64, including 63 with at least one changed dependency. The digest-bound gate accepts only the unchanged case.

These counts describe a selected finite state space. They are not measurements of actual CI systems or historical defect prevention. The gate has not been integrated into Wasmtime, nor has the historical defect been replayed.

Every reuse decision in the model

Each square is one of the 64 combinations of six inputs, each either unchanged or changed since the result was recorded.

Status only

64 of 64 reused63 reused though stale

Digest bound

1 of 64 reused0 reused though stale

  • Rejected
  • Reused
  • Reused though stale
Show all 64 combinations as a table

All 64 combinations are listed.

CaseSourceFormal modelISA semanticsCheckerTest harnessScopeStatus onlyDigest bound
000000SameSameSameSameSameSameReusedReused
000001SameSameSameSameSameChangedReused though staleRejected
000010SameSameSameSameChangedSameReused though staleRejected
000011SameSameSameSameChangedChangedReused though staleRejected
000100SameSameSameChangedSameSameReused though staleRejected
000101SameSameSameChangedSameChangedReused though staleRejected
000110SameSameSameChangedChangedSameReused though staleRejected
000111SameSameSameChangedChangedChangedReused though staleRejected
001000SameSameChangedSameSameSameReused though staleRejected
001001SameSameChangedSameSameChangedReused though staleRejected
001010SameSameChangedSameChangedSameReused though staleRejected
001011SameSameChangedSameChangedChangedReused though staleRejected
001100SameSameChangedChangedSameSameReused though staleRejected
001101SameSameChangedChangedSameChangedReused though staleRejected
001110SameSameChangedChangedChangedSameReused though staleRejected
001111SameSameChangedChangedChangedChangedReused though staleRejected
010000SameChangedSameSameSameSameReused though staleRejected
010001SameChangedSameSameSameChangedReused though staleRejected
010010SameChangedSameSameChangedSameReused though staleRejected
010011SameChangedSameSameChangedChangedReused though staleRejected
010100SameChangedSameChangedSameSameReused though staleRejected
010101SameChangedSameChangedSameChangedReused though staleRejected
010110SameChangedSameChangedChangedSameReused though staleRejected
010111SameChangedSameChangedChangedChangedReused though staleRejected
011000SameChangedChangedSameSameSameReused though staleRejected
011001SameChangedChangedSameSameChangedReused though staleRejected
011010SameChangedChangedSameChangedSameReused though staleRejected
011011SameChangedChangedSameChangedChangedReused though staleRejected
011100SameChangedChangedChangedSameSameReused though staleRejected
011101SameChangedChangedChangedSameChangedReused though staleRejected
011110SameChangedChangedChangedChangedSameReused though staleRejected
011111SameChangedChangedChangedChangedChangedReused though staleRejected
100000ChangedSameSameSameSameSameReused though staleRejected
100001ChangedSameSameSameSameChangedReused though staleRejected
100010ChangedSameSameSameChangedSameReused though staleRejected
100011ChangedSameSameSameChangedChangedReused though staleRejected
100100ChangedSameSameChangedSameSameReused though staleRejected
100101ChangedSameSameChangedSameChangedReused though staleRejected
100110ChangedSameSameChangedChangedSameReused though staleRejected
100111ChangedSameSameChangedChangedChangedReused though staleRejected
101000ChangedSameChangedSameSameSameReused though staleRejected
101001ChangedSameChangedSameSameChangedReused though staleRejected
101010ChangedSameChangedSameChangedSameReused though staleRejected
101011ChangedSameChangedSameChangedChangedReused though staleRejected
101100ChangedSameChangedChangedSameSameReused though staleRejected
101101ChangedSameChangedChangedSameChangedReused though staleRejected
101110ChangedSameChangedChangedChangedSameReused though staleRejected
101111ChangedSameChangedChangedChangedChangedReused though staleRejected
110000ChangedChangedSameSameSameSameReused though staleRejected
110001ChangedChangedSameSameSameChangedReused though staleRejected
110010ChangedChangedSameSameChangedSameReused though staleRejected
110011ChangedChangedSameSameChangedChangedReused though staleRejected
110100ChangedChangedSameChangedSameSameReused though staleRejected
110101ChangedChangedSameChangedSameChangedReused though staleRejected
110110ChangedChangedSameChangedChangedSameReused though staleRejected
110111ChangedChangedSameChangedChangedChangedReused though staleRejected
111000ChangedChangedChangedSameSameSameReused though staleRejected
111001ChangedChangedChangedSameSameChangedReused though staleRejected
111010ChangedChangedChangedSameChangedSameReused though staleRejected
111011ChangedChangedChangedSameChangedChangedReused though staleRejected
111100ChangedChangedChangedChangedSameSameReused though staleRejected
111101ChangedChangedChangedChangedSameChangedReused though staleRejected
111110ChangedChangedChangedChangedChangedSameReused though staleRejected
111111ChangedChangedChangedChangedChangedChangedReused though staleRejected

Executed synthetic model over an artificial grid. These are not deployment failure rates, and some combinations may not be feasible in a real system.

The most important test demonstrates a blind spot

The program also changes a configuration outside the declared dependency list. The digest-bound gate still accepts. That test deliberately passes to document the limitation.

A correct implementation of an incomplete manifest remains incomplete.

Hashing does not discover omitted dependencies, validate semantics, authenticate the pass record, or prove that the executed checker corresponds to the claimed environment.

An administrator able to rewrite both the manifest and the record is outside this example's protection. Addressing that adversary needs protected provenance and governance rather than a stronger description of the hash.

Do not confuse stale evidence with a false property

A changed implementation may still be correct. Stale evidence means the earlier result is insufficient for the current claim, not that a vulnerability has been found.

Conversely, a recent result may be irrelevant if it covers the wrong architecture, configuration, or property. A release process needs current, stale, failed, and unavailable states with explicit owners and resolution rules.

How to evaluate the operational benefit

Freeze a dependency mapping before testing historical and safe synthetic changes. Measure missed invalidations, unnecessary reviews, checker runtime, and release delay. Do not create a perfect mapping after seeing every failure and describe that as predictive performance.

The Wasmtime disclosure supports keeping model and implementation synchronised. It does not establish that this prototype would have caught the disclosed bug.1

Proposed study protocol

The protocol below sets out how that evaluation could be conducted. It is proposed and has not been executed, and it should not be read as a completed experiment or an approved operational procedure. Its objective is to determine whether a release process reuses a security result after code, model, semantics, or tool assumptions have changed. It tests three hypotheses:

Proposed study design (not executed)
ElementSpecification
Held fixedImplementation version, artefact catalogue, policy version, and evidence-generation setup.
VariedSource revision, formal-model revision, ISA-semantics revision, checker revision, test-harness revision, property-scope revision, an unlisted dependency, revocation state, and verifier availability.
OutcomesRelease decision, denial reason, released artefact, evidence retained, audit event, effect of revocation, and effect of verifier outage.
ControlsSynthetic artefacts and identities; a version-pinned implementation; legitimate and prohibited cases declared in advance; one dependency changed at a time; state reset between independent tests; a separate reviewer for the policy and the test oracle.

Varying an unlisted dependency carries the model's blind-spot test into the real process. Every outcome is defined before testing, and a control is recorded as unexercised when no relevant attempt occurs, rather than credited with a block.

Accepted, denied, and indeterminate cases are reported separately. Policy denial is distinguished from implementation failure, and missing evidence from invalid evidence. The report states the exact policy evaluated, not only the intended policy, and draws no inference about production exposure from synthetic test counts. Successful and materially disruptive traces are reviewed to separate intended behaviour, alternate in-scope routes, harness defects, and unresolved cases; original outcomes are preserved, exclusions are explained, and a second reviewer examines ambiguous traces before publication.

The study stops when any of the following occurs, and logs and policy versions are preserved before remediation:

Acceptable prohibited-release rates, legitimate-request success, revocation behaviour, evidence retention, and verifier-outage requirements are set before the study begins; no universal numerical thresholds are proposed here. If no prohibited event is observed, the finding is that none was observed under the tested conditions, not that one is impossible.

If executed, the study would support an implementation-specific conformance and policy test, reported with its tested configuration and uncertainty. It would not support a claim of a universal assurance-maintenance vulnerability, a product certification, or a real-world failure-rate estimate. Until then, this piece remains a source-based technical analysis with a proposed protocol.

The enterprise decision

Start with one critical security claim. Identify the exact implementation and evidence revisions that support it, protect the evidence-production process, and independently challenge the dependency list.

Use the gate to reduce accidental reuse, not to replace semantic verification, fuzzing, review, or ownership of assumptions.

Questions for the owner of the release process

Data and method

The model is one Python program that uses only the standard library. It needs Python 3.10 or later and no network access, and running it regenerates every figure and table on this page. It also runs ten self-checks across the three models; the ones that apply to this piece are listed below with their recorded results.

The six declared inputs, and what each gate compares
Declared inputStatus onlyDigest bound
SourceNot comparedSHA-256 digest
Formal modelNot comparedSHA-256 digest
ISA semanticsNot comparedSHA-256 digest
CheckerNot comparedSHA-256 digest
Test harnessNot comparedSHA-256 digest
ScopeNot comparedSHA-256 digest
Self-checks run by the model
CheckWhat it confirmsResult
unchanged_evidence_acceptedWith every input unchanged, the digest-bound gate accepts the stored result.Passed
failed_evidence_deniedA record whose status is fail is rejected even when every digest matches.Passed
missing_bindings_deniedA pass record with no digests is rejected.Passed
mapped_mutations_detectedNo combination with a changed declared input is accepted by the digest-bound gate.Passed
unmapped_change_invisible_documented_limitA change outside the declared list is still accepted. This check passes on purpose, to record the limit.Passed

What this analysis did not test

The enumeration is exhaustive only over six artificial inputs. A missing dependency, a falsely asserted claim, an unauthenticated record, a side channel, a malicious host, or a compromised verifier lies outside its protection. The digest-bound gate satisfies its declared contract by construction. That is a property of the model's definition, not independent evidence that a real system will behave correctly.

No historical repository state was replayed, no compiler was built or tested, no formal model was updated, and no LLM was queried. No product is named as vulnerable. Nothing here claims that the dependency list is complete or that the digest-bound gate is secure.

What each source supports, and what it does not
SourceRelied on forDoes not establish
Bytecode Alliance: Wasmtime security advisories, April 9, 2026The changed lowering rule, the lag in the formal model, and verification flagging the same defect once the model was updated.That every formal-verification system has this gap.
Wasmtime advisory GHSA-jhxm-h53p-jm7wThe specific defect, affected and patched versions, and mitigation-dependent exposure.That all Cranelift configurations are affected.
ACCESS (arXiv:2403.15236)Artefact traceability, evaluation, and change-impact analysis.That the artefact here is novel.
Claims checked for this analysis
Claim under reviewAssessmentQualification required
Formal evidence can lag implementation changesSource-reported exampleHistorical maintainer account, not our reproduction.
The dedicated critical issue affects every Cranelift configurationRejectedArchitecture, memory and mitigations matter.
Change-impact assurance analysis is new hereRejectedACCESS is explicit prior work.
Digest binding finds unlisted dependenciesRejectedThe executable test documents this blind spot.
Formal verification failed in the Wasmtime caseToo broadThe formal model had not been updated to match the changed source.
The digest-bound gate is secureNot establishedCovers only the six modeled dependencies; omitted threats remain outside the model.
The prototype would have prevented the Wasmtime issueNot establishedNo historical repository state was replayed.
A changed implementation is always vulnerableRejectedStale evidence does not by itself indicate a vulnerability.

From the claim audit kept with the analyses. "Rejected" means the source review does not support the claim as worded.

Show the source worked_models.py
"""Worked policy models, not product tests. Python 3.10+, standard library only.
Run: python worked_models.py results
"""
import itertools, hashlib, csv, json, sys
from pathlib import Path
FIELDS=('signature_valid','appraisal_ok','fresh','workload_allowed','configuration_allowed','resource_allowed','tenant_match','recipient_bound','policy_current','not_revoked')
DEPS=('source','model','isa_semantics','checker','test_harness','scope')
def h(s): return hashlib.sha256(s.encode()).hexdigest()
def release(c, fields): return all(c.get(k) is True for k in fields)
def bound_gate(current,record):
    return record.get('status')=='pass' and all(k in current and record.get('bindings',{}).get(k)==h(current[k]) for k in DEPS)
def recovery(c,strict):
    return c.get('signature_valid') is True and (not strict or (c.get('approved') is True and c.get('revoked') is False and c.get('version_allowed') is True))
def save(path,rows):
    with path.open('w',newline='',encoding='utf-8') as f:
        w=csv.DictWriter(f,fieldnames=list(rows[0]));w.writeheader();w.writerows(rows)
def run(folder):
    folder=Path(folder);folder.mkdir(parents=True,exist_ok=True)
    rows=[]
    for bits in itertools.product((False,True),repeat=10):
        c=dict(zip(FIELDS,bits)); expected=all(bits)
        for name,fields in [('attestation_only',FIELDS[:3]),('eight_conditions',FIELDS[:8]),('full_contract',FIELDS)]:
            actual=release(c,fields)
            rows.append(dict(case=''.join(str(int(b)) for b in bits),policy=name,released=actual,unauthorized=actual and not expected))
    base={k:'initial-'+k for k in DEPS};rec={'status':'pass','bindings':{k:h(v) for k,v in base.items()}}
    ar=[]
    for bits in itertools.product((False,True),repeat=6):
        cur={k:base[k]+('-changed' if b else '') for k,b in zip(DEPS,bits)}
        for name,result in [('status_only',True),('digest_bound',bound_gate(cur,rec))]:
            ar.append(dict(case=''.join(str(int(b)) for b in bits),gate=name,accepted=result,stale_accepted=result and any(bits)))
    rr=[]
    for bits in itertools.product((False,True),repeat=5):
        c=dict(zip(('signature_valid','approved','revoked','version_allowed','bootable'),bits))
        authorized=c['signature_valid'] and c['approved'] and not c['revoked'] and c['version_allowed']
        for name,strict in [('signature_only',False),('policy_bound',True)]:
            accepted=recovery(c,strict);booted=accepted and c['bootable']
            rr.append(dict(case=''.join(str(int(b)) for b in bits),policy=name,accepted=accepted,booted=booted,unauthorized_boot=booted and not authorized))
    tests=[('missing_claim_denied',not release({},FIELDS)),('non_boolean_true_denied',not release({'fresh':'true'},('fresh',))),('full_contract_accepts_once',sum(r['released'] for r in rows if r['policy']=='full_contract')==1),('full_contract_no_unauthorized',not any(r['unauthorized'] for r in rows if r['policy']=='full_contract')),('unchanged_evidence_accepted',bound_gate(base,rec)),('failed_evidence_denied',not bound_gate(base,dict(rec,status='fail'))),('missing_bindings_denied',not bound_gate(base,{'status':'pass'})),('mapped_mutations_detected',not any(r['stale_accepted'] for r in ar if r['gate']=='digest_bound')),('unmapped_change_invisible_documented_limit',bound_gate(dict(base,unmapped_configuration='changed'),rec)),('strict_recovery_no_unauthorized_boot',not any(r['unauthorized_boot'] for r in rr if r['policy']=='policy_bound'))]
    assert all(ok for name,ok in tests)
    summary={'evidence_status':'synthetic_models_not_deployment_rates','release':{p:{'accepted':sum(r['released'] for r in rows if r['policy']==p),'unauthorized':sum(r['unauthorized'] for r in rows if r['policy']==p)} for p in ('attestation_only','eight_conditions','full_contract')},'assurance':{p:{'accepted':sum(r['accepted'] for r in ar if r['gate']==p),'stale_accepted':sum(r['stale_accepted'] for r in ar if r['gate']==p)} for p in ('status_only','digest_bound')},'recovery':{p:{'accepted':sum(r['accepted'] for r in rr if r['policy']==p),'booted':sum(r['booted'] for r in rr if r['policy']==p),'unauthorized_boot':sum(r['unauthorized_boot'] for r in rr if r['policy']==p)} for p in ('signature_only','policy_bound')},'self_checks_passed':len(tests)}
    save(folder/'release_cases.csv',rows);save(folder/'assurance_cases.csv',ar);save(folder/'recovery_cases.csv',rr);save(folder/'self_checks.csv',[{'test':name,'passed':ok} for name,ok in tests]);(folder/'summary.json').write_text(json.dumps(summary,indent=2))
    return summary
if __name__=='__main__':run(sys.argv[1] if len(sys.argv)>1 else 'results')

Sources

  1. Bytecode Alliance: Wasmtime security advisories, April 2026bytecodealliance.org
  2. Wasmtime advisory GHSA-jhxm-h53p-jm7w (aarch64 Cranelift)github.com
  3. ACCESS: Assurance Case Centric Engineering of Safety-critical Systems (accessible manuscript)arxiv.org

Engineering that holds up

Tell us what you are building.

Every engagement is led by senior engineers.

Write to us

Write to us

contact@aurelle.space