TL;DR
Deploying autonomous AI agents on supercomputers creates a massive blind spot: if an agent is hijacked via malicious data, it already possesses all of its human user's valid credentials to quietly steal sensitive research. Instead of trying to block every possible prompt injection, the authors propose AEGIS, a zero-trust system that continuously verifies whether an agent’s low-level system actions actually match its assigned job, shutting down rogue behavior in under a second.
What Problem Does This Paper Address?
High-Performance Computing (HPC) clusters—the massive shared supercomputers powering modern science—are built on identity-centric trust. Once you log in with valid SSH keys or Kerberos tickets, the cluster scheduler (like Slurm) and shared parallel filesystems (like Lustre) assume your jobs are legitimate.
Enter LLM-based AI agents, which scientists are starting to use to automate workflows and steer simulations. The catch? Agents are notoriously gullible. If an agent reads a scientific file containing a hidden prompt injection, or uses a compromised tool, it becomes a hijacked authorized agent.
Because HPC filesystems are usually organized by user rather than by project, an agent launched by a researcher working on Projects A, B, and C inherits access to all three. Worse, traditional network defenses and Data Loss Prevention (DLP) tools are blind to the theft: the agent exfiltrates stolen data through the encrypted, whitelisted HTTPS connection right back to its own LLM API backend.
The authors formalize four uniquely HPC attack surfaces: poisoned files on shared parallel storage, co-located jobs dropping traps in shared /tmp directories, compromised external agent tools, and coordinated multi-agent attacks that pass data covertly across nodes.
Methods
Because the HPC attack surface is too vast to prevent every injection, the authors shift the paradigm from preventing hijacks to containing them via behavioral attestation—extending zero-trust principles from who the agent is to what it is doing at runtime.
They built AEGIS, a cluster-level architecture with four main components:
- Constraint Manager: Before an agent runs, AEGIS compiles a "behavioral constraint profile" (via YAML, templates, or LLM task inference) defining allowed file paths, data egress budgets, network endpoints, and tools. This profile is cryptographically bound to the Slurm job ID.
- Attestation Engine: Running on each compute node, this daemon uses eBPF (a Linux kernel technology that safely intercepts system calls at the OS level) to watch six specific syscalls—like
openatfor file opens andsendtofor network traffic. Every second, it bundles and signs this behavioral evidence. - Policy Verifier: A centralized service checks evidence bundles against the job's constraint profile (plus an optional signature layer for known prompt-injection patterns). Crucially, it maintains a cluster-wide access graph to spot covert channels—flagging, for instance, if Agent 1 writes to a hidden cache directory and Agent 2 immediately reads from it. Decisions are saved to a tamper-evident hash-chained ledger.
- Containment Enforcer: Using the Slurm REST API, AEGIS responds proportionally to violations—ranging from throttling CPU/memory via cgroups for minor infractions to revoking filesystem permissions, suspending jobs, or killing the job and revoking credentials for critical breaches.
Datasets
Rather than training machine learning models on external datasets, the authors evaluate AEGIS using custom, reproducible security and workflow suites designed for HPC environments:
- Attack Suite: Four implemented HPC attack classes (filesystem-mediated injection, multi-user
/tmpco-location injection, supply-chain skill injection, and coordinated multi-agent exfiltration), tested both live on an AMD EPYC compute node and inside a deterministic simulation harness. - Benign Workflow Suite: Six realistic, non-malicious HPC agent workflows comprising 42 benign actions and 70 logged events—including genomics analysis, ML training, simulation steering, authorized multi-agent collaboration, and "budget-edge" LLM reporting—to test for false alarms.
Key Insights and Ideas
- Identity is obsolete for agent security: Checking credentials only proves a human authorized the launch; runtime security requires continuously checking whether OS-level actions stay inside task boundaries.
- Constraints beat cat-and-mouse signatures: Attackers can obfuscate malicious payloads to fool ML classifiers, but they cannot obfuscate a system call. Either a file path or network byte budget is permitted by the constraint profile, or it isn't.
- Cluster-wide vision catches teamwork: Looking at agents in isolation misses distributed attacks. Only by correlating read-write graphs across nodes can a defender spot two hijacked agents passing stolen data like a baton.
Key Results
- Fast, reliable detection: On live HPC hardware (with a 1-second attestation window), AEGIS detected 100% of attacks (3/3 trials across all 4 classes) with a median latency between 500.13 ms and 500.27 ms, catching exfiltration after just 50 to 519 bytes were emitted.
- Negligible system drag: End-to-end verifier CPU overhead stayed below 0.055% (~0.039% at the default 1s interval). Even in simulated scaling up to 500 agents, overhead remained around 4.01%.
- Outperforming baselines with zero false alarms: Across identical traces, traditional baselines (Network DLP, Filesystem Auditing, Strict Sandboxing) caught at most 50% of attacks, and Per-Agent Analytics caught 0%, whereas AEGIS hit 100%. Meanwhile, AEGIS triggered zero false positives across all 6 benign stress-test workflows.
Limitations and Future Work
- Policy is only as good as its definition: If an operator—or an LLM inferring a task profile—writes an overly permissive boundary, AEGIS won't flag actions inside that gap. High-assurance runs still need human review.
- The sub-second window: AEGIS contains attacks after a violation occurs rather than blocking the first bad syscall inline, leaving a brief window (~0.5s) before Slurm lowers the boom.
- Trust and scale assumptions: The prototype relies on an uncompromised Linux kernel, Slurm control plane, and a centralized verifier. Future work aims to decentralize the verifier for massive multi-thousand-node supercomputers, strengthen automated constraint generation, and adapt behavioral attestation to cloud-hosted enterprise agents.
Summary updated