Skip to content

SlotGuard: Stop Oversharing Private Local Context in LLM Agent Transcri

Jul 2026 · arXiv.org · Vol abs/2607.17147 · 1 citation · 15 references
Computer Science

TL;DR

SlotGuard rewrites structural bindings as typed, suffix-aware slots, replaces secrets with format-preserving synthetic values, links cross-turn references with a lightweight session graph, and restores raw values only inside the trusted runtime.

Abstract

LLM agents can leak privacy (e.g., paths, emails) and credentials (e.g., API keys) as agent observations (e.g., tool outputs, shell logs, and file reads) are appended to provider-bound transcripts. Existing placeholder redaction is brittle: it can miss embedded or cross-turn references, over-redact benign lookalikes, and destroy the structure useful for reasoning. We present SlotGuard, a local transcript boundary that can hide sensitive data while retaining agents'performance. SlotGuard rewrites structural bindings as typed, suffix-aware slots, replaces secrets with format-preserving synthetic values, links cross-turn references with a lightweight session graph, and restores raw values only inside the trusted runtime. On controlled repository-oriented agent transcripts, SlotGuard removes all 20,814 annotated structurally sensitive characters across 9,229 paths and reduces credential leakage to 0.0\% across 852 planted values. It remains close to raw-transcript task success across four upstream models, while generic redaction drops to 2.5\%. Transcript rewriting takes a median of 14.424~$\mu$s per agent turn. The code is publicly accessible at https://github.com/illinoisdata/SlotGuard.

View source

Similar papers

#machine learning Preprint Aug 2026

AgentProv: Auditing Agentic LLM API Providers via Tool-use Policy Probes

Agentic Provenance (AgentProv), the first action-based identity audit for agentic LLM APIs, is introduced: AgentProv fingerprints a deployed model through its categorical tool-call distribution and decides identity via an MMD permutation test.

Xun Wang, Bihe Zhao, Michael Backes et al. · 1 citation
#artificial intelligence Review Sep 2026

ASLEval: Measuring Privacy Exposure Displacement in LLM Agent Sessions

Privacy exposure displacement, the mismatch between a local evaluation proxy and target-grounded session exposure, and ASLEval, an authorization-aware framework that pre-registers a hidden target set, measures all declared visible exits, and reserves internal traces for diagnosis are introduced.

Guo-Xin Wu, Hui-Zhen Huang, Guo-Xiong Long et al. · 0 citations
#machine learning Preprint Sep 2026

Backdoor Mitigation in Decentralized LLM Fine-Tuning

Chorus is presented, a decentralized mechanism that lets each node detect and reject backdoored adapters from its neighbors before aggregation, without requiring shared validation data or any knowledge of the attacker's trigger or target.

Sayan Biswas, Jade Garcia Bourrée, R. Guerraoui et al. · 0 citations
Preprint Aug 2026

ToolMinimize: Auditing and Rewriting LLM Agent Tool Calls to Minimize Privacy Exposure

System{, a middleware that intercepts tool calls and rewrites their arguments to the minimum data necessary for tool functionality, combining schema-aware necessity analysis with four operations: removal, generalization, substitution, and truncation is presented.

Wen-Biao Li, Yuqing Xu · 1 citation
Preprint Aug 2026

The Claws in Plain Sight: Unauthorized Context Disclosure through LLM Agent Tool Calls

This work presents Claw in Plain Sight, an authority- pressure attack in which task-adjacent content frames protected attributes as operationally or procedurally required, causing a model to include them in otherwise valid generated arguments.

Ben Dong, Zhonghao Guo, Tianyi Lu et al. · 0 citations

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