AI Permission: From Session Layer to Kernel Layer
Jack
When an AI agent runs in a production environment with authorized credentials — database
passwords, API tokens, cloud keys — every sub-agent it spawns and every script it executes inherits
those credentials. The authorized token becomes the attack surface: a hallucinated command or
prompt-injection can drop a production database, purge cloud storage, or mass-delete email before any
human can intervene. Real incidents of this kind are documented in this paper. Current AI permission
systems operate at the session layer and are blind to operations that bypass the session: direct library
calls, fresh sub-agents, and background processes all carry live credentials without passing through
any permission interceptor. We introduce the Kernel-Level AI Isolation Layer (KAIL), enforcing AI
permission policy at the syscall and network level below any session boundary. We present AI
Guardian, a Linux eBPF implementation of KAIL that intercepts destructive operations defeating
session-layer controls, providing reliable protection for production data in AI agent deployments.
No reviews are available yet
Cite this work
@misc {
title={
(HckPrj) AI Permission: From Session Layer to Kernel Layer
},
author={
Jack
},
date={
},
organization={Apart Research},
note={Research submission to the research sprint hosted by Apart.},
howpublished={https://apartresearch.com}
}


