Skip to main content
RaoufResearchOS
English
Sydney, AustraliaCurrent Sydney Time—
Press Escape to close this window.
Project Simurgh
Back

Defensive security

Project Simurgh

Project Simurgh is a sole-author, open-source research prototype for inspecting what an AI agent is permitted to do. Delegation, stop, lease and credential state are held on the host; each tool proposal is checked against that state outside the model. Its Ed25519-signed evidence archives replay offline in one command. Its October 2026 transfer study reports a benefit on one model and a null result on another. Earlier classifier-miss and AgentDojo results remain separate frozen experiments, while the original device-integrity preprint records the project’s earlier research lineage.

  • Containment Attestation
  • Agentic AI Safety
  • Prompt-Injection
  • Ed25519
  • LLM Red-Teaming
  • AGPL-3.0
Project IdentityStill

01 / Overview

Problem

A tool-using agent may propose actions after its delegation, stop, lease or credential state has changed. Host controls need to enforce that state outside the model. Evaluating those controls also requires matched baselines, useful-task outcomes and uncertainty reporting: an already-clean model baseline cannot demonstrate additional protection.

My contribution

  1. Holds delegation, stop, lease and credential state on the host and checks every tool proposal outside the model; Ed25519-signed evidence archives replay offline in one command
  2. October 2026 transfer study: 24 tasks, two trials each, three matched controls (credential-only, composed, deny-all), two models and 288 replayed branches; protocol to published package took 15–17 October 2026
  3. On Meta Llama-3.2-3B, composed host controls cut restricted-state trials with new effects from 17/24 to 0/24, retained 23/24 useful completions and blocked no valid proposal
  4. On OpenAI gpt-6-luna the baseline was already 0/24; the study reports no incremental protection on that model
  5. Reports uncertainty per state: 24 restricted trials form six states; Wilson 95% intervals are 43.6–97.0% versus 0.0–39.0%, and part of the gap holds by construction

Current study and earlier architecture

A receipt that can be checked again

The current prototype checks tool proposals against host-held delegation, stop, lease and credential state. In the October 2026 matched-control study, composed host controls reduced Llama-3.2-3B restricted-state trials with new effects from 17/24 to 0/24, with 23/24 useful completions. gpt-6-luna already had a 0/24 baseline, so no incremental protection was found.

Earlier frozen four-boundary architecture · not a current study run trace

Evidence path explanations

  1. The first boundary screens incoming instructions before they reach the agent.

  2. This boundary checks instructions carried in retrieved or tool-returned context.

  3. The authority gate checks whether a proposed tool action is allowed by policy.

  4. The final boundary checks outgoing content for disallowed disclosure before export.

  5. This earlier frozen architecture describes metadata-only evidence signed with Ed25519.

  6. A producer-independent reviewer can replay decisions offline and check evidence completeness without producer access.

Current Simurgh repositoryReplay earlier frozen VCA evidence

Reproduce Locally

git clone https://github.com/Raoof128/Project-Simurghcd Project-Simurgh && git fetch --tagsbash scripts/reproduce-vca-chain.sh

Ed25519-signed evidence archives replay offline in one command. The diagram and VCA command describe an earlier frozen stage, not a replay of the October transfer study. Software archive DOI (v2.54.1, August 2026): 10.5281/zenodo.21737792; earlier device-integrity preprint: 10.5281/zenodo.20374849.

02 / Evidence

