Register Login

Interdisciplinary Studies on Applied Science

ISSN (online): 3048-877X

Research Article

Revocation Closure for Persistent AI Agent Effects (RECAP)

  • By Haider Hasan Albaramani, Ghaith Hasan Alashour, Yahya Mahdi Hadi Al-Mayali - 04 Dec 2026
  • Interdisciplinary Studies on Applied Science, Volume: 3, Issue: 2, Pages: 71 - 82
  • https://doi.org/10.58613/isas328
  • Received: 01.10.2026; Accepted: 15.11.2026; Published: 04.12.2026

Abstract

This paper explores a security issue with persistent AI agents: If an agent is granted permission to run a particular action and that permission is revoked, the agent can still use the previously granted action, especially when actions are delayed, stored or retried. To explore this issue, we created five iterations of RECAP, each of which identified new security issues and/or corrected limitations in the previous version. Version 0.1 showed that checking permission before performing an action is not enough as permission could be revoked between validation and the action. This was resolved in version 0.2, which merged authorization and database operations in one atomic transaction. In version 0.3, however, it added an asynchronous outbox, which separates the actual effect from the database transaction and reveals a new revocation vulnerability. An effect gateway did address this vulnerability but they needed to hold database locks while executing the effect externally, which imposed a performance limitation. Version 0.4 solved this issue, adding support for short-lived signed capabilities and online atomic admission, which guarantees that permissions are valid at the admission point and do not need to be database-locked while performed externally. Lastly, version 0.5 was split into independent, restartable processes with persistent storage and authenticated messaging to test its response to more realistic failure scenarios. All 87 regression tests have been passed for the final system. It performed 250 valid effects in the 602 operation experiment, rejected 125 revoked requests, safely recovered 100 replays and failed closed at 125 authority-partition attempts. There were no effects that were not observed or duplicate effects in the fixed implementation. Additionally, there were no violations of any invariants detected by bounded formal verification in the states explored. In general, the five versions developed show that once an authorisation vulnerability is resolved in one boundary of execution it does not stop reappearing at a different boundary of execution, when the architecture of the system changes. The results confirm the feasibility of atomic admission as a way to implement revocation in the scenario under consideration; broader deployment safety has yet to be proven. 


Authors affiliation:

Haider Hasan Albaramani (ORCID): Department of Computer Engineering Technology, College of Engineering Technology, University of Alkafeel, Najaf, Iraq.
Ghaith Hasan Alashour (ORCID): College of Medicine, University of Alkafeel, Najaf, Iraq.
Yahya Mahdi Hadi Al-Mayali (ORCID): Department of Computer Engineering Technology, College of Engineering Technology, University of Alkafeel, Najaf, Iraq.


How To Cite: H. H. Albaramani, G. H. Alashour, and Y. M. H. Al-Mayali. Revocation Closure for Persistent AI Agent Effects (RECAP). Interdisciplinary Studies on Applied Science, 3(2):71–82, 2026. https://doi.org/10.58613/isas328


The Creative Commons Attribution 4.0 International (CC BY 4.0) governs all content published in the journal. This article is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0)