Skip to content

SIGIL: Construction-Level Security for Agent-Authored Code

Sep 2026 · Zenodo (CERN European Organization for Nuclear Research)
Security and Verification in Computing

Abstract

Large language model (LLM) agents increasingly write, compile, execute, and revise software inside systems that also hold files, credentials, and network authority. In that setting, security cannot depend on human review, external sandboxes, or post-hoc filtering alone: those mechanisms treat generated code as an opaque payload after the agent has already expressed authority, control flow, and data movement in an ambient language. We present SIGIL, a capability-secure programming language and verification pipeline designed for code whose primary author is an LLM. This paper's evaluation concentrates on the ephemeral agent-authored tool: the program an agent writes, runs once, and discards, which is both the most immediate deployment surface and the tightest security envelope. SIGIL layers construction-level security on top of runtime containment: programs still run inside fresh Wasmtime stores with fuel and explicit grants, but authority, effects, taint labels, ring boundaries, and solver-backed proof obligations are visible in source and checked before bytecode exists. The language combines linear capability types, declared effect rows, information-flow taint tracking, two-ring WebAssembly isolation, deterministic certificates, and bounded SMT checks over decidable quantifier-free bitvector and linear integer arithmetic fragments. We evaluate the system with 67 adversarial security cases across 9 documented categories, 10 mechanically-checked CVE retrofits, 214 tools/ programs, 24,699 nonblank lines of SIGIL-authored compiler stages composed into a self-hosted driver whose code-generation path recompiles the compiler's own source to WebAssembly byte-identical to the Rust reference (a self-hosting fixed point), differentially tested against the Rust oracle, and compile-throughput measurements: Z3-heavy fixtures verify in 5-8 ms median time - interactive latency for an agent compile-feedback loop. A mechanized formalization in Lean 4 (lambda-SIGIL) - 160 theorems across 19 modules, with zero sorry and only standard axioms - proves type soundness, capability safety, effect-row confinement and checking, ring isolation, affine ownership, and information-flow taint sink-safety (a noninterference-style trace property). In a live agentic harness, frontier models with no SIGIL in their training data converge on working, verified tools guided only by structured compiler diagnostics: the two strongest models reach 86% and 74% compile success with 95% and 89% all-input behavioral correctness among compiled cells, and compile success across seven models from four vendors spans 6-86%, tracking grammar internalization rather than vendor or security-model friction. These results establish feasibility: construction-level security is practical for interactive agent compile-feedback loops today, without treating runtime containment as obsolete - and the compiler's typed diagnostic surface doubles as a training signal for models that write SIGIL natively, which we identify as the next step.

View source

Similar papers

#computer vision Review Sep 2017

Agile Software Development Methods: Review and Analysis

This publication proposes a definition and a classification of agile software development approaches and analyses ten software development methods that can be characterized as being "agile" against the defined criterion.

P. Abrahamsson, O. Salo, Jussi Ronkainen et al. · 727 citations · ⚡54
#computer vision Jun 2008

The impact of agile practices on communication in software development

The study shows that agile practices improve both informal and formal communication, but indicates that, in larger development situations involving multiple external stakeholders, a mismatch of adequate communication mechanisms can sometimes even hinder the communication.

M. Pikkarainen, Jukka Haikara, O. Salo et al. · 401 citations · ⚡48
#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54
#computer vision Review Mar 2008

Agile methods in European embedded software development organisations: a survey on the actual use and usefulness of Extreme Programming and Scrum

The results show that the embedded industry has been able to apply agile methods in its development processes and that the appreciation of the agile methods and their individual practices appears to increase once adopted and applied in practice.

O. Salo, P. Abrahamsson · 238 citations · ⚡9
#computer vision Open access Jul 2017

What happens when software developers are (un)happy

Consequences of happiness and unhappiness that are beneficial and detrimental for developers' mental well-being, the software development process, and the produced artifacts are found.

D. Graziotin, Fabian Fagerholm, Xiaofeng Wang et al. · 236 citations · ⚡13
#computer vision Open access Oct 2004

Mobile-D: an agile approach for mobile application development

The Mobile-D approach is briefly outlined here and the experiences gained from four case studies are discussed, which helped develop an agile development approach for mobile application development.

P. Abrahamsson, Antti Hanhineva, H. Hulkko et al. · 225 citations · ⚡18

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.