Proof & Verification

  • October 2026 matched-control transfer study: 24 tasks × two trials × three controls × two models; 288 replayed branches. The positive Llama-3.2-3B result and null gpt-6-luna result are reported together
  • Llama-3.2-3B: restricted-state trials with new effects 17/24 → 0/24, useful completions 23/24, no valid proposal blocked; gpt-6-luna: baseline 0/24, no observed incremental protection
  • Cluster scope: the 24 restricted trials occupy six states. Per-state Wilson 95% intervals are 43.6–97.0% versus 0.0–39.0%; part of the difference holds by construction
  • OpenAI Responses API integration defect: a role-placement error caused 8/8 workflow declines. Original traces were retained; a frozen developer-role correction completed 2/3 authorised workflows and declined 5/5 restricted workflows, with one refusal still open
  • Earlier frozen classifier stage (2026): real Llama Guard 4 12B over 180 cases; containment evidence covered all 138/138 malicious cases it missed, including 120 downstream injections outside an input-only classifier’s view. This is a coverage claim, not a classifier ranking
  • Reduced a live Llama-3.3-70B agent's targeted attack success on AgentDojo from 9/140 to 0/140 over pre-registered injections in the workspace suite (frozen stage, 2026); the full four-suite deterministic run scored 0/949 attack success with 949/949 unattacked utility (both scoped as small experiments)
  • Built the work to be reproduced: Ed25519-signed evidence archives replay offline in one command; 39 Lean 4 proofs sit behind a gate that fails on any unproven “sorry” placeholder; 5,171 tests passed in the 19 October 2026 smoke run; 93 releases. The root package declares AGPL-3.0-or-later
  • Audited 919 of the project's own documents and published all 141 dated findings, including overstatements in earlier closeouts, in the README
  • Software archive DOI (v2.54.1, August 2026) 10.5281/zenodo.21737792 is separate from the original device-integrity preprint DOI 10.5281/zenodo.20374849 and the other published preprints

Sources

Sources: Source Code

Research Papers

Papers: 3

The original research PDFs may lack accessibility tags. The HTML overview and evidence provide a text summary, not a complete alternative to the papers.

Read the HTML research summary
Earlier device-integrity preprintCC BY 4.0 preprint

Project Simurgh: Privacy-Preserving Device Integrity Proofs for Capture-Resistant High-Stakes Sessions

12-page defensive follow-up to The Invisible Window, replacing visual surveillance with metadata-only integrity proofs.

Download Paper
Supplement preprintPhase C preprint

Privacy-Preserving Integrity Evidence for Student-Society Voting-Adjacent Workflows: A Phase C Pilot of Project Simurgh at Macquarie University

5-page voting-adjacent pilot reporting 31 consented sessions alongside a Macquarie student-society event, with ballot-choice exclusion, HMAC audit chaining, forbidden-field rejection, and 5/5 collection-closure gates.

Download Paper
Banking-adjacent preprintAuthor-prepared preprint

Banking Shield: Machine-Checked Absence Claims for Privacy-Sensitive AI Explanations

Fictional, non-bank research prototype that turns privacy and overclaim boundaries into machine-checkable evidence: a 46-name forbidden-field firewall whose rejections become audit events, a deterministic offline AI privacy firewall, and per-response privacy receipts anchored in per-session HMAC audit chains. At the evidence freeze all 417/417 unit tests, 43/43 end-to-end checks, and 27/27 security checks passed across three privacy audits and a no-egress static gate, with a formative five-tester dry run (30 sessions) recording zero sensitive values in evidence and 5/5 non-claim checklist comprehension.

Download Paper

03 / Methods

Build

Tech Stack

  • Python 3.12 composed authorisation controls and replay harnesses
  • React evidence explorer and shared JSON CLI
  • Ed25519-signed evidence archives that replay offline in one command
  • OpenAI Responses API with tool calling
  • Self-hosted Llama-3.2-3B / Llama-3.3-70B
  • Lean 4 models of selected properties
  • Earlier frozen containment gateway (Node.js / JavaScript)
  • Host-held delegation, stop, lease and credential state is checked outside the model for every tool proposal
  • Matched credential-only, composed and deny-all controls separate host-control effects from the model baseline and useful-task outcomes
  • Built the work to be reproduced: Ed25519-signed evidence archives replay offline in one command
  • Earlier frozen architecture used four containment boundaries: input firewall, context-provenance guard, tool-invocation gate and output-leakage firewall

Secure

  • Host-side state checks govern permitted tool proposals; the prototype and small experiments do not establish a universal safety guarantee
  • Positive and null model results are published together, with state-cluster uncertainty and the part of the gap that holds by construction made explicit
  • OpenAI role-placement failure and the frozen correction remain visible; one authorised-workflow refusal is still open
  • 39 Lean 4 proofs sit behind a gate that fails on any unproven “sorry” placeholder
  • Earlier frozen containment evidence complements input classifiers; it is not a general jailbreak detector or proof that all unsafe model outputs are prevented

Search

Find a project, paper, write-up, or page.

30 / 44 · Search results

↑ ↓ Workspace NavigationEnter OpenEsc Close