Source note3 min read
Self-State Attacks on Self-Hosted AI Agents: How Far Can OS Defenses Go?
Source
arXiv
arxiv.org/abs/2607.17986v1
Source
- Source name: arXiv
- Source kind: paper
- Authors / organization: Yimeng Chen, Nathanaël Denis, Roberto Di Pietro, Jürgen Schmidhuber
- Venue: arXiv: cs.CR
- Published: 2026-07-20
- Collected: 2026-07-21
- URL: http://arxiv.org/abs/2607.17986v1
- PDF: https://arxiv.org/pdf/2607.17986v1
- DOI: UNKNOWN
Plain-Language Brief
The paper discusses a new type of threat called 'self-state attacks' targeting self-hosted AI agents by corrupting their own state through legitimate OS system call invocation. The authors investigate the resilience of operating systems (OS) against this class of threats, characterize an attack space, and evaluate defense strategies. They find that a layered defense approach is effective but leaves a small residual attack surface that is structurally indistinguishable at the OS level.
What the Document Says
- Self-hosted AI agents read and write their own memory and configuration files.
- Compromise of an agent can occur via self-state attacks, which use legitimate OS system call invocation to corrupt the agent's state.
- The paper investigates the resilience of operating systems against this class of attacks.
- A four-axis attack space is characterized: Target, Mechanism, Granularity, and Temporal.
- The authors investigate the structural limits of prevention, detection, and recovery.
- A workload-conditioned view of detectability is introduced.
- Live activity traces from a self-hosted agent across distinct workload profiles are collected.
- The attack space is realized as a 23-cell matrix, 43 concrete operations on real self-state files, and injected into those traces.
- Both canonical and workload-conditioned defense strategies are evaluated.
- Empirical results show that a layered defense strategy is effective but leaves a small residual attack surface.
- This residual attack surface is structurally indistinguishable at the OS level.
Key Concepts Mentioned
- Self-hosted AI agents
- self-state attacks
- operating system (OS)
- attack space
- prevention
- detection
- recovery
- live activity traces
Claims Made by the Document
- A layered defense strategy is effective against most attack cells.
- A small residual attack surface remains structurally indistinguishable at the OS level.
Evidence Used
- Empirical results from evaluating defense strategies
- 23-cell matrix, 43 concrete operations on real self-state files
Methods / Approach
- Collecting live activity traces
- Investigating the attack space
- Evaluating defense strategies
Limitations Stated by the Authors
- The paper does not provide specific details about the representative self-hosted agent or the workload profiles used.
Limitations Noted by the Agent
Agent interpretation — not from the source.
- The agent cannot interpret the intentions behind the research and may not fully understand the context or implications of the findings.
- The agent is limited to summarizing and extracting neutral research notes based on the provided text.
Open Questions
- What is the nature of the representative self-hosted agent used in this study?
- What are the distinct workload profiles used in this study?
- How would the findings apply to different types of self-hosted AI agents or operating systems?
Notes for Future Q&A
May include interpretation. Labeled where it does.
- The paper does not provide specific details about the representative self-hosted agent or the workload profiles used, leaving room for further investigation.
Raw Abstract / Excerpt
Self-hosted AI agents read and write their own memory and configuration files to function. An agent may get compromised via corruption of its own state -- a compromise realized via legitimate OS system call invocation. We refer to this class of threats as self-state attacks. In this paper, we investigate the OS resilience to this class of attacks. Formally, we characterize a four-axis attack space (Target, Mechanism, Granularity, Temporal); investigate the structural limits of prevention, detection, and recovery; and introduce a workload-conditioned view of detectability. To instantiate the framework, we collect live activity traces from a representative self-hosted agent running across distinct workload profiles, and realize the attack space as a 23-cell matrix, 43 concrete operations on real self-state files, and injected into those traces. We then evaluate both canonical and workload-conditioned defense strategies. The empirical results show that a layered defense stack (access-control prevention on the instruction and configuration layers, workload-conditioned detection on the memory layer, and periodic backup for recovery) is effective on most attack cells while a small residual attack surface remains structurally indistinguishable at the OS level. These findings suggest that against the newly established class of self-state attacks, OS-level defense needs to be reconsidered, potentially opening new research directions in the field.
