← Lab /AI/ML

LLM agents often breach privacy and authorization while completing tasks

LLM agents frequently violate privacy and authorization boundaries in community settings

AI/ML arXiv 28 Sep 2026 Benchmark Prototype evidence

Published as “CoSec: Benchmarking Agent Security in Communities”

Why it matters

The results indicate that deploying persistent LLM agents in multi-user communities requires system-level authorization checks; simple prompt-level guardrails are insufficient to guarantee privacy.

Summary

Agents often complete benign collaborative tasks while leaking protected information: overall privacy violation rates (PVR) span from 29.33% to 96.15% across 13 harness-model configurations. Privacy performance varies widely by harness, attack family, and dynamic community events, with capability composition posing the highest risk (70.27% pooled PVR). A simple safety guardrail can cut PVR by up to 24 points for some harnesses but has little effect on others, showing that prompt-level reminders are not a universal fix.

What they found 4

  1. Agents frequently violate privacy despite high task success.

    “Across harness and model configurations, agents frequently complete benign tasks but violate privacy and authorization boundaries.”

  2. Privacy violation rates vary widely across configurations.

    “Overall PVR ranges from 29.33% for OpenClaw with Gemini 3.1 Pro to 96.15% for Hermes with DeepSeek 4.1 Flash.”

  3. Capability composition is the most risky attack family.

    “Overall, capability composition poses the greatest risk, with a pooled PVR of 70.27%.”

  4. A safety guardrail reduces PVR for OpenClaw but not for Hermes.

    “Figure 5 shows a PVR reduction on OpenClaw from 82.69% to 58.65%, a drop of 24.04 points, while BCR rises from 91.35% to 94.71%.”

Caveats 3

  • Some configurations achieve relatively low privacy violations (e.g., OpenClaw with Gemini 3.1 Pro at 29.33% PVR) while still maintaining high task completion (BCR > 90%).
  • The guardrail instruction leaves Hermes unchanged at 96.15% PVR, indicating that prompt-level defenses do not universally prevent leaks.
  • CoSec provides a controlled synthetic testbed that can be extended to broader domains, longer collaboration histories, and runtime authorization defenses.

What’s new here 4

  • Provides an executable benchmark (CoSec) that runs full LLM agent systems with native memory, files, tools, and persistent sessions.
  • Evaluates privacy and authorization across both static and dynamically changing community boundaries.
  • Measures information flows using execution traces and artifacts rather than only final responses.
  • Identifies and quantifies four concrete failure modes in community-scoped agent security.