synodic-ai™ AI SECURITY
AI Security Desk · Agent Telemetry

Tool-call traces cut both ways: user profiling, private safety audits and detectors that fail off their benchmark

Three papers posted on 2026-10-30 study the record an LLM agent leaves when it calls tools: what an observer can infer about the user from it, what an outside safety auditor sees when the record is sent for review, and how well detectors trained on it catch a hijacked agent. Read together, they treat the tool-call trace as both a sensitive data stream and a security signal, and they show that neither use is as safe or as reliable as a single headline number suggests.

An observer who sees only tool calls can profile the user

How Much Can Tool Calls Reveal About You? asks what leaks when agents talk to external tools through protocols such as the Model Context Protocol (MCP). The threat model is narrow on purpose: the observer sees protocol-valid tool interactions, not the user's conversation, and tries to infer attributes of the user from them. To measure this, the authors built PrivacyTrace, a benchmark of 1,000 synthetic user profiles and 4,000 agent trajectories across four domains, generated with real MCP tools from 25 servers.

With four mainstream LLMs acting as attackers, tool-call traces enabled a 26.25 percent attack success rate for profile inference, against 17.97 percent from guessing based on priors alone, roughly 1.46 times the baseline. The analysis also locates the leak: tool arguments and returned results carry most of the trace-grounded evidence, and linking traces across sessions amplifies the profiling risk further. The authors conclude that MCP tool-call traces act as an effective behavioral side channel for user profiling and call for privacy-aware mechanisms in agent-tool interactions.

Sending traces to an auditor is a second exposure

When Safety Checks Become Privacy Risks starts from a practical arrangement: specialized providers can supply pre-execution safety auditing for agent operators, checking tool calls that may access private data or perform sensitive actions before they run. The difficulty is that the auditor needs the task description, the call arguments and the interaction history, which are the same fields the PrivacyTrace study found most revealing. Sending them to a third party in plaintext moves the exposure rather than removing it.

The paper proposes a paradigm that separates delegated audit computation from plaintext access and from execution authority. A three-domain auditing model connects trusted construction of an audit representation, encrypted audit computation, and trusted decision and execution through explicit interfaces, which accommodate alternative representations and scorers. Encrypted computation protects the audit inputs from a semi-honest auditor, one that follows the protocol but would read what it is given. The instantiation, SealCall, combines learned audit representations, CKKS-based encrypted similarity computation, and execution control bound to the audited tool calls. On an evaluation set of 1,252 public binary candidates it reaches a mean F1 score of 0.840 under grouped nested evaluation while preserving the plaintext audit decisions in all measured cases, and a representative configuration completes each encrypted scoring operation in 0.176 seconds.

Detector scores depend on the test they were given

What Standard Evaluations Hide About Detectors of Hijacked LLM Agents audits how trace-based detectors are evaluated. In the eleven evaluations the authors reviewed, attacks or anomalies make up between 16 and 86 percent of test samples, none varies that share, and six report no test on data from a second benchmark or source. The authors then tested trained detectors that read tool identities, behavior, call sequences, step embeddings or text, plus a released LLM-based action monitor, on the AgentDrift and AgentDojo benchmarks, with thresholds fixed on training data or set by the monitor's released decision rule.

Three findings follow. First, base rates dominate: at a 2 percent attack rate, a detector with an area under the ROC curve (AUROC) of 0.879 reaches a precision of only 0.076, and changing nothing but the mix of negatives moves that precision between 0.039 and 0.117. Second, tool coverage matters: as the share of test tool calls whose tool was seen in training falls, detector rankings cross near 50 percent coverage and reverse below it, because unseen tools map to inputs that training never reached; dropout on tool inputs largely removes the reversal. Third, transfer fails: no detector trained on AgentDrift ranks AgentDojo traces better than chance (AUROC 0.47 to 0.52), including one that reaches 0.996 within AgentDojo. The released monitor, trained on neither benchmark, reaches an AUROC of 0.930, yet with its open backbone its released decision rule would still mostly raise false alerts at a 2 percent attack rate, with a precision of 0.096. The paper turns these results into a checklist for evaluating trace detectors.

One artifact, two jobs

The three studies look at the same object from different sides. The fields that make a trace useful for detecting a hijacked agent, the arguments an agent passes and the results it gets back, are the fields that let an observer profile the user. Shipping those fields to a specialist for a safety check creates a second party that can read them, unless the audit runs on protected representations. And the detectors that are supposed to justify collecting the trace are evaluated at attack rates, tool coverage and data sources that do not match deployment, so their published scores overstate what an operator will see.

For teams running agents in production, the practical consequences are concrete:

Limits of the evidence

Each result has clear boundaries. PrivacyTrace uses synthetic user profiles, and an attack success rate of 26.25 percent shows a measurable leak rather than reliable identification; real users and real tool mixes may leak more or less. SealCall's protection assumes a semi-honest auditor and does not address an auditor that deviates from the protocol, and an F1 of 0.840 means its audits still make errors. The detector audit covers eleven published evaluations and two benchmarks, and its precision figures depend on the 2 percent attack rate it chose to illustrate deployment. All three are preprints, and the figures here come from the authors' own reporting.

Sources